Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [correlation]

A measure of the degree of linear association among a pair of variables.

3
votes
2answers
53 views

Manual feature engineering based on the output

So, I'm working on a ML model that would have as potential predictors : age , a code for his city , his social status ( married / single and so on ) , number of his children and the output signed ...
0
votes
0answers
27 views

How to find connectivity pattern to make bipartite Graph / clusters? [on hold]

I have to find relationship between two entities. I am able to analyse both independently but unable to find common interest/ relation between both entities. I have done EDA I have made clusters of ...
2
votes
0answers
27 views

Fitting model to differenced time series

I have a time series on daily stock price of company(2013 data points).I took a first order difference and the following acf and pacf plots of the differenced series were obtained. However, I am ...
0
votes
1answer
33 views

Clustering by Distributions of Groups of observations

I have data as shown below. Like the groups shown A,B,C.. there are roughly 5400 groups of data and 15 observations for every group (I sampled 6-7 for each group and pasted them here). ...
0
votes
2answers
20 views

Causality analysis

I'm trying to find causes for my lack of sleep through data. I'm hoping to be able to input information throughout the day like "drank coffee", "Exercised", "meditation","what I ate for dinner"... and ...
1
vote
0answers
18 views

How to find correlation between two files containing text data,

Both files are different log files with different columns and there is no direct relationship between files. I have tried clustering on both files independently and have n clusters from both files. ...
1
vote
1answer
24 views

Dealing with correlated features when calculating permutation importance

I have implemented the permutation importance calculation as found here in my attempt to identify features that contribute little to my model's (Gradient Boosted Tree model) predictive power. The ...
0
votes
1answer
35 views

How to measure correlation between several categorical features and a numerical label in Python?

I have for a few weeks measured the time it takes for a product to be released through a automated release pipeline. I have several different categorical features such as "Product Category", "Product ...
1
vote
1answer
23 views

How to find correlation between time-series of different units?

I have 3 time-series data. NDVI(normalized difference vegetation index) mean Precipitation Temperature All of these have their own unit. Now I want to find similarity/correlation between NDVI and ...
0
votes
1answer
42 views

How to select variables based on the mean correlation in a correlation matrix?

I have a set of independent variables and I am calculating the correlation matrix between them using the Pearson Correlation Coefficient in Python. A part of the matrix looks like this: From this ...
0
votes
0answers
7 views

Identifying causation between content <> ad kpis

I have a bunch of content tagged with various types of content (e.g. political news, sports, opinion etc.) and a bunch of kpis related to ads placed next to this content (e.g click-throughs, purchases ...
1
vote
1answer
31 views

Machine learning algorithm that uses the Pearson or Spearman correlation?

I've come across linear and multiple regression, SVM, random forests. Does any know of a machine learning algorithm that uses the Pearson correlation or Spearman correlation? Best, Dave
0
votes
2answers
42 views

Trying to find the correlation between inputs and output

I have tried the pandas code for trying to find out the correlation between the output and the inputs I am feeding. Here is the code: ...
0
votes
1answer
342 views

Correlation between nominal categorical variables

I have two arrays, whose values are nominal categorical variables. Each element represents a zone of a city: in the first vector we have the class each zone belongs to (so these might also be seen as ...
0
votes
2answers
30 views

Hesitate to drop a feature

I used to tried making a fake correlation in my mocking dataset and found that if the score is more than 0.5 I can reduce feature to avoid singularity In the given ...
0
votes
1answer
14 views

Determining the correlations between aggregated data and non aggregated data

I have a dataset which is essentially a list of lists produced by a sql query output. Here is what it looks like ...
0
votes
2answers
40 views

Building predictive model with low correlated data [closed]

I have been working on a project with low features and only few entry fields ( 4 to be exact ). All the data in the dataset is barely correlated to each other. Is there some organized way or ...
0
votes
1answer
31 views

Does this correlation make sense?

I'm trying to work on a ML project and I have a dataset and I'm trying to see if there is a correlation between some of the features in my dataset. The dataset contains inspection notes for car parts ...
1
vote
1answer
31 views

How to find similarity of two series over time containing periodic trends?

Considering the data is received from a streaming source each second.How to distinguish if both the line graphs 'look' same/different in real time, statically, like the picture given below Edit: 1....
2
votes
2answers
109 views

How to fill missing numeric if any value in a subset is missing, all other columns with the same subset are missing

There is a clear pattern that show for two separate subsets (set of columns); If one value is missing in a column, values of other columns in the same subset are missing for any row. Here is a ...
1
vote
1answer
38 views

How to calculate temporary/periodic similarities of an increasing series in real time?

Considering there are two series over time and new data is added in the series over a gap of n second . The series might have periodic similarity/dis-similarity within themselves. How to calculate ...
1
vote
2answers
49 views

When creating a classification model, should predictors with little correlation to the response variable be included in the model?

I am building a predictive model designed to predict attrition within my organization. I am trying to decide whether to add certain predictors to my model. I used a Kruskal-Wallis rank sum test to ...
3
votes
1answer
79 views

In supervised learning, how to get info from correlation? [duplicate]

I am trying to build a classification model so I have tried to check the correlation between the features. Here Loan_Status is my target variable. I just don't know how to extract information from ...
1
vote
1answer
33 views

How is PACF analysis output related to LSTM ?

I was going through a recent paper “A Novel Hybrid Data-Driven Model for Daily Land Surface Temperature ForecastingUsing Long Short-Term Memory Neural Network Based on Ensemble Empirical ...
1
vote
0answers
8 views

Measuring Effects of Multiple Changes over Time

I'm writing a social media marketing plan for a website. I have several changes I am planning to implement (increasing posting rate, changing type of content posted, etc.) over an extended timeline to ...
1
vote
6answers
116 views

How to statistically prove that a column in a dataframe is not needed

I have a pandas dataframe consisting of dimensions and features of a different fabric materials. I have several rows per product material type causing the dataset to seem very huge. From basic logic ...
3
votes
2answers
34 views

Regression or Correlation for this RQ?

Our little group at uni is investigating if there is a relationship between 3 measures of social well-being (social anxiety, social connectedness and self esteem) and usage time (on-screen time in ...
1
vote
0answers
74 views

Spearmanr on two pandas dataframes

I have two pandas dataframes that look about the same but with different information stored in them. My question will be about how to compare the two dataframes to ensure column and row match before ...
3
votes
1answer
47 views

Feature selection for time series prediction

I'm working on an LSTM-based stock market forecasting problem and trying to figure out a way to select input variables. When calculating correlation between variables (e.g. Close price of Tesla vs ...
1
vote
0answers
31 views

Problems with Graphical Lasso

I'm trying to use the Graphical Lasso algorithm (more specifically the R package glasso) to find an estimated graph representing the connections between a set of nodes by estimating a precision matrix....
2
votes
2answers
31 views

Is there any logic to adding a threshold to see if two variables are related?

I have two variables $X$ and $Y$ given as tuples of $(x, y)$, and I want to see if there is a relationship between the two variables. I can do so by finding the correlation coefficient. However, I ...
0
votes
1answer
20 views

automatic feature selection

I have a lot (thousands are possible) of automatically-generated ordinal features that i'd like to exploit , to differentiate between two classes. I'm looking for some measure that will select the ...
3
votes
1answer
81 views

Representing cyclical features as sin/cos components

I'm working on a prediction project where we have a lot cyclical features such as hour of the day, weekday, month, day of year, etc etc. After some searching I decided to follow the advice here. Now ...
0
votes
1answer
25 views

Time Posting Data Analysis

I work in a professional services company and would like to get some analytics on how discipline the fee earners post their times to the system may have an impact to the revenue. One area that I am ...
1
vote
0answers
157 views

What is the relationship between correlation ratio and one-way Anova?

According to the answer to this post, it is recommended to use one-way anova to compute the dependence between a categorical and a numerical variable. Besides, the second answer to this post says ...
0
votes
0answers
34 views

Correlation analysis and augmented dickey fuller test

I am performing the correlation analysis for each of the sectors (consumer discretionary, consumer staples, financials, technology, etc.) and the MSCI ACWI index. I am using their daily return data to ...
-1
votes
0answers
46 views

How to Classify X Column to the correlated Y Column?

I'm having trouble to attack this "classification" problem, with some pattern recognition. I need to classify a whole X column to the correlated Y column. For example, Classify the data in column X2 ...
1
vote
2answers
130 views

Random Forests with complementary features

In my dataset, I have 2 features that are not only correlated but that makes sense only in the presence of each other. For instance, one would be the number of times a task was attempted and the other ...
3
votes
1answer
186 views

Standard correlation coefficient of various datasets

I understood the correlation coefficient of the first line. But the correlation coefficient of second and third line differ with the first line in figure 1. Why is it so ?. Even the shapes differ for ...
0
votes
1answer
59 views

Chi-squared for continuous variables

I am using chi-squared to determine feature importance as I select features to train a supervised ML model. I create a contingency table for the feature/target, and feed this contingency table into ...
3
votes
3answers
521 views

Is Pearson coefficient a good indicator of dependency between variables?

Once I have been asked how would I calculate correlation between two time series. Since I am new to data science I answered: "I would just calculate the Pearson correlation coefficient". That wasn't a ...
1
vote
1answer
127 views

How do i interpret this correlation

Does this mean that as long as the student has good gpa and good gre even though his Alma Mater's prestige is low - he will get admitted in a college Any additional things i can interpret from below ?...
3
votes
1answer
143 views

Discarding correlation among inputs in a neural network

I am working on a problem with 4 inputs and 1 continuous output variable. The sum of all values of the 4 input variables is always 1. a1+a2+a3+a4=1 So, they are correlated. My question is: ...
1
vote
0answers
75 views

Adjusted coefficient pearson as CNN loss function

I am trying to create a CNN (using python Keras) that runs on medical images of cancer and classifies them as cancerous or not. (Sample sizes vary between 30,000-280,000 on each trial run). As an ...
1
vote
1answer
20 views

How do different models take in account independence/dependence of features?

How do different models take in account independence/dependence of features? I've only found very rough "pointers" as to what assumptions different models make about the independence/dependence of ...
1
vote
0answers
24 views

Is it the job of the modelling approach to consider or not consider independence/dependence of features? Or should it be known before-hand?

I'm confused, Is it the job of the modelling approach to consider or not consider independence/dependence of features? Or should it be known before-hand? If I know nothing about independence/...
2
votes
2answers
533 views

Why is a correlation matrix symmetric?

I'm sorry for being so weak in math. (I'm a student) For eg. this is a correlation matrix. ...
0
votes
1answer
55 views

What are some data sources with strong positive and negative correlations in feature and sample space?

For example, financial data has in some cases strong positive and negative correlations between different stocks (feature space) and also strong positive and negative correlations between specific ...
0
votes
0answers
25 views

Making sense of kernel canonical correlation analysis weights in the original space?

Kernel Canonical Correlation Analysis offers a non-linear alternative solution to the classical Canonical Correlation Analysis by first projecting the data into a higher-dimensional feature space. A ...
0
votes
0answers
21 views

Algorithms affected by multicollinearity due to correlation between independent features

Please help me in understanding which and all machine learning get affected by Multi-collinearity due to the correlation between the independent features.