10-09-2014 05:39 AM
Here i have an data of BMI for household men and women like variables are Gender, Age, Village, Year and BMI, BMI_catergories in this i have to test the significance of BMI with gender and BMI in Years and BMI with the BMI catergories like Normal, overweight and underweight so for theis i am using 2 sample t test is it correct?
I request you all to suggest for an Idea.
Here is the codes for your reference
proc ttest data=Nutr_old.antpfin_05;
where village ="village";
Results are like this
The TTEST Procedure
Variable: BMI (BMI)
10-09-2014 08:13 AM
If it was two level, you can use proc ttest for parameter test and proc npar1way(Wilconx test) for non-parameter test.
It it was three or more levels ,that means you need multi-comparison , check proc glm + means .
10-09-2014 12:17 PM
for comparing the BMI Categories by sex, you would need PROC FREQ, as that is a 2x3 table.
If you scored the BMI categories to get a rank, you could use NPAR1WAY, but it is much less sensitive to differences than the original scale.