Displaying 20 results from an estimated 6000 matches similar to: "unequal variance assumption for lme (mixed effect model)"
2004 Jul 12
2
lme unequal random-effects variances varIdent pdMat Pinheiro Bates nlme
How does one implement a likelihood-ratio test, to test whether the
variances of the random effects differ between two groups of subjects?
Suppose your data consist of repeated measures on subjects belonging to
two groups, say boys and girls, and you are fitting a linear mixed-effects
model for the response as a function of time. The within-subject errors
(residuals) have the same variance in
2009 Apr 01
3
Fit unequal variance model in R
I'am trying to develop some code if R, which would correspond to what I did in SAS.
The data look like:
Treatment Replicate group1 GSI
Control A 1 0.81301
Control B 1 1.06061
Control C 1 1.26350
Control D 1 0.93284
Low A 2 0.79359
Low B
2010 Jan 21
3
Anova unequal variance
I found this paper on ANOVA on unequal error variance. Has this be
incorporated to any R package? Is there any textbook that discuss the
problem of ANOVA on unequal error variance in general?
http://www.jstor.org/stable/2532947?cookieSet=1
2007 Sep 04
1
Robust linear models and unequal variance
Hi all,
I have probably a basic question, but I can't seem to find the answer in
the literature or in the R-archives.
I would like to do a robust ANCOVA (using either rlm or lmRob of the
MASS and robust packages) - my response variable deviates slightly from
normal and I have some "outliers". The data consist of 2 factor
variables and 3-5 covariates (fdepending on the model).
2011 Nov 01
1
help with unequal variances
Hello,
I have some patient data for my masters thesis with three groups (n=16, 19 &
20)
I have completed compiling the results of 7 tests, for which one of these
tests the variances are unequal.
I wish to perform an ANOVA between the three groups but for the one test
with unequal variance (<0.001 by both bartlett and levene's test) I am not
sure what to do.
I thought i would run
2007 Jan 16
2
Gaussian glm for grouped data with unequal variances
Hello - I am fairly new to R, (i.e., ability to create functions/write
programs insignificant) and was wondering if there might be a convenient way
to model the following: I want to fit a gaussian glm to grouped data, while
allowing for unequal variances in each of the groups.
More specifically, my data set looks something like this:
----------------
data group
1 76 1
2 82 1
3
2004 Oct 01
3
same test statistic for t-test with and without equal variance assumption
Could some kindly tell me if I am supposed to be getting the same test
statistic value with var.equal=TRUE and var.equal=FALSE in t.test ?
set.seed(1066)
x1 <- rnorm(50)
x2 <- rnorm(50)
t.test(x1, x2, var.equal=FALSE)$statistic # 0.5989774
t.test(x1, x2, var.equal=TRUE)$statistic # 0.5989774 ???
Here are my own calculations that shows that perhaps the result when
var.equal=TRUE is
2006 Apr 27
1
Looking for an unequal variances equivalent of the Kruskal Wallis nonparametric one way ANOVA
Well fellow R users, I throw myself on your mercy. Help me, the unworthy,
satisfy my employer, the ungrateful. My feeble ramblings follow...
I've searched R-Help, the R Website and done a GOOGLE without success for a
one way ANOVA procedure to analyse data that are both non-normal in nature
and which exhibit unequal variances and unequal sample sizes across the 4
treatment levels. My
2011 Apr 21
1
one-way ANOVA model, with one factor, an unbalanced design and unequal variances
Hi,
i'm looking for an R function to fit a one-way ANOVA with one factor
containing 10 levels. The factor levels have different numbers of
observations (varying between 20 to 40). For most of the dependent variables
i'm testing there are unequal variances among the factor levels.
I see the function oneway.test:
oneway.test(variable ~ factor, data=dataset)
which by default does not
2009 Oct 23
1
Bonferroni with unequal sample sizes
Hello-
I have run an ANOVA on 4 treatments with unequal sample sizes (n=9,7,10 and 10). I want to determine where my sig. differences are between treatments using a Bonferroni test, and have run the code:
pairwise.t.test(Wk16, Treatment, p.adf="bonf")
I receive an error message stating that my arguments are of unequal length:
Error in tapply(x, g, mean, na.rm = TRUE) :
2001 Dec 27
1
gls
A couple of questions:
How to be sure that gls allowes errors to be correlated and/or have
unequal
variances? (is this on auto or is there a switch?)
How to calculate confidence limits for a linear regresssion?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dthompson.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: Card for David Thompson
Url :
2004 May 20
1
mixed models for analyzing survey data with unequal selec tion probability
Han-Lin
I don't think I have seen a reply so I will suggest that maybe you could try
a different approach than what you are thinking about doing. I believe the
current best practice is to use the weights as a covariate in a regression
model - and bytheway - the weights are the inverse of the probabilities of
selection - not the probabilities.
Fundamentally, there is a difficulty in making
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
2005 Nov 03
1
Fitting heteroscedastic linear models/ problems with varIdent of nlme
Hi,
I would like to fit a model for a factorial design that allows for
unequal variances in all groups. If I am not mistaken, this can be done
in lm by specifying weights.
A function intended to specify weights for unequal variance structures
is provided in the nlme library with the varIdent function. Is it
apropriate to use these weights with lm? If not, is there another
possibility to do
2016 Apr 14
3
Unequal column lengths
Hello,
I?ve tried several times to learn R, but have never gotten past a particular gate. My data are organized by column in Excel, with column headers in the first row. The columns are of unequal lengths. I export them as CSV, then import the CSV file into R. I wish to summarize the data by column. R inserts NA for missing values, then refuses to operate on columns with NA. R is importing
2010 Aug 14
0
Unequal variance ANOVA using gls function in nlme
Hi
I am trying to run an ANOVA on data with unequal variance. I am new to nlme, but to my understanding I need to use the gls function. I have single response variable (distance which is continuous) and the explanatory variable is individual ID (class variable: individuals differ in the variance in their distance values hence the need to using nlme).
So I would create a model
2008 Oct 09
1
adjusted t-test with unequal variance
Hi all,
right now i am simply comparing means. obviously this can be done by
the simple t.test respectively the welch test, if var.equal is set to
FALSE.
just like this
t.test( Y ~ group)
t.test( Y ~ group, var.equal = FALSE)
now that i need to compare weighted means i am using the lm function
as an adjusted t-test:
like
lmtest <- ( Y ~ group )
anova(lmtest)
2008 Apr 03
2
coding for categorical variables with unequal observations
Hi,
I am doing multiple regression, and have several X variables that are
categorical.
I read that I can use dummy or contrast codes for that, but are there
any special rules when there're unequal #observations in each groups (4
females vs 7 males in a "gender" variable)?
Also, can R generate these codes for me?
THanks.
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 +
2017 Dec 13
0
Add vectors of unequal length without recycling?
Without recycling you would get:
u <- c(10, 20, 30)
u + 1
#[1] 11 20 30
which would be pretty inconvenient.
(Note that the recycling rule has to make a special case for when one
argument has length zero - the output then has length zero as well.)
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Dec 12, 2017 at 9:41 PM, Maingo via R-help <r-help at r-project.org>
wrote: