Questions tagged [shapiro-wilk-test]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
47 views

About the normality question with four conditions

I am encountering difficulties in determining the normality of data and distinguishing whether the data I have collected is parametric or non-parametric. I have gathered data using a 7-point Likert ...
SamSic's user avatar
  • 121
2 votes
3 answers
194 views

When to use Pearson's test and when to use Spearman's test?

I want to do a correlation analysis on a dataset of 28 samples. I want to correlate the age with the size of a reflex response. But I don't understand whether I should use Pearson's or Spearman's test....
Oskar's user avatar
  • 21
0 votes
1 answer
27 views

Do I need to use a factor for the ANOVA? [closed]

The problem: A psychologist is interested in short-term working memory under (1) sleep deprivation, (2) a strong dose of caffeine, (3) following 8 hours sleep. They conduct a between subjects design. ...
Cathrine's user avatar
2 votes
2 answers
69 views

How to test for normality on paired samples between two treatments when the number of observations per treatment is unequal?

I have mice which need to poke a device to receive food across a one hour period. The device records the number of pokes and poke_time which is the duration that the mouse remained in the poke hole. ...
JLit98's user avatar
  • 45
3 votes
2 answers
554 views

Can I assume normal distribution?

I have calculated daily price returns of Bitcoin and plotted this data in the following way: x-axis: count y-axis: returns in % I assumed the data had a normal distribution to calculate the $$\rm ...
BlankerHans's user avatar
1 vote
0 answers
43 views

Can I remove a single data point if it is changing drastically a Shapiro Wilk test?

I'm conducting a hyphotesis test to compare the mean of two independent samples. To do so, I need to check normality of both samples. I have two samples of size 20. A single data point, on both ...
mateusvl's user avatar
0 votes
0 answers
20 views

How to determine normalcy for a one group pre-test post-test? [duplicate]

My study is a retrospective one group pre-test post-test on multiple variables. Not every patient in the study had scores for all of the variables, so as long as a patient had both a pretest and a ...
Brian's user avatar
  • 1
1 vote
0 answers
57 views

Are there differences for the Shapiro tests in Python and R?

I am aiming to reproduce the issue (using Python) described in the answer here Is normality testing 'essentially useless'? It states that the assumption of normality is more likely to be ...
makkreker's user avatar
2 votes
1 answer
131 views

Why does checking normality of residuals give a different result than checking bivariate normality of the two variables?

I am checking the conditions for hypothesis testing a Pearson correlation as significant or not, and also checking the residuals normality conditions for OLS. Why are the following methods giving ...
jp5602's user avatar
  • 23
0 votes
0 answers
16 views

Bayesian alternatives of statistical tests [duplicate]

Are there Bayesian alternatives of common statistical tests - Shapiro–Wilk test, Student's t-test, Welch's t-test etc? Bayesian - I mean without P-values. References to statistical literature are ...
Ars ML's user avatar
  • 31
4 votes
2 answers
461 views

How to test for normal distribution with one peak in data?

I would like to test following. Suppose I have a normal distribution with mean 1.5 and sigma 0.5 on interval [0, 3]. Python code: ...
vojtam's user avatar
  • 155
0 votes
0 answers
13 views

What is the best test two compare samples with continuous results when there is not normality

I have a sample (n=200) and I have the results of two in silico prediction tests. Results are continuous and very similar but I want to confirm this statistically. I have done shapiro test to see if ...
Manolo Dominguez Becerra's user avatar
0 votes
0 answers
15 views

Do I need to transform data that is in these units (percentage, degrees, kg/cm or meters) before performing a shapiro wilks test for normality?

I have a few variables in these units that I would like to do a two sample t test on. I don't know if I need to transform the data first or if I can check the normalization with the shapiro wilks test ...
Nicole's user avatar
  • 1
10 votes
2 answers
5k views

Why are Shapiro-Wilk and Kolmogorov-Smirnov test compared with same sample size?

I am trying to understand when to use Shapiro-Wilk Test and/or Kolmogorov-Smirnov Test for normality. Currently, I am following this website How to Test for Normality in R (4 Methods). This paper ...
Quinten's user avatar
  • 359
0 votes
1 answer
76 views

What is the distribution of the test statistics for Shapiro Wilk, Anderson-Darling, and Lilliefors (KS) tests for normality under null?

Have been researching tests for normality, and have some idea of how some of these tests work from Wikipedia. However, they leave out explaining the distributions of the test statistics under the null ...
jojorabbit's user avatar
0 votes
1 answer
178 views

Which statistical test should I use if the assumptions of a 2-way ANOVA are not met?

My study design consists of two factors (one with 2 levels, the other with 6) and a continuous response variable. In order to analyze the influence of both factors on the explanatory variable I built ...
Insect_biologist's user avatar
0 votes
0 answers
14 views

Normality test of vector [duplicate]

I consider the next piece of code library(UsingR) data(babies) hist(babies$wt) shapiro.test(babies$wt) As you can see the data seems perfectly normally ...
Boris's user avatar
  • 973
0 votes
0 answers
119 views

What test is appropriate for normality of continuos data grouped in bins

I have a data set of continuous data. From 1000 observations, the resulting dataset is only 29 rows and two columns: the range (starting point) and the count. Pearson - Weldon crabs dataset range ...
frhack's user avatar
  • 131
10 votes
4 answers
4k views

Why is my data not normally distributed while I have an almost perfect QQ plot and histogram?

I am doing a thesis and I am stuck with my statistics on time series data. And when I run a Shapiro test, or any test, it says: ...
SimonDL's user avatar
  • 103
0 votes
0 answers
44 views

Test for gaussian mixture fit when component assignment is known?

I have a process 𝑃 generating random variables X_1, ... X_n. From each of these I've sampled a set of samples ...
Shay Palachy Affek's user avatar
2 votes
2 answers
804 views

QQ plot result doesn't correspond to normality test [duplicate]

I am considering an ANOVA model for such data: ...
MaximeTars's user avatar
1 vote
1 answer
1k views

Statistical analysis - Shapiro-Wilk test?

I apologize if this question will seem odd, but I am quite new to statistical analysis. I performed coinfection experiments with a total of 12 conditions, and I have 3 measurements per condition. I ...
Elena's user avatar
  • 11
1 vote
1 answer
407 views

R: Shapiro-Wilk test yields different results in descriptives and in One-Way ANOVA

I got a dataset of 60 people from a between-subject approach that I was trying to check for normality. (Since I need information about normality for ANOVA post-hoc tests.) They were split in three ...
Sarah Multitasker's user avatar
1 vote
1 answer
306 views

Shapiro Wilk test of normality

I ran my data under JASP and the p-value for the shapiro wilk test of normality was <.001. How do I interpret this?
an0v4's user avatar
  • 11
0 votes
0 answers
527 views

How to transform a set of negative values to obtain a normal distribution? [duplicate]

I am having quite a few problems with transforming a set of data with values between -1 and 0, as I need to normalise them. I tried to use the following formulae: [(𝑥−min(𝑥))/(max(𝑥)−min(𝑥))] AND ...
sunnysonny's user avatar
1 vote
0 answers
846 views

Is there a way to calculate peaks of a distribution mathematically?

I’m trying to find some way to mathematically calculate the number of peaks in a distribution. I know there are various tests (such as Shapiro Wilk) that assess whether a distribution is normal, but I’...
CowCookie's user avatar
0 votes
0 answers
530 views

Two-Way anova assumptions not fulfilled

My task is to determine whether two different categorical variables (residence location (city/rural) & residence size (small/medium/large)) have a connection on one numeric variable (residence ...
Niko Vyyryläinen's user avatar
0 votes
0 answers
95 views

if I have a variable in my data that is not normally distributed, could I still use an ANOVA if my sample size is large enough?

I have a sample size that is more than 30 but one of my continuous variables is not normally distributed. The Shapiro-Willk test does say that my data is not normally distributed. I am going to ...
ineedhelp's user avatar
  • 145
2 votes
2 answers
289 views

Concept Clarification: Wilcoxon rank test vs two-samples T-test (UPDATE)

I am currently deciding whether to use the Wilcoxon rank test vs two-samples T-test to assess BMI between two unrelated groups. Using the following code to assess normality ...
R Beginner's user avatar
2 votes
2 answers
11k views

Best statistical test to compare two groups when they have different distributions

I am teaching myself to use and apply statistics to a big database. I have 2 groups that I wish to compare, healty controls (HC) and patients (P). The sizes are HC= 84, P= 196. Each group has many ...
Pauliinaa's user avatar
0 votes
1 answer
146 views

If the assumptions of ANOVA fail to reject at 99%, how can that be applied?

I think I am on the right track, but I would rather know. Initially, when the results of Levene's and Shapiro's were significant at 95%, I tested and investigated the data in various ways. I used ...
Kat's user avatar
  • 236
0 votes
0 answers
39 views

Confused about testing my data for normality

I am starting some quantitative analysis of a dataset. My sample size is just over 100 (approx 110) and before doing the descriptive stats I attempted some normality testing to determine if I should ...
Matt B.'s user avatar
4 votes
1 answer
359 views

Testing the Central Limit Theorem with the Shapiro-Wilk test on dice rolling simulations

Rolling a single dice repeatedly will result in a uniform distribution. But if we roll multiple dice the sum would be the Normal distribution due the Central Limit Theorem (CLT). To verify this, ...
Denis Kazakov's user avatar
2 votes
1 answer
174 views

Shapiro -Wilk assumptions

I am doing statistical analysis in a df and I am trying to check the normality of the data. I did the Shapiro Wilk test. I think I have to check if the data meets some assumptions, this is the case in ...
pipts's user avatar
  • 23
0 votes
0 answers
113 views

Does the effect size of a normality test determine whether the normality assumption can be ignored for parametric tests with large samples?

Reading this question and this question and the answers and comments, I have another question. Does the effect size of a normality test determine whether the normality assumption can be ignored for ...
Kaleb Coberly's user avatar
2 votes
1 answer
946 views

How to test if data follows a half-normal distribution?

There are many ways to test if the data comes from normal distribution. like this post But the question is how to test if the data follows half-normal distribution? I know Ks-test, but as the post ...
Jiaqi Ding's user avatar
0 votes
0 answers
357 views

Shapiro–Wilk normality test

I'm trying to check for normality using Shapiro–Wilk normality test. I have a two-way ANOVA (2x3) and would like to run this test on each of the 6 groups. Which function should I use to be able to run ...
Ann's user avatar
  • 1
5 votes
1 answer
774 views

Can we use the R square of the q-q plot as the Shapiro Wilk effect size?

The q-q plot is a nice way to see a deviation from the normality. But this is only "eye estimation" Can the R square of the linear regression be the effect size of the deviation from the ...
OB1's user avatar
  • 51
1 vote
1 answer
119 views

Data didn't pass normality testing for K-W and S-W but the skew and kurtosis were within range...advice please?

I am conducting a study on the relationship between rural/urban living, intentions and barriers to help seeking in adult males. I was planning to conduct a correlation and then pending that result, a ...
Rachel's user avatar
  • 13
6 votes
3 answers
428 views

Quantitatively, how powerful is Shapiro-Wilk or other distribution-fit tests for small sample sizes?

I'm looking for an analysis (I assume a book or website, but feel free to put it all in comments here) that provides an in-depth discussion of the power/accuracy of normality assessments such as ...
Porter's user avatar
  • 161
0 votes
0 answers
299 views

Discrete value - Normal distribution [duplicate]

I have a data with discrete values and need to find if it is normally distributed. I plotted the graph and it looks normal and then I performed shapiro wilk test where the result were W = 0.78773, p-...
user310287's user avatar
3 votes
1 answer
1k views

Shapiro-Wilk test on transformed data

I used RStudio to perform Shapiro-Wilk test for normality. In the following data set calling it $D$, I have performed Shapiro-Wilk test for normality with p-value=0.7698. 34.681 26.291 33.280 36.169 ...
user45765's user avatar
  • 1,365
0 votes
0 answers
322 views

p-value for Shapiro-Wilk is high but data doesn't appear normal

I'm a beginner at stats and I'm trying to understand p-values for paired t-test and Shapiro-Wilks using the JASP Moon and Aggression data set (hope the screenshot resolution is ok - click on the image ...
Chris Snow's user avatar
0 votes
1 answer
105 views

What test is appropriate for normality?

I would like to check the normality of nearly 400 individuals. I tried many test like Shapiro test, etc...but, not much expected results. So, Could you please tell me what is the appropriate test for ...
r.vijay r.vijay's user avatar
3 votes
0 answers
141 views

Why is the Shapiro-Wilk $W$ statistic defined the way it is?

In the original paper (section 2.2.), we can see that derivation of the $W$ statistic goes along these lines: Let let $m_i$ be the expected value of the $i$-th order statistic of a random sample of $...
Milos's user avatar
  • 1,069
6 votes
2 answers
3k views

Limitations of Shapiro test

Are there any possible limitations to the Shapiro test or the shapiro.test() function? After removing outliers in a data set it seem that using the ...
lambdaepsilon's user avatar
1 vote
1 answer
533 views

Compare Z-scores (weight) before / after with a T-test?

I'd like to ask you if it's possible to perform a T test to calculate Z-scores ( weight of persons ) https://www.cdc.gov/growthcharts/clinical_charts.htm with a t test in the same group ( paired t ...
HappyMan's user avatar
0 votes
1 answer
50 views

Reasoning for tranforming linear model to log-level

I have a multiple linear regression model and found that my error terms are not normally distributed. When looking at the histogram of the dependent variable, it looks like below. I am not sure how ...
Schoguan's user avatar
1 vote
1 answer
1k views

Understanding the Shapiro-Wilk normality test

I am trying to learn how to check if the distribution of values in a set is normal or not. Making a histogram and a boxplot shows: Performing the hapiro-Wilk normality test I get: ...
SomeDutchGuy's user avatar
2 votes
1 answer
67 views

My normality plot and a Shapiro-Wilk test say different things

I have an LMER, and I want to check for normality; my plots show this: However, my Shapiro-Wilk test shows this: ...
user275189's user avatar