Questions tagged [statistical-test]

A statistical test provides a mechanism for making quantitative decisions about a process or processes.

Statistical Tests

A statistical test provides a mechanism for making quantitative decisions about a process or processes. The intent is to determine whether there is enough evidence to reject a conjecture or hypothesis about the process. The conjecture is called the null hypothesis. Not rejecting may be a good result if we want to continue to act as if we believe the null hypothesis is true. Or it may be a disappointing result, possibly indicating we may not yet have enough data to prove something by rejecting the null hypothesis.

264 questions
0
votes
0 answers

KL Divergence vs Z Test for Proportion for comparing two Proportions (Binary Categorical Variable)

I want to detect data drift on a dataset that has 54 binary categorical features? Which method would work better if I want to compare the features separately? KL Divergence vs Z Test. The size of dataset is very huge. Also, if I want to consider all…
0
votes
0 answers

Test to compare proportions / paired (small) samples / 7-levels categorical variables

I'm working on data from a pre-post survey: the same participants have been asked the same questions at 2 different times (so the sample are not independant). I have 19 categorical variables (Likert scale with 7 levels). For each question, I want to…
Vetepi
  • 11
  • 2
0
votes
0 answers

how is the 'observed power' calculated?

I am trying to figure out a power calculation from the below online power calculator: https://abtestguide.com/calc/ They have written formulas for everything else apart from 'Observed Power'. can someone please help me understand the step by step…
0
votes
0 answers

R: how to compute a power analysis based on a wilcoxon test for paired observations (Wilcoxon signed-rank test)

I want to know if my study and my statistical test is powerful. I have 16 subjects, all of them took both treatment1 and treatment2. I want to know if the study is powerful by conducting a power analysis to determine the power of the study. Group 1…
0
votes
1 answer

What statistical tests can I run to test the randomness of binary strings using python?

I'm having issues implementing the block frequency test in Python to understand the randomness of a binary string. I was wondering if anyone would be able to help me out in understanding why the code wont run. Also, are there any statistical tests…
0
votes
0 answers

Automate statistical analysis (one way ANOVA, Dunnett post-hoc) in a for loop R

I need to compute a statistical analysis that compares control vs treatment for each gene, I've identified the type of stats that I need and it works if performed to one gene: df <- data.frame(Gene =…
Sedlin
  • 53
  • 4
0
votes
1 answer

Error when using regTermTest from R survey() package and MIResult object

I'm trying to perform a Wald test on an interaction term in a survey-weighted model with imputed data - see below for a toy reprex. When I run the last three lines of code with regTermTest using syntax modeled directly off the function documentation…
lamhine
  • 45
  • 7
0
votes
0 answers

Problem with choice of distribution and right stat test

I have specific data about troubles on a plant. To analyze it, I decided to use fitter and find best distribution that fits my data. After using kstest for the best fit, I saw this strange result: KstestResult(statistic=0.9866071428571429,…
S L
  • 1
  • 1
0
votes
0 answers

N-Way ANOVA for Participation Rate Data

I am trying to conduct a test of statistical significance in a dataset with multiple categorical variables, each of which combine into different population sizes. Here is an example of what I mean: Hair Color Eye Color Shoe Size # of…
0
votes
0 answers

ARIMA - PACF and ACF looks similar

I'm trying to build an ARIMA model and choose the appropriate order of AR(p) and MA(d). I'm using ACF and PACF plots. They look very similar, very same (please take a look). ACF and PACF plots Could you please give me some hint on why is that and…
0
votes
1 answer

How to wrap `VGAM::cumulative` into a helper function (`object not found` issue)?

When I execute the following code for testing proportional odds assumption in the ordered logit model it works fine: data = transform(VGAM::pneumo, let=log(exposure.time)) formula = cbind(normal, mild, severe) ~ let fit_po = VGAM::vglm(formula,…
krassowski
  • 13,598
  • 4
  • 60
  • 92
0
votes
0 answers

R Shiny T-test returning error with reactive input

T.test function works in my Shiny app until I make one of the variables reactive then it returns Error:variable lengths differ (found for 'Group') output$t_test <- reactive({ t_test_result <- t.test(Age ~ Group, data,…
0
votes
1 answer

Score for over/under representations of a variable in sub-group

I have a corpus of book publications split into different clusters. I have information about the nationality of the authors (variable A) and the nationality of the publishing company (variable B). In the case of variable B, publishing companies are…
Homard
  • 39
  • 6
0
votes
0 answers

Compute t-statistic for average monthly returns

I have created a trading strategy and computed the monthly returns of it. I have a list of 12 monthly returns, since I have a 1-years period. Furthermore, I computed the average monthly return for the year, which is 1 number. I am trying to…
0
votes
0 answers

Using Wilcox test in R

I am not an expert in statistics, and I would appreciate your help with the following. I have a list of actual prices at different dates in the past: Date1, Price1 Date2, Price2, Date3, Price3, ... Date100, Price100 Then I use two methods/models to…
Avocado
  • 70
  • 8