Displaying 6 results from an estimated 6 matches for "shirley0818".
2008 Jan 22
1
anova function to test the difference between two coefficients in nlme package
Dear Dr. Bates, and R-help,
I've tried the anova function to test the difference between two
coefficients, as shown on page 225 of your book "Mixed Effects Models
in S and S-Plus (Statistics and Computing)".
When I type: anova( fm2BW.lme, L = c(TimeDiet2 = 1, TimeDiet3 = -1) )
I got the following error message:
Error: unexpected '=' in "anova( fm2BW.lme, L =
2007 Feb 14
1
nested model: lme, aov and LSMeans
I'm working with a nested model (mixed).
I have four factors: Patients, Tissue, sex, and tissue_stage.
Totally I have 10 patients, for each patient, there are 2 tissues
(Cancer vs. Normal).
I think Tissue and sex are fixed. Patient is nested in sex,Tissue is
nested in patient, and tissue_stage is nested in Tissue.
I tried aov and lme as the following,
> aov(gene ~ tissue + gender +
2007 Jul 09
1
similar limma's contrasts.fit() for lme (mixed effect model) object
Dear R help,
In limma package, contrasts.fit() function is very useful. I am
wondering whether there is a similar function for lme object, which
means given a mixed linear model fit, compute estimated coefficients
and standard errors for a given set of contrasts.
Thanks,
Shirley
2008 Jan 26
0
how to use anova() to test the sum of coefficients in nlme package
Dear R-help,
In nlme package, anova () can be used to test the difference between
two coefficients as shown on page 225
of "Mixed Effects Models in S and S-Plus":
anova(fm2BW.lme, L = c("Time:Diet2" = 1, "Time:Diet3" = -1))
Now my question is instead of test the difference between two
coefficients, can I use anova to test the significance of the sum of
two
2007 Jun 28
1
unequal variance assumption for lme (mixed effect model)
Dear Douglas and R-help,
Does lme assume normal distribution AND equal variance among groups
like anova() does? If it does, is there any method like unequal
variance T-test (Welch T) in lme when each group has unequal variance
in my data?
Thanks,
Shirley
2007 Jun 05
1
Can I treat subject as fixed effect in linear model
Hi,
There are 20 subjects grouped by Gender, each subject has 2 tissues
(normal vs. cancer).
In fact, it is a 2-way anova (factors: Gender and tissue) with tissue
nested in subject. I've tried the following:
Model 1: lme(response ~ tissue*Gender, random = ~1|subject)
Model 2: response ~ tissue*Gender + subject
Model 3: response ~ tissue*Gender
It seems like Model 1 is the correct one