Displaying 20 results from an estimated 1000 matches similar to: "Correlation coefficient of large data sets"
2010 Apr 04
1
test if a package is installed
I am aware of .packages(all.available = TRUE) but I would like to just
ask .packages('base') and get TRUE or even better check a list of packages
and get a true/false list back. Is there a way to do this?
*Vincent Davis
720-301-3003 *
vincent@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
[[alternative HTML version
2002 Dec 05
1
(no subject)
hi,
suppose you have a for-loop like this:
for(i in1:x) {} ...
now you want to generate a variable in every
cycle (since you do not know the size of x in
beforehand you have to do this dynamically).
the variable should e.g. look like this:
variableName1<-c() (if x==1)
variableName2<-c() (ifx==2)
variableName3<-c() (if x==3)
..
..
i tried this(which obviously didn't work):
2008 Jul 01
2
"Invalid object" error in boxplot
Hi,
I'm trying to make a boxplot with the data at the end of the message, and when I
try to execute the command
>boxplot(Diatoms) (or for any other field instead of "Diatoms")
I get the following error message:
Error in oldClass(stats) <- cl : adding class "factor" to an invalid object
Any advice would be much appreciated.
Thanks a lot,
Miriam
Date
2008 Aug 22
2
Coordinate systems for geostatistics in R
Hi,
I read somewhere that when carrying out geostatistical analysis in R you
should not use latitude and longitude...can anyone expand on this a little
for me, and what would be the best coordinate system to use?
I have my data in a geographic coordinate system, WGS84, decimal
degrees....is this the wrong format for such analyses?
I have also converted my data in the UTM projection and so have
2009 Mar 11
1
Iterations of random sampling
I have a univariate binary (1,0) 230,000 records, I need to make 20,000 iterations of random sampling of a fixed size. Where I put the result of the sum of selected records for each repetition
Thank's
_________________________________________________________________
of your life
[[alternative HTML version deleted]]
2009 Dec 14
1
Determining the correlation coefficient?
Hello, I need your help! Probably the answer is quite easy, but still ...
How can I sample two (or more) vectors of data from a normal distribution so they are correlated with an exact value I select (for example pearson's r = .30)?
Thanks!
James
[[alternative HTML version deleted]]
2010 Nov 29
1
weighted Spearman correlation coefficient
Hello,
I would be grateful if anybody can help me in finding an R function to
compute weighted Spearman correlation coefficient?
Kind regards,
Daniel
2006 May 30
0
weighted correlation coefficient
Dear R-listers
Is there a R-package that I can use to compute a weighted correlation
coefficient along with its p-values?
I want to be able to assign weights to the data points before computing a
Pearson correlation coefficient.
Thanks in advance.
Young-Jin
[[alternative HTML version deleted]]
2007 Nov 29
1
Bootstrap Correlation Coefficient with Moving Block Bootstrap
Hello.
I have got two problems in bootstrapping from
dependent data sets.
Given two time-series x and y. Both consisting of n
observations with x consisting of dependent and y
consisting of independent observations over time. Also
assume, that the optimal block-length l is given.
To obtain my bootstrap sample, I have to draw
pairwise, but there is the problem of dependence of
the x-observations
2011 Jan 30
1
Finding the correlation coefficient of two stocks
veepsirtt wrote:
>
> corr <- cor(s1,s2)
> Error in cor(s1, s2) : incompatible dimensions
>
>
Check lenghts of your series.
cor(c(1,2),c(1,2,3))
#Error in cor(c(1, 2), c(1, 2, 3)) : incompatible dimensions
Dieter
--
View this message in context: http://r.789695.n4.nabble.com/Finding-the-correlation-coefficient-of-two-stocks-tp3246992p3247042.html
Sent from the R help
2007 Dec 06
1
correlation coefficient from qq plot
Hi,
I am trying to figure out how to get the correlation coefficient for a
QQ plot (residual plot). So to be more precise, I am creating the plot
like this:
qq.plot(rstudent(regrname), main = rformula, col=1)
But want to also access (or compute) the correlation coefficient for
that plot.
Thanks,
Tom
[[alternative HTML version deleted]]
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
2005 Oct 21
0
partial rank correlation coefficient
Hi All,
a colleague asked me if R has a function producing a Partial Rank
Correlation Coefficient, sensu Blower and Dowlatabadi 1994 [1].
I personally would not have a clue, and I could not find something like
that on the search page... although I would not be surprised if it's
there under a different name.
Incidentally, unfortunately the function, assuming it exists, is to be
fed to some
2006 Oct 12
1
How to Get Categorical Correlation Coefficient
Howdy Gurus !
I have a different correlation result from the same data. The
"corridor1" string variable is expressed
as a number like the "corridor2" number variable.
--------------------------------------------------------------------------
> levels(corridor1)
[1] "A" "B" "C" "D" "E" "F"
>
2009 Aug 27
1
standard error associated with correlation coefficient
I want the standard error associated with a correlation. I can calculate
using cor & var, but am wondering if there are libraries that already
provide this function.
[[alternative HTML version deleted]]
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 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
2010 Apr 24
1
Multiple Correlation coefficient (spearman, Kenall)
Hi,
I'm currently trying to find/define a relationship between one dependent and
several independant variables.
The problem is that i cannot use the normal multiple regression/correlation
in Spss because the data is not normal distributed.
i calculated the spearman roh and Kendalls tau Correlation and also some
partial correlations in R.
Now i wanna find out the the multiple correlation
2010 May 04
1
multiple correlation coefficient R
Dear All,
How to calculate multiple correlation coefficient R, using R.
regards,
Sukumar
[[alternative HTML version deleted]]
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