245 questions
0 votes
0 answers
76 views
parallel = FALSE gives error in vglm() function but not when set to TRUE
I'm analyzing a dataset on student performance from this site called "student-mat.csv", and I'm working on an ordinal logistic regression model. I want to use the vglm() function from the ...
1 vote
3 answers
171 views
How to extract Std.Dev from VarCorr glmmTMB
I'm using the emmeans package with a negative-binomial model implemented using the glmmTMB package. I'm trying to bias adjust my backtransformed emmeans per the workflow illustrated here: https://cran....
0 votes
1 answer
35 views
Determining orthogonal array
I need to test my web site having 20 user roles and 40 permissions across different web pages, which Orthogonal array will be the closest to consider for this scenario i.e. two factors first with 20 ...
1 vote
1 answer
342 views
R table1 package: Adjusted p-values in extra column
Is there a way to apply a p-value adjustment on all p-values in the extra column? For by incorporating the p.adjust function somewhere? I am assuming that the pvalue function from the vignette is ...
0 votes
2 answers
109 views
How to add intervals to the x axis (factor levels) and stat bars in R ggplot
I create this plot in R: I want to do 2 things: Add more factor levels to the x axis (intervals of 12hrs to match other data), I try with scale_x_continuous(breaks = seq(0, 72, by = 12), labels = ...
0 votes
0 answers
59 views
Automating Correlation Analysis Using Excel/related software
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 ...
0 votes
0 answers
38 views
Comparison of temperature matrix - statistical result not practical reality?
I have the following issue: I want to compare thermal pictures (data is present as a big Matrix/ each Pixel one value) in python and decide weather they are different. What statistical approaches are ...
0 votes
1 answer
105 views
How to check wether two mean values are significantly different?
I have two distributions with a size of ~120 and ~86.000 elements. I would like to check wether the mean value of the two distributions are significantly different. I found, that I can use a Welch’s t-...
0 votes
1 answer
59 views
using ranksum test within permutation test
I am a bit confused with the definition of the permutation_test function provided by scipy. the following is what I wrote to calculate the p and null distribution x = disease['Theta'] y = nodisease['...
-1 votes
1 answer
146 views
Bland-Altman plots [closed]
I need to make Bland-Altman plots, but I cannot find a good R or Python package for this. So far, I've found a single function in Statsmodels and another one in a package called Pingouin. But neither ...
1 vote
2 answers
43 views
Aggregation Method in Classification
There is a set of objects to be classified into n classes. Each class has its own coefficient. For example: class coefficient 1 0.5 2 0.7 N 0.4 I arranged ...
1 vote
0 answers
39 views
What if using Friedman test on dependent variable that is nominal data?
I have a group of 30 participants who did a test for three times. Each time, The independent variable was changed and the participants reported their answers (dependent variable). The independent ...
1 vote
1 answer
806 views
Calculating BLEU score between candidate and reference sentences in python
I am calculating BLEU score between 2 sentences which seem very similar to me but I am getting BLEU score as very low. Is it supposed to happen? prediction = "I am ABC." reference = "I'...
1 vote
1 answer
84 views
How to fix my permutation part of my R code?
I have attached my code with the problem that I am having issues on below: library(dplyr) library(perm) data(iris) # Create subset to only see setosa and virginica species iris_subset <- iris %>...
-1 votes
1 answer
112 views
Handle NaN values in Scipy.mannwhitneyu (scipy.stats.mannwhitneyu)
I have a dataset of logIC50 values(say A) and another dataset of categorical clinical drug response (say B). There are mainly two important observations in B - sensitive and resistant. But there are ...