Displaying 2 results from an estimated 2 matches for "univariate_calpha".
2011 Sep 05
0
glht (multcomp): NA's for confidence intervals using univariate_calpha (fwd)
...------ Forwarded message ----------
> Date: Sat, 3 Sep 2011 23:56:35 +0200
> From: Ulrich Halekoh <Ulrich.Halekoh at agrsci.dk>
> To: "r-help at r-project.org" <r-help at r-project.org>
> Subject: [R] glht (multcomp): NA's for confidence intervals using
> univariate_calpha
>
> Hej,
>
> Calculation of confidence intervals for means
> based on a model fitted with lmer
>
> using the package multcomp
>
> - yields results for calpha=adjusted_calpha
> - NA's for calpha=univariate_calpha
>
>
> Example:
> library(lm...
2011 Sep 03
0
glht (multcomp): NA's for confidence intervals using univariate_calpha
Hej,
Calculation of confidence intervals for means
based on a model fitted with lmer
using the package multcomp
- yields results for calpha=adjusted_calpha
- NA's for calpha=univariate_calpha
Example:
library(lme4)
library(multcomp)
### Generate data
set.seed(8)
d<-expand.grid(treat=1:2,block=1:3)
e<-rnorm(3)
names(e)<-1:3
d$y<-rnorm(nrow(d)) + e[d$block]
d<-transform(d,treat=factor(treat),block=factor(block))
##### lmer fit
Mod<-lmer(y~treat+ (1|block), data=d)
#...