Hi all,
I am very new to using stata (last ten months) and a PhD student.
I am analysisng a survey about attitudes of clinical staff about cannabis use in their patients
I have two different type of independent variables - one categorical and the other one continuous- the categorical variable is type of profession of clinical staff (doctor, nurses etc) and continuous is years of experience
when I do regerssion modeling, my supervisor stated that I have to adjust my coefficients/ odds ratio/ CIs for family wise error and multiple comparison so reducing the chances of getting significant results due to chance.
I have used contract syntax as below :
ologit sec5_05a_client_thccud ib(2).i.sec1_04_staff_role_cat sec1_05_staff_years_inotp ib(last).sec1_06_staff_hoursinweek_cat, or
contrast rb(last).sec1_06_staff_hoursinweek_cat rb(2).sec1_04_staff_role_cat, mcompare(scheffe)
which seems, above "contrast" syntax, to be correcting my CI for two of independent categorical variable (sec1_04_staff_role_cat and sec1_06_staff_hoursinweek_cat) but not my continuous variable : sec1_05_staff_years_inotp
My supervisor who is "R" user is able to do mcompare through a package for all three variables at once-
my question is :
1) Is there any package or syntax in Stata which can do mcompare in one syntax for categorical and continuous variable ? and if so what it is.
I am terribly sorry, again my first time using this forum and I am really stuck.
I am very new to using stata (last ten months) and a PhD student.
I am analysisng a survey about attitudes of clinical staff about cannabis use in their patients
I have two different type of independent variables - one categorical and the other one continuous- the categorical variable is type of profession of clinical staff (doctor, nurses etc) and continuous is years of experience
when I do regerssion modeling, my supervisor stated that I have to adjust my coefficients/ odds ratio/ CIs for family wise error and multiple comparison so reducing the chances of getting significant results due to chance.
I have used contract syntax as below :
ologit sec5_05a_client_thccud ib(2).i.sec1_04_staff_role_cat sec1_05_staff_years_inotp ib(last).sec1_06_staff_hoursinweek_cat, or
contrast rb(last).sec1_06_staff_hoursinweek_cat rb(2).sec1_04_staff_role_cat, mcompare(scheffe)
which seems, above "contrast" syntax, to be correcting my CI for two of independent categorical variable (sec1_04_staff_role_cat and sec1_06_staff_hoursinweek_cat) but not my continuous variable : sec1_05_staff_years_inotp
My supervisor who is "R" user is able to do mcompare through a package for all three variables at once-
my question is :
1) Is there any package or syntax in Stata which can do mcompare in one syntax for categorical and continuous variable ? and if so what it is.
I am terribly sorry, again my first time using this forum and I am really stuck.