Top "Correlation" questions

For questions regarding interdependence of variable quantities.

Image template matching using correlation

I am developing a template matching program in MATLAB. The code runs well, and finds the closest result. My first …

matlab image-processing correlation cross-correlation
Generate correlated random numbers from binomial distributions

I am trying to find a way to generate correlated random numbers from several binomial distributions. I know how to …

r random correlation
Caret package findCorrelation() function

Hello I am having trouble with the findCorrelation() function, Here is my input and the output: findCorrelation(train, cutoff = .50, verbose = …

r correlation r-caret
Python numpy.corrcoef() RuntimeWarning: invalid value encountered in true_divide c /= stddev[:, None]

It seems that corrcoef from numpy throw a RuntimeWarning when a constant list passed to the corrcoef() function, for example …

python numpy correlation
Correlation between groups in R data.table

Is there a way of elegantly calculating the correlations between values if those values are stored by group in a …

r data.table correlation
Does a negative cross correlation show high or low similarity?

I am programming some image processing techniques which requires comparing the similarity of two sub images. I'm using a the …

image image-processing processing correlation cross-correlation
Plot a Correlation Circle in Python

I've been doing some Geometrical Data Analysis (GDA) such as Principal Component Analysis (PCA). I'm looking to plot a Correlation …

python correlation pca eigenvalue eigenvector
Weighted correlation coefficient with pandas

Is there any way to compute weighted correlation coefficient with pandas? I saw that R has such a method. Also, …

python pandas correlation pearson-correlation
Polychoric correlation matrix with significance in R

I have been desperately looking for a way to compute a polychoric correlation matrix, with significance in R. If that …

r correlation significance
Python pandas correlation corr() TypeError: Could not compare ['pearson'] with block values

one = pd.DataFrame(data=[1,2,3,4,5], index=[1,2,3,4,5]) two = pd.DataFrame(data=[5,4,3,2,1], index=[1,2,3,4,5]) one.corr(two) I think it should return a float = …

python pandas typeerror correlation pearson