drmh wrote
>
>Hello again,
>In my situation, I have three variables: pretest, posttest, and cohesion.
>
>I want to work out the correlation between postest and cohesion.
>
cor(cohesion, posttest) gives you this.
>I looked at multiple sets of data and created ANOVA tables of them. However,
>as
Hello again,
In my situation, I have three variables: pretest, posttest, and cohesion.
I want to work out the correlation between postest and cohesion.
I looked at multiple sets of data and created ANOVA tables of them. However,
as pretest and postest are sometimes correlated (with a statistic
Hi Douglas.
So you want to check for correlation or regression ?
how many levels does "pre" have ?
you could subset the variables you want to check correlation on, by the pre
levels.
for example:
Let's say pre has two levels: 1 and 2. then you can do:
cor(y[pre == 1], x[pre == 1])
cor(y[pre == 2]
Hi, thanks for your prompt reply
In my situation, the dependent variable is "post-test" and the independent
variables are "pre" and "coh".
Howw would I find the correlation between coh and post with the effect of
"pre" regressed using your commands?
Tal Galili wrote:
>
> Hi Douglas
> I would
Hi Douglas
I would go for a different command then aov.
something like:
?cor
or
?cor.test
To also get the p value of the correlation.
Cheers,
Tal
On Sat, Apr 25, 2009 at 8:27 AM, drmh wrote:
>
> (Have searched for this already)
>
> Hi,
>
> How do you find the strength of correlation between tw
(Have searched for this already)
Hi,
How do you find the strength of correlation between two variables using an
ANOVA table? "Pr(>F)" gives the statistical significance of the
association, but not the strength of the correlation.
See data (from R) below
Readable:
"Df"
6 matches
Mail list logo