similar to: Violation of sample independence in Pearson's product-moment correlation

Displaying 20 results from an estimated 1000 matches similar to: "Violation of sample independence in Pearson's product-moment correlation"

2012 Mar 21
3
Unable to specify order of a factor
Hi all: I'm attempting to create a faceted plot with ggplot2 and I'm having issues with a factor's order that is used to define the facet_grid(). The factor (named total.density) has three levels - 8, 16, and 32 - and I would like them presented in that order. Running order(levels(total.density)) yields the incorrect order of the facet grid - 2 3 1, corresponding with 16, 32, and 8.
2012 Jun 15
1
How do anova() and Anova(type="III") handle incomplete designs?
Hello all: I am confused about the output from a lm() model with an incomplete design/missing level. I have two categorical predictors and a continuous covariate (day) that I am using to model larval mass (l.mass): leaf.species has three levels - map, syc, and oak cond.time has two levels - 30 and 150. There are no response values for Map-150, so that entire, two-way, level is missing.
2009 Nov 09
0
Testing treatment effects on exponential decay models
Hello all: I would like to test whether there are treatment effects on decomposition rate, and I would like to inquire about the best, most appropriate means using R. I have plant decomposition data that is generally considered to follow an exponential decay model as follows: Wt = Wi * exp(-k * t) Where Wt and Wi are the weights of the plant material at time t and 0, respectively. k is a
2009 Nov 09
6
Find the first values in vector
Hi ! I have a vector: vec= TRUE TRUE TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE and I'm looking for a method which let me get only the first values equal TRUE from this vector. It means that I want to get a vector: vec_out = TRUE TRUE TRUE TRUE or posictions values = TRUE: vec_out = 1,2,3,4 -- View this message in context:
2007 Dec 06
0
coxme() random effect syntax
Hello: I would like to run a Cox proportional hazards regression on crayfish dislodgement at different water velocities by crayfish size class and substrate (rock) type. Additionally, there is a covariate variable, rock movement that may be influencing crayfish dislodgment. So... I have crayfish size class (CFSZCL) and substrate type (SUBSZ) as fixed factors influencing the dislodgment of
2007 Oct 08
0
coxph() command design and data setup
Hello all: I'm attempting to run a Cox proportional hazards function on survival data from insects and I have a few questions. My current command that I'm using to call the model is as follows (using coxph() from the survival library): coxph(Surv(day, censor) ~ treatment + room + chamber %in% treatment, data = data.table) Day indicates which day a particular observation occurred, and
2003 Feb 10
2
Pearson's residuals in logistic regression (PR#2539)
Full_Name: Bin Nan Version: 1.3.0 OS: Win32 Submission from: (NULL) (141.211.15.110) The function resid(fit, "pearson") seems not giving the same Pearson's residuals for logistic regression as what Splus does. I found the problem when I fitted glm with family = binomial using Crowder's seed data.
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
2013 Feb 14
0
pearson's correlation and cross-correlation issue
Hello, I want to compute the pearson's correlation, but even for signals that are shifted. For example having two signals like: 1 1 2 1 1 and 1 2 1 1 1 the correlation is very low.. but if we shift them in the right we get much better correlation. I know that cross-correlation is used to find the best offset (where correlation will be bigger). Is there any metric that can do this job all
2003 Apr 11
1
Pearson's Chi-squared Test
How i can perform a Pearson's Chi-squared Test in this data set: | Outcome -----------------+-----------+----------------------------------+ Treatment | Sex | None |Some | Marked | Total -----------------+------------+--------+--------+-------------+ Active | Female | 6 | 5 | 16 | 27
2008 Nov 27
2
1-Pearson's R Distance
Hi again List, Well this time I’m writing for a friend (really J). He needs to create a distance matrix based on an abundance matrix using the 1-Pearson’s R index. Well I told him to look at the proxy package, but there is only Pearson Index. He needs it to perform a clustering. Well, as soon as he told me there proxy only had the Pearson index I thought: “He could just do something like
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
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
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!
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
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
2007 Oct 09
0
coxph models for insects
Justin, You have an interesting problem, and a serious (reliable) consultation would take more time than I have to give at the moment. Which is to say that you should take these comments with a grain of salt. First, I don't think that you have censored data. You have 2 subdistribution functions F1(t) and F2(t), F1(t) + F2(t) = F(t) = the "time to endpoint" distribution.
2009 Jun 03
1
Validity of Pearson's Chi-Square for Large Tables
Is Pearson's Chi-Square test for contingency tables asymptotically unbiased for large tables (large degrees of freedom) regardless of the expected values in each cell? The rule of thumb is that Pearson's Chi-square should not be used when large numbers of cells have expected values < 5. However, I compared the results on 4x4 contingency tables for R's chisq.test using chi-square
2011 Jun 20
2
analysis with the data from mysql database
Hi everyone, I have certain values retrieved from mysql database.How can i do certain analysis like histogram, correlational analysis tc using this data,I tried it. But when i tried to plot a histogram it actually showed error the data is not numeric evenif it was stored as integer data type in mysql db. Please anyone help. Can anyone specify the steps for doing data analysis after
2002 May 23
2
Find if there is independence
Hello I have the matrix a<-matrix(c(2,1,0,1,2,2,1,5,7,2,5,12),nrow=6) a [,1] [,2] [1,] 2 1 [2,] 1 5 [3,] 0 7 [4,] 1 2 [5,] 2 5 [6,] 2 12 Suppose that in the first row we have 3 men of England, 2 with hair, and 1 no In the second we have 6 italian men, 1 with hair and 5 no ... I want to find if there is a dependence between men withouth hair and