describe
can give you some basic information on variable types. You can change variable types using command format
if you want to.
fev1
is different in children less than 9 years old and in those older than 9 years old. anova hemoglbn type oneway hemoglbn type, t oneway hemoglbn type, b sch siThe last command gives multiple comparison test results (Bonferroni, Scheffe, Sidak). Unfortunately, there is no Tukey's multiple comparison test in the standard distribution. It is implemented in the
prcomp
command in the user-contributed "sg101" package. [Type net search sg101
and click on the link and follow instructions for installation.] Once you have installed the package, type prcomp hemoglbn type, anova tukey
to get the Tukey's test. anova fev1 sex anova fev1 sex resp anova fev1 sex resp sex*resp regress fev1 sex regress fev1 sex resp
regress fev1 age scatter fev1 age || lfit fev age scatter fev1 age || lfitci fev ageAlso try to do separate linear regression fitting of fev1 as a function of age on the children with respiratory symptoms and those without. Compare the results on these two subsets. Can you draw graphs to compare them?
describe
, tabulate
, tab1
, tab2
, etc.