> I am trying to decide between using a multiple linear regression or a linear
> mixed effects model for my data:
> ...
> but I keep getting the following error code:
>
> Error in anova.lmlist (object, ...):
>
> models were not all fitted to the same size of dataset
anova is defaulting to a
R-help:
I am trying to decide between using a multiple linear regression or a linear
mixed effects model for my data:
model1 <- lm (responsevariable ~ predictor1 + predictor2 + predictor3 +
predictor4, data= data)
model2 <- lme (responsevariable ~ predictor1 + predictor2 + predictor3 +
pred
> On 27 Dec 2014, at 02:50 , Richard M. Heiberger wrote:
>
> Kristi,
>
> The easiest way to do what you are looking for is the aovSufficient function
> in the HH package.
>
> ## install.packages("HH") ## if you don't have it yet
> library(HH)
> B.aov <- aovSufficient(mean ~ site, data=B, sd=B$
Kristi,
The easiest way to do what you are looking for is the aovSufficient function
in the HH package.
## install.packages("HH") ## if you don't have it yet
library(HH)
B.aov <- aovSufficient(mean ~ site, data=B, sd=B$SE, weights=c(3,3,3,3))
summary(B.aov)
You must have the sample size for each
You could at least say that no, that is patently wrong! There are ways to
reconstruct an ANOVA from means, sd, and group sizes, but this isn't it. In
fact, the group sizes are not even used in the code.
I agree about the need for a statistical expert. Fundamental misunderstandings
seem to be pr
This is a statistical question primarily and, as such, is off topic
here. Either consult a local statistical expert or post to a
statistical site like stats.stackexchange.com .
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
"Data is not information. Information is n
Hi R user,
I am wondering whether I can perform a simple ANOVA analysis in the data in
which I have mean + SE (+- Standard Error) for several groups.
For this one, I calculated upper and lower confidence interval and made three
classes for each group (mean, upper and lower values). After that,
>> I want to test whether the MEAN of two different variables,
>> (and different number of observations) are the same. I am
>> trying to use the anova test but it doesn't seem to like that
>> the number of observations are different:
>>
>> a=c(1:5)
>> b=c(1:3)
>> aov_test=aov(a~b)
>> Err
b-evidence-statistics/
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Sachinthaka Abeywardana
Sent: 16 October 2012 04:18
To: r-help@r-project.org
Subject: [R] anova test for variables with different lengths
Hi all,
I want to test w
9 matches
Mail list logo