As a result of my own function, I get 1d array something like [0.4, 0.6, 0.2, 0.3, 0.9, 0.7] Now I want to make a heatmap with it, for example, 0.7 ...
As a result of my own function, I get 1d array something like [0.4, 0.6, 0.2, 0.3, 0.9, 0.7] Now I want to make a heatmap with it, for example, 0.7 ...
I have time series data which records whether an event occurred (1) or not (0) during each second of an activity. I need to identify chunks of time d ...
I understand how to boostrap using the "boot" package in R, through the PDF for the package and also from these two examples on Stack, Bootstrapped co ...
I have two variables and I want to test the correlation between them. The dependent variable is binary (0/1) and the independent variable is categoric ...
How can I generate a correlation matrix of different categories in the same column? I am working with medical data in which I have a column with diffe ...
I am working with two different arrays: x and y. Shape of x = (442,10) Shape of y = (442,) I am trying to write a loop that prints the 10 correlati ...
I am pretty new to statistics, and I am stuck with this. I have the data containing birth weight, length of baby and head circumference. I need to pro ...
There is a dataset with three columns: Col 1 : Name_of_Village Col 2: Average_monthly_savings Col 3: networth_in_dollars So, I want to crea ...
I am using this code: Question: What can I add to the previous code to relabel the names on the facets? That is, to change "delta_bp" to "dragon" ...
I'm trying to plot a matrix using a heatmap chart but I would like to avoid repeated values; When using seaborn we can set a "mask" to avoid showing ...
I noticed that correlation calculations return different values when using pandas vs numpy. This is my sample data: Correlation calculations: R ...
I am trying to run corLocal on 2 stacks (average temperatures, day of the year for spring- over a 17 year period. I.e. 17 tiff files for temp and 17 t ...
I'm able to calculate a rolling correlation coefficient for a 1D-array (data against [0, 1, 2, 3, 4]) using a loop. I'm looking for a smarter solution ...
Is it possible to add in the text of the correlation matrix plot the exact p-value and/or 95% CI, next to where the point estimate is mentioned, by ad ...
I used the CFA to analysis the hypothesis stipulates that the variables violation and less safety have a negative impact on self-efficacy belief of in ...
I have created a function and it will return only the squared anser and it is not possible to get the right answer, which is the current anwer square ...
I am using deepgraph in python to compute correlation coefficients for large matrices. The output gives a multi-index data frame: I want to add a c ...
this is my dataset: I want to calculate the pairwise correlation of these variables, with interaction with a new variable (x). However, when I do t ...
my problem is that I would like to do group by and then correlation inside column in data frame. For example: Year Var ...
Is there a way to have R code using tidyverse that takes a dataframe with numeric columns "col1", "col2", "col3", "col4", and a categorical column "pr ...