ancova
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ancova [2015/11/10 09:51] – created hkimscil | ancova [2015/11/18 14:35] (current) – hkimscil | ||
---|---|---|---|
Line 51: | Line 51: | ||
F-statistic: | F-statistic: | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | dunnett = glht(model, linfct=mcp(Treat=" | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | Simultaneous Tests for General Linear Hypotheses | ||
+ | |||
+ | Multiple Comparisons of Means: Dunnett Contrasts | ||
+ | |||
+ | |||
+ | Fit: lm(formula = Postwt ~ Prewt + Treat, data = anorexia) | ||
+ | |||
+ | Linear Hypotheses: | ||
+ | Estimate Std. Error t value Pr(> | ||
+ | CBT - Cont == 0 4.097 1.893 2.164 0.062939 . | ||
+ | FT - Cont == 0 | ||
+ | --- | ||
+ | Signif. codes: | ||
+ | (Adjusted p values reported -- single-step method) | ||
+ | </ | ||
+ | |||
====== ANCOVA (Analysis of Covariance) 2 ====== | ====== ANCOVA (Analysis of Covariance) 2 ====== | ||
Line 221: | Line 244: | ||
) | ) | ||
</ | </ | ||
+ | |||
+ | ====== Eg. ====== | ||
+ | {{tri.csv}} | ||
+ | trt: treatment | ||
+ | pat: patient id | ||
+ | hgba1c: Hemoglobin A1c | ||
+ | trichg: Triglyceride changes | ||
+ | |||
+ | $ trichg = hgba1c + trt + e $ | ||
ancova.txt · Last modified: 2015/11/18 14:35 by hkimscil