Top "Correlation" questions

For questions regarding interdependence of variable quantities.

Pearson's Coefficient and Covariance calculation in Matlab

I want to calculate Pearson's correlation coefficent in Matlab (without using Matlab's corr function). Simply, I have two vectors A …

matlab correlation pearson
Pandas Correlation Groupby

Assuming I have a dataframe similar to the below, how would I get the correlation between 2 specific columns and then …

python pandas group-by correlation
Correlated features and classification accuracy

I'd like to ask everyone a question about how correlated features (variables) affect the classification accuracy of machine learning algorithms. …

machine-learning classification correlation feature-selection
Finding lag at which cross correlation is maximum ccf( )

I have 2 time series and I am using ccf to find the cross correlation between them. ccf(ts1, ts2) lists …

r time-series correlation
use ggpairs to create this plot

I have some code in a Shiny app that produces the first plot below. As you can see the font …

r ggplot2 correlation ggally
Remove outliers from correlation coefficient calculation

Assume we have two numeric vectors x and y. The Pearson correlation coefficient between x and y is given by …

r statistics correlation
Python cross correlation

I have a pair of 1D arrays (of different lengths) like the following: data1 = [0,0,0,1,1,1,0,1,0,0,1] data2 = [0,1,1,0,1,0,0,1] I would like to get …

python matlab signals correlation
how to check for correlation among continuous and categorical variables in python?

I have a dataset including categorical variables(binary) and continuous variables. I'm trying to apply a linear regression model for …

python linear-regression correlation categorical-data
Why NUMPY correlate and corrcoef return different values and how to "normalize" a correlate in "full" mode?

I'm trying to use some Time Series Analysis in Python, using Numpy. I have two somewhat medium-sized series, with 20k …

python numpy normalization time-series correlation
How to find significant correlations in a large dataset

I'm using R. My dataset has about 40 different Variables/Vektors and each has about 80 entries. I'm trying to find significant …

r correlation