How to calculate Household Food Insecurity Access Scale Calculation in Stata
Вставка
- Опубліковано 6 жов 2024
- How to calculate Household Food Insecurity Access Scale Calculation in Stata
#HFIAS
HFIAS pdf: www.fantaproje...
Data Source: github.com/ahs...
*-----------
use "D:\abc\hfiasmdd.dta", clear
for var Q1a Q2a Q3a Q4a Q5a Q6a Q7a Q8a Q9a: replace X=0 if X==.
gen HFIA = 1 if ((Q1a==0 | Q1a==1) & Q2==0 & Q3==0 & Q4==0 & Q5==0 & Q6==0& Q7==0 & Q8==0 & Q9==0)
replace HFIA = 2 if ((Q1a==2 | Q1a==3 | Q2a==1 | Q2a==2 | Q2a==3 | Q3a==1 | Q4a==1)& Q5==0 & Q6==0 & Q7==0 & Q8==0 & Q9==0)
replace HFIA = 3 if ((Q3a==2 | Q3a==3 | Q4a==2 | Q4a==3 | Q5a==1 | Q5a==2 | Q6a==1 | Q6a==2) & Q7==0 & Q8==0 & Q9==0)
replace HFIA = 4 if (Q5a==3 | Q6a==3 | Q7a==1 | Q7a==2 | Q7a==3 | Q8a==1 | Q8a==2 |Q8a==3 | Q9a==1 | Q9a==2 | Q9a==3)
la de HFIA 1 "Secure" 2 "Mildly Food Insecure" 3 "=Moderately Food Insecure" 4 "Severely Food Insecure ", replace
la val HFIA HFIA
la var HFIA "Household food insecurity"
*-----
Are you passionate about data science, bio-statistics, and epidemiology? Dive into our channel, where we break down complex concepts and empower you with the knowledge to excel in regression analysis and beyond. Learn the latest techniques, explore real-world applications, and stay ahead in your field. Whether you're a beginner or an expert, our engaging content will elevate your understanding and skills. Subscribe now and transform your career with the power of data!
The main topics of this channel are given below:
Sample size calculation
Data management in STATA and SPSS
Advance data analysis
Epidemiology
Dear Sir
Thank you so much for preparing this helpful vidieo.
Dear sir,
would you mind share us a video of HIFAS questionnaire found in excel and how to import it on STATA?
Thanks
ভাই খুজতে খুজতে দেখছি fies নিয়ে আপনি ভিডিও বানিয়েছেন।
কয়েকদিন আগে বিবিএস থেকে ডেটাসেট পেলাম।
This is example dataset.