Displaying 2 results from an estimated 2 matches for "fitgl".
Did you mean:
ftgl
2006 Nov 09
1
Extracting the full coefficient matrix from a gls summary?
...,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2,10,20, labels=c("Ctl","Trt"))
weight <- c(ctl, trt)
fitlm<-lm(weight~group)
summary(fitlm)$coefficients ### returns estimates, std errors, t
values and Pr(>|t|)
fitgls<-gls(weight~group)
summary(fitgls)$coefficients ### returns only the estimates.
I would like to be able to extract the whole coefficient matrix form
the gls. Any ideas how I could do that ?
Thanks for the help,
Tifenn<http://www.marinemammal.org/MMRU/tiphaine.html>
[[alternative HT...
2011 Apr 11
3
multiple comparisons with generalised least squares
Dear R users,
I have used the following model:
M1 <- gls(Nblad ~ Concentration+Season + Concentration:Season, data=DDD,
weights=varIdent(form=~ 1 | Season*Concentration))
to assess the effect of Concentration and Season on nitrogen uptake by
leaves (Nblad). I accounted for the difference in variance across the factor
levels by using the varIdent function.
Then I wanted to perform multiple