Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

I'm encountering some issues when trying to perform grouped correlation calculations in DolphinDB. Here's my scenario: I'm using DolphinDB to calculate correlations between multiple columns in a table....
RORO's user avatar
  • 1
0 votes
1 answer
90 views

Given two 2d arrays I want to calculate the cross-correlation similar as done in scipy.signal.correlate2d but instead of using a fill_value=0 I want to calculate the Pearson R from the data overlap of ...
pas-calc's user avatar
  • 170
0 votes
1 answer
63 views

I created a correlation table of my data in R to prepare for an exploratory factor analysis: corrmatrix <- cor(data, use="pairwise.complete.obs") Then, I used two different functions to ...
Laura Ashlock's user avatar
0 votes
1 answer
64 views

I had recorded a web application in dev tools and save it as har file and later recorded the file using Vugen, in this application at login level we are getting 5 https request and all of them are ...
Rakesh's user avatar
  • 23
0 votes
0 answers
27 views

I'm making a logistic regression model to predict female presence on boards in tech SMEs. I was going to take out companies with only 1 employee, as they don't have boards, but my supervisor told me ...
Anya's user avatar
  • 1
1 vote
1 answer
98 views

I am trying to use scipy.ndimage.correlate to replicate the output of IDL convol() function. The IDL function only calculates elements where there is full overlap between the input and the kernel. So, ...
Arya Akmal's user avatar
0 votes
1 answer
92 views

I'm getting inconsistent results when using cor() function. It is easiest to demonstrate with small piece of code: data("pbc2.id", package = "JM") # Mayo Clinic Primary Biliary ...
Hunter's user avatar
  • 359
0 votes
3 answers
150 views

I need to make a correlation matrix of 27 variables for a research project I'm working on. I also ideally need to be able to put it on Word. I've tried round(cor(correlation_matrix_data, use = "...
hanuman's user avatar
  • 11
3 votes
8 answers
153 views

I have a data.frame containing different combinations of a group and count values where both of them exist. I need to plot or create a matrix similar to correlation matrix. I have come up with a ...
Koundy's user avatar
  • 5,655
0 votes
0 answers
55 views

I want to create a table that just simply tests the correlation between the two variables of the dataframe. The dataframe consists of 50 rows, with approximately 50 variables. Below is an example ...
Tom's user avatar
  • 3
0 votes
2 answers
74 views

I have the following DataFrame (sample image). I estimated the correlation matrix between Sales, Income, and Com for each county with the intend on plotting it into a heatmap. import numpy as np ...
Kendo96's user avatar
  • 15
2 votes
0 answers
92 views

I would like to add colors to the text labels to a correlation matrix in ggplot. Other than the colors, my plot looks satisfactory to me. I will paste in the script for the correlation matrix first, ...
n rank's user avatar
  • 31
0 votes
1 answer
31 views

I have this data: data(mtcars) correlation_matrix <- cor(mtcars) matcor <- cor(correlation_matrix, method = "spearman") #Faz a correlations print(matcor, digits = 2) #Exibe as ...
Ana Paula Castro's user avatar
1 vote
0 answers
107 views

I have written a Polars plugin to calculate the symmetric correlation matrix inspired by Polars DS project. On the Rust side I have: #![allow(unused_imports)] use polars::prelude::*; use pyo3_polars::{...
Kevin Li's user avatar
  • 649
1 vote
0 answers
92 views

I have a dataframe named hyperparam_df which looks like the following: repo_name file_name \ 0 DeepCoMP deepcomp/util/simulation.py ...
Brie MerryWeather's user avatar
0 votes
2 answers
700 views

I am trying to compute the Spearman rank correlation coefficient between two ranked lists using scipy.stats.spearmanr and manually using the formula: ​ However, I am getting significantly different ...
Partha Pratim Sarma's user avatar
0 votes
0 answers
92 views

I have a huge array of products and their prices timeseries data. I want to find the correlation between those products prices. Most of the data has null values when the product is not yet into the ...
Dr. Venkata Goli's user avatar
0 votes
2 answers
115 views

The code below is what I am currently using. It will take a tibble of population data and join a separate tibble with three different variables. I then am only running the process of taking three ...
Jacob Bruno's user avatar
0 votes
0 answers
63 views

Sorry, first timer. I am trying to verify cross correlation between time series S1, S2, especially the correlation coefficient. S1. S2 0.029 2.470 0.030 1.750 0.030 2.200 0.030 2.670 0....
fidjohnpatent's user avatar
0 votes
0 answers
39 views

I am looking to analyze a dataset with many paired time series, but it’s the first time I deal with such data type and was wondering what’s the best way to analyze them. I am looking for the effect of ...
ace327's user avatar
  • 1
0 votes
2 answers
425 views

I want to get the phase shift of two signals via the correlation function. In general I set up a sine with frequency f0 and a 2nd sine (with noise) and a given phase phase_deg. I correlate both ...
Nikolaij's user avatar
  • 321
1 vote
2 answers
72 views

I have two Excel worksheets, one of which ("edit") is a slightly modified version of the other ("base"). I want to figure out if any columns have been added, deleted, or moved. I ...
Phrogz's user avatar
  • 304k
2 votes
1 answer
145 views

I am quite new to using r and am struggling to find a few to actually find a pearson correlation coeffcient from a set data. I am attempting to analyze whether there is a correlation between scores ...
MrBgarles's user avatar
1 vote
2 answers
108 views

In order to create a dataset to test a statistical calculation package, I want to be able to generate a sample that is correlated to a reference sample with a given searman coefficient. I managed to ...
BayesianMonk's user avatar
0 votes
1 answer
87 views

I am trying to create a correlation plot in R, but the output looks blurry or unclear, and I can't view the details properly. Below are the steps I followed: library(corrplot) library(Hmisc) col = ...
nicholaspooran's user avatar
0 votes
1 answer
81 views

How can I change the plot range to be from 0 to 1 as the correlation matrix is always positive. Script: require(RColorBrewer) library(corrplot) set.seed(123) data <- matrix(runif(100, min = 0, max ...
alirazi's user avatar
  • 161
-1 votes
1 answer
101 views

I am trying to calculate some polychoric correlations (reproducible code here) library(polycor) Var1 <- (c(1,2,3,1,2,2,3,2,2,1,2)) Var2 <- (c(2,2,3,1,2,1,3,2,2,1,2)) df <- as.data....
JuanJMV's user avatar
  • 145
0 votes
2 answers
79 views

I have a dataset df I want to analyze and visualize with a scatterplot for correlation with histograms. Moreover, color data points in blue for one and yellow for the other, but pairs of non-zeros for ...
mschmidt's user avatar
  • 129
1 vote
1 answer
165 views

I'm working on an event-sourced application that crawls sports betting games from different bookmakers. I have two primary aggregates in my system: Game: Represents a sports betting event for a ...
Ari Seyhun's user avatar
  • 12.8k
2 votes
1 answer
107 views

I want to compute factor analysis with mixed data (i.e., continous, categorical and binary) but I have a lot of warnings and it does not converge resulting in Nans ( objective num NaN, criteria NaN NA ...
zandarina's user avatar
0 votes
1 answer
237 views

I have done a Spearman correlation and need a scatterplot with a line matching the Spearman's rho. How can I do this? > db id Var_1 Var_2 Var_3 Var_4 1 5 8.17 83.08 10.28 19.81 2 6 4....
ArTu's user avatar
  • 483
0 votes
0 answers
56 views

Pandas is very well optimized to handle the most common scenarios that we need when we preprocess or analyze data. What about BigData, specifically BigData (1k+ columns, 100k rows) in BigQuery? The ...
Hakun's user avatar
  • 513
0 votes
2 answers
52 views

I'm using a double triangular matrix (10x10) representing 2 types of correlations between these variables. The dataset is like this one (4x4). ff <- data.frame(Var1=as.factor(c("V1", &...
Buczinski's user avatar
1 vote
1 answer
206 views

I am coding in python and I am correlating a row in pandas (index 2500) with a sinusoidal function that I defined (sine_modulation). When I print the value I obtain by using row_correlation(...
Juan Pablo Arcila's user avatar
0 votes
0 answers
32 views

I am able to make a correlation matrix that is formatted with the significant values and stars indicating how significant but dont know how to make it so it focuses only on VOC. Output I have: ...
Emma_Fran's user avatar
0 votes
0 answers
59 views

Let's say we have a large dataset with several samples over time. I'm looking for an automated way to find correlations over a specific time period. For example, in cycles, we might observe that when ...
KGee's user avatar
  • 373
1 vote
0 answers
64 views

I try to compute correlation between classes. The dataset involves several folders which are named by class. Each folder includes several images, I have used the below code to input images and ...
user1967441's user avatar
0 votes
1 answer
137 views

I am trying to plot a correlation matrix using the ggpairs function in the GGally R package. By default it displays the correlation coefficient in digits and adds stars next to it to represent the p-...
accibio's user avatar
  • 559
-1 votes
1 answer
54 views

i am trying to replace id_token value in the request but its getting error. I have used regular expression ext to correlated the value and used this function: id_token" value="(.*?)"/&...
Chaxs's user avatar
  • 1
-1 votes
1 answer
45 views

I have two time series from 1986-01-01 to 2024-04-01 following CPI prices of meat and fish and I want to find the correlation between the both of them. They are huge dataframes so below is a truncated ...
Mya's user avatar
  • 1
0 votes
1 answer
39 views

I am new to Jmeter. I have been trying to perform recorded scripts on ServiceNow catalog item that I have created. I think I was able to correlate the x-User-Token from the login Sample to the later ...
ankita dutta's user avatar
0 votes
1 answer
190 views

I have a large data frame, the first four rows of my data frame look like this: X1 <- list(c(1, 4.5, 4.5, 4.5, 4.5, 4.5, 4.5), c(1.5, 1.5, 5, 5, 5, 5, 5), c(1, 4.5, 4.5, 4.5, 4.5, 4.5, 4.5), c(1, 4....
other's user avatar
  • 3
0 votes
1 answer
105 views

I have a correlation matrix I estimate in Stata: estpost corr var1 var2 var3 var4, matrix listwise I want to get the output to LaTeX, simultaneously displaying only 3 decimal places and ...
Peter's user avatar
  • 3
0 votes
1 answer
79 views

The following is an example dataframe called matrix that I have in my program: I have a variable called "plimit" which is currently 0.7. I want an algorithm such that clusters are made from ...
Sanjiv Prasad's user avatar
0 votes
1 answer
83 views

i have a data set with 2 columns.One column is the answers in a likert ordinal Scale and the second column is the category of each question. df # A tibble: 50 × 2 answers Cat <...
Homer Jay Simpson's user avatar
0 votes
1 answer
113 views

I am trying to generate a correlation table using the datasummary_correlation() function from the modelsummary package. I am using a custom function corstars to display significance levels with ...
Sharif's user avatar
  • 401
0 votes
1 answer
157 views

I am able to use statsmodels.graphics.tsaplots.plot_acf to get a plot of the acf's for a specific list of lags, as the lags input accepts a list of values. I would like to have the raw data of the acf'...
Zonova's user avatar
  • 235
2 votes
2 answers
429 views

I am using stat_cor with ggplot to add r-value and p-value to a scatter plot. I have used label.sep = "\n" to display the r-value and p-value on two lines. However the labels are not aligned ...
accibio's user avatar
  • 559
0 votes
1 answer
52 views

I would like to ask for a more "complex" case scenario I'm phasing for analysing high-throughput biological data, aiming to estimate some pairwise correlation coefficients. The input data ...
Jason's user avatar
  • 203
1 vote
1 answer
99 views

I'm looking to create a variance/covariance matrix or a correlation matrix (I don't care which) on stock data. The issue is that different symbols trade at different times, so my dataframe is not full....
gustavjaune's user avatar

1
2 3 4 5
74