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
Bug in local variable with string?Hello, I recently came across something strange which I can't seem to understand. It concerns the w…
Rows in StataHello, I have a problem with my data. I have the following table: isin name year QFR IMS + Accoun…
Form a text string of scalar product of two macrosHi Statalist users, I need advice on the following problem. Suppose I have two macros local b "b1…
Indicate Fixed Effects in esttabHello Statalist users, I have a question regarding the esttab command. More precisely, I run my reg…
Tag observations occuring within a time frameHi, I'm working with diagnostic labdata and I'd like to count how many times a person has been test…
Subscribe to:
Post Comments (Atom)
0 Response to ANCOVA - planned contrast tests code
Post a Comment