Top "Correlation" questions

For questions regarding interdependence of variable quantities.

R run correlation, ignoring non-numeric data

I am trying to run a correlation between all numberic values (the dataset contains columns of both numeric and non-numeric …

r correlation
Is there any numpy autocorrellation function with standardized output?

I followed the advice of defining the autocorrelation function in another post: def autocorr(x): result = np.correlate(x, x, …

python numpy statistics correlation autocorrelation
Partial Correlations in R

I am trying to compute a partial correlation in R. I have the two data sets that I want to …

r partial correlation
Calculating pairwise correlation among all columns

I am working with large biological dataset. I want to calculate PCC(Pearson's correlation coefficient) of all 2-column combinations in …

python pandas correlation
Is there a way to calculate correlation in TSQL using OVER Clauses instead of CTE's?

Let's say you have a table with columns, Date, GroupID, X and Y. CREATE TABLE #sample ( [Date] DATETIME, GroupID INT, …

sql sql-server tsql correlation
Generating random correlated x and y points using Numpy

I'd like to generate correlated arrays of x and y coordinates, in order to test various matplotlib plotting approaches, but …

python random numpy correlation normal-distribution
Weighted Pearson's Correlation?

I have a 2396x34 double matrix named y wherein each row (2396) represents a separate situation consisting of 34 consecutive time segments. …

r correlation weighted
Scipy: Pearson's correlation always returning 1

I am using Python library scipy to calculate Pearson's correlation for two float arrays. The returned value for coefficient is …

python statistics scipy correlation pearson
In Python, how can I calculate correlation and statistical significance between two arrays of data?

I have sets of data with two equally long arrays of data, or I can make an array of two-item …

python numpy statistics scipy correlation
R getting the minimum value for each row in a matrix, and returning the row and column name

I have a matrix like so: Only in reality it is hundreds or thousands of values. What I need to …

r matrix correlation minimum