Displaying 20 results from an estimated 200 matches similar to: "lme vs. aov with Error term"
2003 Sep 30
0
lme vs. aov
Hi,
I have a question about using "lme" and "aov" for the
following dataset. If I understand correctly, using
"aov" with Error term in the formula is equivalent to
using "lme" with default settings, i.e. both assume
compound symmetry correlation structure. And I have
found that equivalency in the past. However, with the
follwing dataset, I got different
2003 Oct 01
0
lme vs. aov with Error term again
Hi all,
Sent the following question yesterday, but haven't got
any suggestions yet. So just trying again, can anyone
comment on the problem that I have? Thank you!
-------------
Hi,
I have a question about using "lme" and "aov" for the
following dataset. If I understand correctly, using
"aov" with an Error term in the formula is equivalent
to using
2003 Oct 02
0
RE: [S] lme vs. aov with Error term
Hi Bert,
Thanks for the suggestions. I tried lme with different
control parameters, and also tried using "ML", instaed
of "REML", but still got the same answers.
Yes, I hope some gurus on this list could give me some
hints.
Thanks
--- "Gunter, Bert" <bert_gunter at merck.com> wrote:
> But they are close. This is almost certainly a
> numeric issue --
2013 Apr 05
0
(no subject)
Hello,
I am running error rate analysis. It is my results below. When I compare
aov1 and aov2, X square = 4.05, p = 0.044, which indicates that adding the
factor "Congruity" improved the fitting of model. However, the following Z
value is less than 1 and p value for Z is 1, which means that "Congruity"
is not significant at all. Therefore, these two parts are not consistent,
2007 Jun 28
2
aov and lme differ with interaction in oats example of MASS?
Dear R-Community!
The example "oats" in MASS (2nd edition, 10.3, p.309) is calculated for aov and lme without interaction term and the results are the same.
But I have problems to reproduce the example aov with interaction in MASS (10.2, p.301) with lme. Here the script:
library(MASS)
library(nlme)
options(contrasts = c("contr.treatment", "contr.poly"))
# aov: Y ~
2004 Aug 12
0
Re: R-help Digest, Vol 18, Issue 12
The message for aov1 was "Estimated effects <may> be unbalanced". The
effects are not unbalanced. The design is 'orthogonal'.
The problem is that there are not enough degrees of freedom to estimate
all those error terms. If you change the model to:
aov1 <-
aov(RT~fact1*fact2*fact3+Error(sub/(fact1+fact2+fact3)),data=myData)
or to
aov2 <-
2010 Jul 16
0
Effects library LSM decimal place errors
G'day,
I'm?calculating LSM for the following model, and am finding that R and
SAS give different answers.
Whilst the error is at the second or third decimal, the percentage
error can be quite large.
I'm using the effects library (Version: 2.0-10) on R?2.11.1 in the
following manner:
options(contrasts=c("contr.helmert","contr.poly"))
2008 Aug 17
1
before-after control-impact analysis with R
Hello everybody,
In am trying to analyse a BACI experiment and I really want to do it
with R (which I find really exciting). So, before moving on I though it
would be a good idea to repeat some known experiments which are quite
similar to my own. I tried to reproduce 2 published examples but without
much success. The first one in particular is a published dataset
analysed with SAS by
2000 Feb 29
0
se.contrasts.
Dear R users,
Firstly, I would like to congratulate the R core team in bringing out R
1.0.0 and all who have helped in developing it.
I have been having problems with using se.contrasts and would be pleased
if someone help.
I have been doing a repeated measures ANOVA using aov using a split plot
design for a single variable, color. The aov results were as follows:
> summary(aov(CD2~cont +
2001 Dec 23
1
aov for mixed model (fixed and random)?
I'm starting to understand fixed and random effects, but I'm
puzzled a bit. Here is an example from Hays's textbook (which is
great at explaining fixed vs. random effects, at least to dummies
like me), from the section on mixed models. You need
library(nlme) in order to run it.
------
task <- gl(3,2,36) # Three tasks, a fixed effect.
subj <- gl(6,6,36) # Six subjects, a random
2011 Oct 22
5
interpreting bootstrap corrected slope [rms package]
Dear List:
Below is the validation output of a fitted ordinal logistic model
using the bootstrap in the rms package. My interpretation is that
most of the corrected indices indicate little overfitting, however the
slope seems to indicate that the model is too optimistic. Given that
most of the corrected indices seem reasonable, would it be appropriate
to use this model on future data if the
2011 Jan 20
1
Problems with ecodist
Dear Dr.Goslee and anyone may intrested in matrix manipulate,
I am using your ecodist to do mantel and partial mantel test, I have
locality data and shape variation data, and the two distance matrixs are
given as belowings. When I run the analysis, it is always report that the
matrix is not square, but I didn't know what's wrong with my data. Would you
please help me on this. I am quite
2005 Feb 21
1
Problems with Outlook 2002 SP3 & Dovecot 0.99.13 Redux
Hi,
I posted this question a while back and didn't get much response. Since then, I've done
a bit more experimenting and wonder if someone can help me move forward towards resolution.
The orignal question...
> I'm running Dovecot0.99.13 on Fedora Core 3 and things work fine when using either
> Thunderbird 1.0 or Outlook Express as IMAP clients. Outlook (2002 SP3) on
2003 Jun 17
1
lme() vs aov(y ~ A*B + Error(aa %in% A + bb %in% B)) [repost]
I've posted the following to R-help on May 15.
It has reproducible R code for real data -- and a real
(academic, i.e unpaid) consultion background.
I'd be glad for some insight here, mainly not for myself.
In the mean time, we've learned that it is to be expected for
anova(*, "marginal") to be contrast dependent, but still are
glad for advice if you have experience.
Thank
2024 Jul 12
1
grep
Below is part a regression printout. How can I use "grep" to identify
rows headed by variables (first column) with a certain label. In this
case, I like to find variables containing "somewhath",
"veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
"veryl". The result should be an index 6:13 or
2024 Jul 12
1
grep
On 12.07.2024 10:54, Steven Yen wrote:
> Below is part a regression printout. How can I use "grep" to identify
> rows headed by variables (first column) with a certain label. In this
> case, I like to find variables containing "somewhath",
> "veryh",?"somewhatm", "verym", "somewhatc", "veryc","somewhatl",
2007 Jan 17
2
Repeated measures
I am having a hard time understanding how to perform a "repeated
measures" type of ANOVA with R. When reading the document found here:
http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_repms.html
I find that there is a reference to a function make.rm () that is
supposed to rearrange a "one row per person" type of frame to a "one
row per observation" type
2009 Jun 26
0
calculate AIC
Dear all,
I want to calculate AIC values of PLSR models. But I find that AIC and extractAIC functions in R could not be used to calculate AIC values of PLSR models. Now I write a section of code(below) to calculate it. But I don't known whether the result is right or not. If I am wrong, please give me some suggestions. Thanks a lot.
Rong Huang
data<-data.frame(
2024 Jul 12
1
grep
Could not get "which" to work, but my grep worked. Thanks.
> which(grep("very|somewhat",names(goprobit.p$est))) Error in
which(grep("very|somewhat", names(goprobit.p$est))) : argument to
'which' is not logical > grep("very|somewhat",names(goprobit.p$est)) [1]
6 7 8 9 10 11 12 13 28 29 30 31 32 33 34 35 50 51 52 53 54 55 56 57
On 7/12/2024
2024 Jul 12
2
grep
Thanks. In this case below, what is "x"? I tried rownames(out) which did
not work.
Sorry. Does this sound like homework to you?
On 7/12/2024 5:09 PM, Uwe Ligges wrote:
>
>
> On 12.07.2024 10:54, Steven Yen wrote:
>> Below is part a regression printout. How can I use "grep" to identify
>> rows headed by variables (first column) with a certain label. In