# Questions tagged [pearson-r]

The Pearson product-moment correlation coefficient is a measure of the linear relationship between two variables $X$ and $Y$, giving a value between +1 and −1.

538 questions
Filter by
Sorted by
Tagged with
26 views

### Which correlation test to use

I'm working with datasets on economic inequality and crime rates at the county level to produce correlation matrices. My economic inequality data has several variables, which are percentage of county ...
1 vote
22 views

• 4,032
1 vote
25 views

### Doing an independent study as a high schooler but can't seem to figure out the values that need to be used to get pearson's correlation coefficient

Here's the database, it's a rather small one: https://www.theadgalternative.com/world_cup_data.html I dont understand what my N, X, and Y values would be since nothing is really quantitative. I'm ...
335 views

### Cronbach alpha - descriptive statistics

I researched thinking styles based on Sternberg's Investment Theory. I used a TSI questionnaire that measures preferences in thinking styles. The problem is that I got low scores of Cronbach's alpha ...
• 31
1 vote
40 views

### How to check linear independence of categorical features with a numerical target?

Suppose I am doing linear regression on a dataset. My dataset contains columns f1, f2 ,f3 ,f4 , f5 , target . Features (independent variables) are the column names starting with "f" and my ...
• 367
18 views

### Pearson correlation p-values plot which method better adjusted my p-values BH or BY? help me understand

I'm working on DEG dataset and I've done Pearson correlation to prepare my dataset for downstream analysis (co-expression network), so this isn't an exploration phase. When I do pearson on R using ...
• 1
444 views

### What is a good journal for submitting my article on a conjecture in theoretical statistics, re: ancillary complement for correlation?

I'm working on a draft of a statistics article, and I'd like to plan for the journal where I'll ultimately submit. My problem is, the article topic is somewhat abstract—it's a conjecture in ...
174 views

### What references discuss the problems with phi as an association measure?

(Olivier (2013) states that many have pointed out problems with $\phi$ as an association measure and advocate the use of odds ratios as an alternative Unfortunately, it does not give citations for ...
• 939
58 views

### Pearson & Spearman correlation coefficient in their extreme

I am working right now in R with correlation coefficients. I know that we can achieve approximately a Pearson coefficient r=0 and Spearman p=1, because Pearson is sensitive to outliers. However, I was ...
• 121
409 views

### When to use Pearson's test and when to use Spearman's test?

I want to do a correlation analysis on a dataset of 28 samples. I want to correlate the age with the size of a reflex response. But I don't understand whether I should use Pearson's or Spearman's test....
• 21
30 views

### Deducing from Ordinal to Binary Data

Assume I have two rank vectors $r^A, r^B$ of size $p$ - that is, each of them is some permutation of $1,...,p$. For the sake of simplicity, assume that $p$ is odd. Now, I take these vectors and recode ...
• 4,032
2k views

### Pearson or Spearman? [duplicate]

After using the Shapiro-Wilk test for Bivariate Normality, I found different values of p. For the ones which were p<0.05 I used Spearman and the ones which were p>0.05 I used Pearson. Is it the ...
• 47
33 views

### How do zero values affect the correlation between two twitter activity time series?

I have a time series of Twitter activities (lets call it time series 0) from which I extract two separate time series based on different sets of users (i.e. time series 1 contains the activity of a ...
56 views

### Can I do Pearson cross-correlation between two time series of Twitter data without violating the assumptions?

I have a dataset of Tweets regarding a given topic (extracted by predefined keywords and hashtags). I aggregated the Tweets in bins of time (e.g. every ten minutes) to generate a time series of the ...
214 views

### How to decorrelate $X$ and $X^3$?

We know that if $X$ is positive, then $X^2$ is highly positively correlated with $X$. I've plotted an array of integer numbers from 100 and 110 with the following code: ...
• 53
1 vote
45 views

### If X is positively correlated with Y and Y is positively correlated with Z, it is still possible for Z to be negatively correlated with X? [duplicate]

This is not assuming a perfect correlation between variables. I believe that the answer is yes as long as r<1.0. (r = Pearson product-moment correlation coefficient.) Bonus: if the question is ...
• 171
1 vote
56 views

### What statistical test should I use for my dataset - Pearson's or Spearman's?

I'm not quite sure what statistical test I should be conducting for my dataset. I am aiming to find the correlation between two variables (concentration of copper vs concentration of chlorophyll). My ...
• 11
1 vote
44 views

### Yes or no: is Pearson’s r is a measure of goodness of fit to an affine function? [duplicate]

Is the statement "Pearson’s r is a measure of goodness of fit to an affine function" literally true? Why or why not?
• 171
6k views

### The meaning of the p-value for a correlation coefficient

Recently, I learnt that one can also calculate a p-value for the Pearson correlation coefficient. My question is not about computation of this p-value. (Based on what I read from other posts, we first ...
1 vote
26 views

### Testing for correlation

I'm new to statistics. I'm solving a problem where I'm given three sets of data, the measured sizes of the population of rabbits, the drug dose that's been given to each of them and the method of ...
• 193
33 views

### Selection of covariates for partial correlation?

Are there any recommendations on procedures to identify relevant variables for a partial correlation between $r(X, Y)$? To me, it appears most reasonable to only include those $Z_1, Z_2,\ldots,Z_n$ as ...
• 415
11 views

### correlation that is less sensitive to neighboring class changes

I am calculating the correlation between the scores a radiologist attributes to an MRI image (discrete 0,1,2,3), against the continuous quantification of disease (continuous between 0 and 1). I see a ...
• 101
1 vote
46 views

### Popcorn- what's the best way to compare the fit non-linear models for data that is not very complex?

I popped 7 bags of popcorn in 30 second increments and found the percentage of popped kernels in each time frame. I manipulated this data with sinusoidal, exponential, and cubic models. There is lots ...
• 11
148 views

### Can Pearson Correlation be Used Between Continuous and Dichotomous Variables for Feature Selection?

I'm working on a dataset that contains both continuous and dichotomous numerical features, the latter having values in the set $\{0, 1\}$. My objective is to apply feature selection to my dataset to ...
• 635
86 views

### Measuring correlation at national level from state level data?

I have a dataset with 96 records in the following format: ...
675 views

### Can I compare Pearson's r and Spearman's rho with Fisher's r to z transformation?

I'm using the tool in the following website to compare correlation coefficients: http://vassarstats.net/rdiff.html The tool uses Fisher's r to z transformation to ultimately compare two correlation ...
1 vote
62 views

### Different results of t test and biserial correlation?

I was wondering whether it is possible that a t test and a point biserial correlation can give different results (t-test shows groups differ significantly, correlation implies that variable does not ...
• 415
1k views

### Why is the p-value of Pearson's correlation test large even when the sample size is sufficient?

I have two variables $Y1$ and $Y2$ and the sample size is $240$. I computed Pearson's correlation coefficient in python with pearsonr from scipy.stats. The following are my results: Correlation ...
1 vote
46 views

### What would be the sample number if two variables have different number of samples?

While correlating two variables, which have different number of samples in each, how can I find the df? Eg. Sample-A has 35 observations, Sample-B has 22 observations, How to calculate df (N)-2? ...
• 21
1 vote
122 views

### Why does there appear to be different types of Pearson's autocorrelation?

If you Google Images "auto-correlation", you will find many formulae of this form (from here):- I've implemented this and so with a sequence { 65, 66, 67, 68, 69, 70, 71, 72 }, $r_k = 0.625$...
• 666
112 views

### I have a moderate to high correlation and a p-value that is non-significant. Do I still reject the whole hypothesis?

I have a correlation of 0.777 but only a p-value of 0.069 (not significant) on my Pearson's test. My sample size was of 54. Should my hypothesis still be rejected even if there is a correlation? Is ...
126 views

### Correlation between two datasets

I have two datasets having values : s1 = [25 ,75, 25, 75, 25, 75, 25, 75, 25, 75] and s2 = [46.24, 73.16, 27.13, 74.30, 25, 72.52, 53.15, 75, 40.15, 69.86] Pearson correlation coefficient = 0.90 and ...
• 33
1 vote
75 views

### What is this equation for?

$$t = \frac{r}{\sqrt{\frac{1-r^2}{n-2}}} \sim t_{n - 2}$$ with $$r = \frac{S_{xy}}{\sqrt{SC_{xx} SC_{yy}}}$$ I've just found this equation with no direct data to of what can I get from it, I couldn't ...
• 270
727 views

### How to calculate Pearson correlation coefficient of two 3-dimensional features?

The book I read, Applied Predictive Modeling Textbook, mentions: Even though, single features do not correlate with each other, sets of features can correlate with other sets of features. I have an ...
• 313
1 vote
227 views

### Question about deciding whether to use Pearson's and Spearman's correlation [duplicate]

Let's say I have two variables and I want to measure the association between them. I've been reading up on running Pearson's correlation vs. Spearman's. I understand that Pearson's measures linear ...
75 views

### Questions about Pearson's correlation linearity assumption and Spearman's correlation assumption of monotonic relationship

I have a question about correlations. So let's say I have 9 variables: Y1, Y2, Y3, X1, X2, X3, X4, X5, and X6. All of the variables are measured on a ratio scale. Let's say I want to measure the ...
791 views

I have a question about correlations. Let's say I want to measure the associations between a number of variables and all of them are measured on a ratio scale. I know I can use Pearson's $r$ ...
40 views

Let’s say I want to measure the correlation between two variables, both measured on a ratio scale. Let’s say however that the relationship between the variables isn’t linear (so I can’t calculate ...
74 views

### correlations for different variables and correlation matrix

I have a continuous target variable and 40 independent variables - some of them are ordinal, some are binary (Yes/No). When creating a correlation matrix I get correlations between: continuous and ...
• 21
1 vote
110 views

### Lower correlation in sub-group than in main-group

Variable 1: Points in the NBA in Year 1; Variable 2: Points in the NBA in Year 2; Objective: Calculate the year-to-year correlation coefficient Let's say the correlation coefficient for the entire ...
• 53
1 vote
65 views

### Sign of pearson correlation with negative regression coefficient

I want to obtain the pearson correlation of "experienced disfluency" and "narrative engagement" from the attached unstandardized coefficients for my meta-analysis. The paper is ...
1 vote
134 views

### Cross-lagged Pearson correlation in R

I have a dataset where I have two recordings (sessions) of two different variables. ...
• 299
1 vote