Displaying 20 results from an estimated 20000 matches similar to: "pearson's correlation and cross-correlation issue"
2013 Mar 28
2
hierarchical clustering with pearson's coefficient
Hello,
I want to use pearson's correlation as distance between observations and
then use any centroid based linkage distance (ex. Ward's distance)
When linkage distances are formed as the Lance-Williams recursive
formulation, they just require the initial distance between observations.
See here: http://en.wikipedia.org/wiki/Ward%27s_method
It is said that you have to use euclidean
2012 Jun 01
1
Violation of sample independence in Pearson's product-moment correlation
Hi all:
There was a concern raised by reviewers of a manuscript of mine over the
proper execution of a Pearson's correlation. In brief, this was undertaken
in order to determine the relationship between the extent of wheel running
(y axis) and ethanol intake (x axis) across three, separate 10 day periods
in 7 animals.
In the paper, the correlational plots for each 10 day-period had 70 data
2012 Feb 08
0
glm.fit and pearson's correlation coefficient
I did a linear correlation of data using glm.fit and stored the output in the
object "f":
f <- glm.fit(x, y, w)
I am intereseted in estimating the quality of the correlation. I am used to
do it using pearson correlation coefficient "r" or "r^2". Can I extract this
coefficient from the output of glm.fit?
Is there another number in the output of glm.fit that
2010 May 05
1
rcorr p-values for pearson's correlation coefficients
Hi! All,
To find co-expressed genes from a expression matrix of dimension (9275
X 569), I used rcorr function from library(Hmisc) to calculate pearson
correlation coefficient (PCC) and their corresponding p-values. From
the correlation matrix (9275 X 9275) and pvalue matrix (9275 X 9275)
obtained using rcorr function, I wanted to select those pairs whose
PCC's are above 0.8 cut-off and then
2008 Apr 05
2
pearson's correlation
Hello,
I used the function cor to calculate the pearson correlation coefficient between variables. However, the resulting values do not correspond to the outcome of my excel-calculations, for which I used the formula Cor(x,y)=Cov(x,y)/(SD(x)*SD(y))
So my question is: How does the function "cor" compute the pearson correlation coefficient?
Thank you in advance,
Ake Nauta
2002 Nov 21
1
Pearson's correlation coefficient?
How do I get non-squared correlation coefficient in some more
sensible way than
sqrt(summary(lm(y~x))$r.squared)?
Thanks
Matej
--
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will
2006 Sep 25
0
Sampling distribution of correlation estimations derived from robust MCD and MVE methods
Dear R users,
I am trying to use MCD and MVE methods in the analysis of functional imaging
(fMRI) data. But, before doing that, I want to understand the sampling
distribution of the correlation parameter given by MCD and MVE (cov.mcd$cor,
cov.mve$cor).
To this end, I conducted a simulation where in each of 100000 epochs, I
a. construct a matrix from two vectors, each containing 40 numbers
2006 Sep 25
0
[PlainText Attempt] Sampling distribution of correlation estimations derived from robust MCD and MVE methods
Dear R users,
I am trying to use MCD and MVE methods in the analysis of functional imaging
(fMRI) data. But, before doing that, I want to understand the sampling
distribution of the correlation parameter given by MCD and MVE (cov.mcd$cor,
cov.mve$cor).
To this end, I conducted a simulation where in each of 100000 epochs, I
a. construct a matrix from two vectors, each containing 40 numbers
2009 May 26
2
(OT) Does pearson correlation assume bivariate normality of the data?
Dear all,
The other day I was reading this post [1] that slightly surprised me:
"To reject the null of no correlation, an hypothsis test based on the
normal distribution. If normality is not the base assumption your
working from then p-values, significance tests and conf. intervals
dont mean much (the value of the coefficient is not reliable) " (BOB
SAMOHYL).
To me this implied that in
2010 Jan 05
1
bootstrapping a matrix and calculating Pearson's correlation coefficient
Hi All,
I have got matrix 'data' of dimension 22000x600. I want to make 50
independent samples of dimension 22000x300 from the original matrix 'data'.
And then want to calculate pearsons CC for each of the obtained 50 matrices.
It seems it is possible to do this using 'boot' function from library boot
but I am not able to figure out how? I am really stuck. Please help!
2010 Apr 13
0
ccf problem (cross-correlation)
Hi all,
I have a problem concerning my understanding of the cross-correlation (ccf)
function in R.
assume a time serie as:
> t<-seq(0,6.28,by=0.01);
> my_serie<-ts(sin(t),start=0,end=6.28,deltat=0.01)
then I generate an other one shifted by 12 time points:
> my_shifted_serie<-ts(sin(t),start=0+0.12,end=6.28+0.12,deltat=0.01)
if I do the cross-correlation I get that the two
2011 Mar 20
1
Pearson correlation coefficient matrix with permutation test
Hello,
I found an interesting program on Pierre Legendre's webpage:
http://www.bio.umontreal.ca/casgrain/en/labo/corr_permute.html
With this program one can compute a "Pearson correlation coefficient matrix with permutation test".
This is exactly what I need as an R-package because so far I have only analyzed my data with the function cor(). However, I need additional
2004 Apr 10
1
confidential interval of correlation coefficient using bootstrap
I tried 2 methods to estimate C.I. of correlation coefficient of variables x and y:
> x <- c(44.4, 45.9, 41.9, 53.3, 44.7, 44.1, 50.7, 45.2, 60.1)
> y <- c( 2.6, 3.1, 2.5, 5.0, 3.6, 4.0, 5.2, 2.8, 3.8)
#METHOD 1: Pearson's
**********************************************************
> cor.test(x, y, method = "pearson", conf.level = 0.95)
Pearson's
2005 Oct 31
1
how to optimise cross-correlation plot to study time lag between time-series?
Dear R-help,
How could a cross-correlation plot be optimized such that the relationship
between seasonal time-series can be studied?
We are working with strong seasonal time-series and derived a
cross-correlation plot to study the relationship between time-series. The
seasonal variation however strongly influences the cross-correlation plot
and the plot seems to be ?rather? symmetrical (max
2010 Jan 14
0
Bootstrap for correlation coefficient
I have the following code:
## to check correlation between the simulated uniform data
x2 <- uni[,1] ; x2[1:10]
y2 <- uni[,2] ; y2[1:10]
result2 <- boot(cbind(x2,y2), f, 20)
# get 95% confidence interval
boot.ci(result2, type="bca")
cor.test(x2,y2, method="pearson", conf.level=0.95)
part of my data:
> x2 <- uni[,1] ; x2[1:10]
[1] 0.63933145 0.71677785
2014 Nov 04
1
[R] Calculation of cross-correlation in ccf
Dear All,
I am studying some process measurement time series in R and trying to identify time delays using cross-correlation function ccf. The results have however been bit confusing. I found a couple of years old message about this issue but unfortunately wasn't able to find it again for a reference.
For example, an obvious time shift is observed between the measurements y1 and y2 when the
2005 Sep 27
1
Simulate phi-coefficient (correlation between dichotomous vars)
Newsgroup members,
I appreciate the help on this topic.
David Duffy provided a solution (below) that was quite helpful, and came
close to what I needed. It did a great job creating two vectors of
dichotomous variables with a known correlation (what I referred to as a
phi-coefficient).
My situation is a bit more complicated and I'm not sure it is easily
solved. The problem is that I must
2012 Sep 15
1
p-values in agricolae pearson correlation
I have used the correlation analysis (pearson) in the agricolae package to
analyse my data and got unexpectedly low p-values (therefore making many
more highly significant correlations in my data than I had expected). I am
wondering if the p-values given should be subtracted from 1 to give the real
p-value, because for each variable compared against itself has a p-value of
1 and I thought it
2009 Aug 24
2
robust method to obtain a correlation coeff?
Hi,
Being a R-newbie I am wondering how to calculate a correlation
coefficient (preferably with an associated p-value) for data like:
> d[,1]
[1] 25.5 25.3 25.1 NA 23.3 21.5 23.8 23.2 24.2 22.7 27.6 24.2 ...
> d[,2]
[1] 0.0 11.1 0.0 NA 0.0 10.1 10.6 9.5 0.0 57.9 0.0 0.0 ...
Apparently corr(d) from the boot-library fails with NAs in the data,
also cor.test cannot cope with a
2011 Jan 19
1
Pearson correlation with randomization
Hello,
I will be very obliged if someone can help me with this statistical R
problem:
I am trying to do a Pearson correlation on my datasets X, Y with
randomization test. My X and Y datasets are pairs.
1. I want to randomize (rearrange) only my X dataset per row ,while
keeping the my Y dataset as it is.
2. Then Calculate the correlation for this pair, and compare it to
your true