Hello.
I fit the following ANCOVA model and want to conduct some planned contrasts tests within factor paycondition:
anova wbiam i.paycondition c.sdbam i.paycondition#c.sdbam
paycondition has 3 groups. I used the following code to compare within the groups right after running the above anova code.
contrast r.paycondition
contrast ar.paycondition
However, I also found the following code to do planned contrasts, for the contrast comparing group1 and group2:
anovacontrast paycondition, values (1 -1 0)
The two types of code give me different p-values and test statistics. I'm not sure which way to rely on.
Thanks for your help.
Related Posts with ANCOVA - planned contrast tests code
iroc does not workDear all, I am running a small logistic regression but I am not getting any value when I type "iroc…
Stata manual for -ml- does not explain what -gtol()- refers toDear Statalisters, I have seen commands in -ml- that use as an option -gtol()-. For example, in thi…
help with installing -listcoef- to Stata13Hi, I have stata13 on my computer and I typed -findit listcoef- in the stata window. I see the optio…
Use global macro to call do-file not errorDear All, I'm trying to use the following code to set up global macro and then call do file based o…
ML command could not find feasible valuesDear STATA experts: I’m learning STATA's maximize likelihood syntax by building my own ordered prob…
Subscribe to:
Post Comments (Atom)
0 Response to ANCOVA - planned contrast tests code
Post a Comment