Linked Questions

3 votes
1 answer
32k views

Correlation between a numeric and factor in R [duplicate]

I'm new to R and I'm trying to find the correlation between a numeric variable and a factor one. I have a data frame with the following 3 columns: 1. nr of clicks (range 0:14) 2. response (1= "YES", 0=...
RodiX's user avatar
  • 143
3 votes
1 answer
17k views

Correlation between scale and categorical variable [duplicate]

I am trying to find the correlation or association between a categorical variable - classes from 1 -4 from a GIS (geographic information system) classification - and a continuous variable with values ...
Bee's user avatar
  • 33
5 votes
1 answer
7k views

Correlation between continuous and binary variables [duplicate]

Is there a way to check for correlation between a continuous variable (year of graduation) and a binary variable (yes/no--took a specific course) with n=85, particularly using SPSS? Our hypothesis is ...
Pamela Terrell's user avatar
0 votes
2 answers
9k views

Testing correlation between a Boolean and integer variable [duplicate]

I have data that looks like this: Is there a standard test that I can use to evaluate the correlation between the rank and Boolean attribute?
OregonTrail's user avatar
1 vote
1 answer
879 views

Check correlation between dichotomous and continuous variable [duplicate]

I have a model in which I suspect two variables to may be related. However, one is a binary/dichotomous variable, while the other is a continous variable. What approach should be used to check if my ...
Denver Dang's user avatar
  • 1,047
0 votes
1 answer
588 views

Correlation between a continuous and multinomial variable [duplicate]

I would like to find the correlation between a continuous (dependent variable) and a categorical (multinomial) variable. I found that the appropriate test is Eta ($\eta$) coefficient, however, I haven'...
nora's user avatar
  • 1
0 votes
1 answer
416 views

Correlation between a categorical and a continuous (scale) variable [duplicate]

How can I find the correlation between a categorical (dependent) variable and a continuous-scale (independent) variable? Is a Kruskal Wallis test appropriate? I'm a little confused as my independent ...
Ach's user avatar
  • 3
1 vote
1 answer
284 views

Correlation metric for 0-1 vector and real values vector [duplicate]

I am looking for a right correlation metric to measure correlation between two vectors. The dimensionality of the vectors is around 100. The first vector has real values as the elements and the second ...
com's user avatar
  • 275
0 votes
0 answers
337 views

Pearson correlation binary vs continuous [duplicate]

I keep seeing that we can't use Pearson correlation for binary variables but I don't understand why. If instead of a binary response, I have multiple (>2) categories, then it's obvious - we are unsure ...
user3810441's user avatar
1 vote
0 answers
270 views

Is there a measure of association for a nominal DV and an interval IV? [duplicate]

As part of a larger analysis, I'm interested in examining the relationship between an interval level variable and a four category nominal variable. In this case, the interval variable is the ...
Matt's user avatar
  • 11
0 votes
0 answers
303 views

Correlation with no numeric and numeric variable [duplicate]

Can someone enlighten me ? I know it's very basic but i'm really confused with how to make correlation with numeric AND non-numeric variable. I have a data.frame with multiple variables. Some of it ...
Moineau Maaka's user avatar
1 vote
0 answers
214 views

Correlation analysis with dichotomous variables [duplicate]

Could correlation analysis with Pearson correlation or Spearman rank correlation be done between continuous variable and categorical dichotomous variable eg, presence or absence of hypertension? My ...
mohamed's user avatar
  • 11
1 vote
0 answers
242 views

How to find correlation between continuous variable and yes/no question? [duplicate]

I'm trying to find out if there is correlation between website clicks and sales. In order to do this, I'm trying to find the correlation between a nominal question (Yes and No) and a continuous ...
user358742's user avatar
1 vote
0 answers
131 views

What is way to measure relationship between independent categorical variable on dependent variable (categorical/continuous)? [duplicate]

If both dependent and independent are continuous then we can find correlation and we know which column can be more influential. But if independent variable is categorical, how will i know how much it ...
dsl1990's user avatar
  • 111
1 vote
0 answers
111 views

Nonparametric Correlation with Dichotomous Variable [duplicate]

I have a continuous variable (total cholesterol mg/dl) and a dichotomous variable (gender). I want to see whether a relationship exists between the total cholesterol level and gender. The data is ...
Confused's user avatar
0 votes
0 answers
27 views

correlation coefficient between nominal categorical variables and discrete variables in R [duplicate]

How is it possible to calculate correlation coefficient(Effect size) between nominal categorical variables and discrete variables in R? for each variables I have at least 10 values
Juli Avlokhashvili's user avatar
0 votes
0 answers
14 views

Finding an association between two methods of medical intervention and a continuous variable [duplicate]

I have here with me, two methods of intervention; a standard care method, and a specialised intervention. Different individuals receive different method, its all randomly allocated. I am trying to ...
squashguy919's user avatar
1 vote
0 answers
10 views

What correlation coefficient should I compute if I have a dichotomous variable and an ordinal variable with tied ranks? [duplicate]

I am not sure if I will compute the rank-biserial correlation coefficient since the formula assumes that there are no tied ranks. To provide further context, here is my data: Note: The dichotomous ...
Lui's user avatar
  • 11
0 votes
0 answers
9 views

Show correlation with yes and no answers [duplicate]

I am looking to see a correlation between domestic violence and violent crime. It is a yes and no dataset. What will be the best way to show correlation? total no 53 no with violent crime 38 no with ...
Tayyaba Riaz-Jamil's user avatar
20 votes
2 answers
25k views

Correlation coefficient between a (non-dichotomous) nominal variable and a numeric (interval) or an ordinal variable

I've already read all the pages in this site trying to find the answer to my problem but no one seems to be the right one form me... First I explain you the kind of data I'm working with... Let's ...
cristis's user avatar
  • 303
13 votes
2 answers
32k views

Correlation between dichotomous and continuous variable

I am trying to find the correlation between a dichotomous and a continuous variable. From my ground work on this I found that I have to use independent t-test and the precondition for it is that the ...
Sree Aurovindh's user avatar
7 votes
2 answers
38k views

How do you estimate correlations between ordinal and binary data in SPSS?

I'm struggling with my lab report. I have a questionnaire which contains Likert responses (1-7) as well as questions that require only yes or no answers. I want to see if there is a correlation ...
josh's user avatar
  • 71
6 votes
1 answer
33k views

How to do a "correlation matrix" with categorical, ordinal and interval variables?

I'm fairly new to statistics and R, and I hope to get your help on this issue. I have a dataset from an experiment with consists of the following variables: IV1: Age (interval) IV2: Gender (factor) ...
Marc Andersen's user avatar
1 vote
1 answer
11k views

Binary and Continuous Correlation [closed]

I'm confused about finding correlation in these two cases with using Excel: 1- Correlation of two binary variables : (Male/Female,Interest to Coffee(Yes/NO)) 2- Correlation between one continuous and ...
Raffael Edu's user avatar
8 votes
1 answer
8k views

Non-parametric correlation for continuous and dichotomous variables [closed]

I have two variables I want to test with correlation, one is continuous and the other dichotomous. My data are non-normally distributed, plus the variance is heterogeneous, so I have to apply a non-...
user avatar
2 votes
4 answers
3k views

Testing associations between nominal and ordinal variables

I know there have been many questions on this topic. Sorry for another one. I have done a survey in which both questions using Likert scale (strongly disagree-strongly agree, so 5 point) have been ...
Leanne's user avatar
  • 23
1 vote
1 answer
5k views

Correlation between a nominal and ordinal [duplicate]

I would be very grateful if you would tell me how I can find the degree of correlation between a nominal dependent variable and an independent ordinal variable. The nominal variable has only two ...
merlin's user avatar
  • 11
6 votes
2 answers
2k views

Why is R2 not reported for GLMs based on last iteration of IRLS weighted least square regression with which it is fit

Given that GLMs are generally fit using iteratively reweighted least squares (based on a Fisher scoring algorithm to maximize the max likelihood objective, which is a variant of Newton-Raphson, see ...
Tom Wenseleers's user avatar
3 votes
1 answer
4k views

Spearman's rho to correlate discrete with binary variables

Is it ok to use the Spearman's rho if one has to correlate a binary and a discrete (from 0 to 100) variable? Or Kendall's tau b would be a better choice?
Forinstance's user avatar
0 votes
1 answer
3k views

How to find correlation if we have continuous and categorical variables present in my dataset as features and target is again binary

I am working on classification problem where I have categorical and continuous features however the target is binary. What is the best way to check correlation with respect to target variable. Also I ...
user avatar

15 30 50 per page