Displaying 2 results from an estimated 2 matches for "ancova2".
Did you mean:
  ancova
  
2008 Jun 02
1
Ancova: formula with a common intercept
...0.01785  -1.195    0.241
p53plus       0.17059    0.78696   0.217    0.830
Time:p53plus  0.11887    0.02524   4.709 4.62e-05 ***
..
>From a plot of the data and the result of the linear model it looks like
the two categories share the same intercept.  How do I define this?  I
tried this:
> ancova2<-update(ancova,~.-1)
> summary(ancova2)
Call:
lm(formula = Result ~ Time + p53 + Time:p53 - 1)
..
Coefficients:
             Estimate Std. Error t value Pr(>|t|)
Time         -0.02134    0.01785  -1.195    0.241
p53minus      0.05919    0.55646   0.106    0.916
p53plus       0.22977    0.5...
2012 Jan 11
2
problems with glht for ancova
I've run an ancova, edadysexo is a factor with 3 levels,and log(lcc) is the
covariate (continous variable)
I get this results
> ancova<-aov(log(peso)~edadysexo*log(lcc))
> summary(ancova)
                    Df Sum Sq Mean Sq  F value Pr(>F)    
edadysexo            2 31.859 15.9294 803.9843 <2e-16 ***
log(lcc)             1 11.389 11.3887 574.8081 <2e-16 ***