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

statistical test to compare two distributions with multiple measurements

I have two treatments: 15 patients have been assigned to treatment a and 14 to treatment b. For each patient, multiple measurements have been performed. For instance, 10 measurements for each patient. So for treatment a I have 10x15 samples, and for…
mariaantp
  • 1
  • 1
0
votes
0 answers

What statistical test to use if I have one categorical dependent variable, 3 test periods and categorical groups within the test periods?

I have one dependent variable - payment made or payment not made. I have three different test periods (that include different people) and I want to know whether there are statistically significant differences between these different test periods and…
0
votes
0 answers

Does it make sense to do the power analysis if one of the sample proportions is 0%?

Can we have any sample size if one of the sample proportions is 0. I mean even the slightest difference detected between the two groups would be because of the treatment in this case, and hence I do not see any reason why the power analysis should…
0
votes
1 answer

Normallity Tests and Data Science

I have a dataset and I wanted to check if some variables follow a normal distribution. So, I have read about normallity test but it seem to be sensitive when the amout of data is large and, apparantly when I plot the histogram and the QQ-Plot, the…
0
votes
0 answers

Find fitting distribution for chi^2 goodness-of-fit test in R

I am struggling with finding a fitting distribution for a chi square goodness-of-fit test in R. My quantile is 66.77, but my test statistic is staying far apart from it. The best distribution I found is an exponential distribution with parameter…
0
votes
0 answers

Doing T-test across two data sets to validate null hypothesis

I need to T-Test to check whether the Sentiment feature has a significant role in identifying gender from text. I have computed the TF-IDF feature and got author_post_new. I have applied the Sentiment feature on the dataset and got X_pac from the…
Christopher Marlowe
  • 2,098
  • 6
  • 38
  • 68
0
votes
0 answers

Cross-sectional dependence tests returning NA unbalanced panel data

I'm analysing slightly unbalanced panel data in r (n = 136, T = 9-213, N = 24894) and planning on using fixed or random effects (Hausman test indicates random effects, but high likelihood of omitted variable bias in the model due to lack of…
0
votes
0 answers

Trying to run a wilcox_test() and it is not working

The test/data: I am trying to run a wilcox_test on a large data set (over 22,000 rows). The test is type of insurance (9 options - remain in text form in my data set) vs. mortality risk (ordinal - minor, moderate, major, extreme - converted to…
Claire
  • 1
  • 1
0
votes
0 answers

What alternatives exist for permutation tests on correlated time series data?

I have two models, m1 and m2 (reference model), for forcasting electricity prices at 6 time points each day. I use MSE to measure model performance over a test interval (5 days) after forecast initialization, and I compare the models using a skill…
0
votes
0 answers

Out of sample statistics (MSE-F; ENC-NEW, MSFE adjusted test statistic)

I performed and out of sample on linear regression. I would like to compute the following metrics: MSE-F statistic (McCracken 2007) Encompassing test statistic (Clark and McCracken 2001) MSFE-adjusted test statistic (Clark and West 2007) Is there…
0
votes
0 answers

Predictor coefficient and statistical significance across panel data waves

I am trying to figure out the command for calculating and visualizing the coefficient and statistical significance of a single predictor across each wave of a panel data regression Here is my code and sample…
YouLocalRUser
  • 309
  • 1
  • 9
0
votes
0 answers

How to perform the Kolmogorov–Smirnov test in python given the empirical CDF

I need to compute the Kolmogorov-Smirthov test but the scipy.stats.kstest method is not applicable to my situation. The scipy.stats.kstest method needs 2 inputs: the CDF respect to which you have to compute the statistic and an array containing…
fabianod
  • 501
  • 4
  • 17
0
votes
0 answers

How to test the effects of a treatment on the usage of certain words in Twitter?

I'm having real hard time finding the correct test for statistical significance. I'm trying to measure if a statement by an influential figure had an effect on a particular discussion on Twitter, one of the ways I do this is by comparing frequencies…
0
votes
0 answers

How to find number of practices in statistical test?

I have a set of businesses that have invoices from clients each day. I use this year-over-year to find how transactions have grown each year, i.e. 2 invoices Sep 2021 and 3 invoices Sep 2022 is (3-2)/2 = 50% yoy txn growth. I want to find a method…
Mark McGown
  • 975
  • 1
  • 10
  • 26
0
votes
0 answers

Permanova adonis2 in R error because of label "0"

I'm quite new to R and I'm trying to perform a permanova using the adonis2 function. I don't understand all in the documentation as they speak about the dependent variable being a community data matrix or a dissimilarity matrix, but I tried to apply…
User34t
  • 1
  • 1