Questions tagged [correlation]
For questions regarding interdependence of variable quantities.
correlation
3,707
questions
0
votes
0
answers
19
views
NA's reoccurrence in correlation matrix
Below is the code i ran
# Get assay data
gene.norm.counts <- GetAssayData(test_seurat, assay = "RNA", slot = "data")
# Transpose the matrix
gene.norm.counts <- t(gene.norm....
0
votes
1
answer
7
views
JMeter dynamic correlation assistance
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 ...
0
votes
1
answer
32
views
Is there a way to calculate a Spearman's correlation row by row in a data frame?
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....
-1
votes
0
answers
7
views
CREATE TABLE `your_project.your_dataset.relationship_model` ( from_node STRING, to_node STRING, relationship STRING );
CREATE TABLE `your_project.your_dataset.relationship_model`
(
from_node STRING,
to_node STRING,
relationship STRING
);
INSERT INTO `your_project.your_dataset.relationship_model` (...
0
votes
0
answers
30
views
Correlation alternatives / How to go about testing this relationship? [migrated]
I have a large set of temperature data from upstream and downstream gauges. I am trying to find the influence of dam release on downstream temperatures. To do this, I am comparing correlation between ...
0
votes
1
answer
27
views
Get formatted correlation coefficients with significance levels in stata
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 ...
0
votes
0
answers
14
views
Trying to add correlation test to plot using stat_cor [duplicate]
I am trying to get my correlation test results to show up on my ggplot. I looked it up and it seemed like stat_cor from the ggpubr package seems like the solution for this. I can not get it work ...
0
votes
0
answers
13
views
cor_mat , cor.test , and adjusting p values [migrated]
I want to determine the correlation and p-value between one variable and all of the others in an R data frame, so I created a correlation matrix with cor_mat, and then cor_get_pval. The relevant p-...
0
votes
1
answer
45
views
How can I efficiently generate every possible cluster of items such that everything within the cluster is correlated with each other?
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 ...
0
votes
1
answer
29
views
Spearman correalation in R between different categories on likert scale data
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
<...
0
votes
1
answer
38
views
correlation table with modelsummary
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 ...
0
votes
0
answers
29
views
Confidence interval given by acf and plot_acf in statsmodels are different
I have a large timeseries of around 1mil points. I am using statsmodels.tsa.stattools.acf to compute the acf and the confidence intervals. Since I have a large dataset, the confidence intervals should ...
0
votes
1
answer
32
views
Getting ACF using statsmodels for a list of lags
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'...
2
votes
2
answers
68
views
Issue in aligning stat_cor r-value and p-value displayed on two lines in R
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 ...
0
votes
1
answer
35
views
Approach to compute pairwise correlations in R for 2 different matrices with partially matched features
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 ...