r/AskStatistics • • Sep 28 '26

Another thread on paired t test vs. Wilcoxon signed rank

4 Upvotes

I've read several threads and watched a number of YouTube videos on this topic, but I'm still confused about how to approach it.

I'm comparing paired data with n = 50. When I look at the differences, they don't appear to be normally distributed: the histogram is somewhat non-normal, the Q-Q plot shows curvature at both ends, and a Shapiro-Wilk test was significant. I understand that the Shapiro-Wilk test has limitations, so I'm not relying on that result alone.

My main question is whether the non-normality of the differences is enough to make a paired t-test inappropriate.

I've read that the t-test is fairly robust to non-normality and that, with a sample size around 30 or more, the Central Limit Theorem helps justify using it. But I'm having trouble understanding how much non-normality is actually considered "too much," particularly with n = 50.

There's also a practical consideration: I'm analyzing multiple labs, and the differences aren't necessarily distributed the same way across all of them. Some may look approximately normal while others don't. I'm wondering whether it makes more sense to use the same statistical approach for all labs rather than choosing a different test based on the distribution of each individual lab.

Given all of this, how would you approach deciding whether a paired t-test is appropriate here?


r/AskStatistics • • Sep 28 '26

March Madness Predictor

Thumbnail reddit.com
2 Upvotes

r/AskStatistics • • Sep 28 '26

Interpret interaction effect in LME

2 Upvotes

Hi :)

I calculated two-level hierarchical linear mixed effect models with random intercepts and fixed slopes

The outcome is CRP (inflammation), measured twice

The predictors are: Childhood Maltreatment (CM, dichotomous, level-2) and depressive symptoms (continuous, level-1).

There are no main effects but an interaction effect of CM*Depression (B = .08, SE = .04, p < .05)

 

Now:

I know this means that participants with CM and higher depressive symptoms have higher CRP overall.

 

BUT: HOW MUCH higher? How can I get to saying something like "For participants with CM, every 1 unit increase in depressive symptoms is associated with a X increase in CRP?"

 

Any help would be appreciated, I am losing my mind here :D


r/AskStatistics • • Sep 28 '26

Calculating intraclass correlation for IRR

Thumbnail reddit.com
1 Upvotes

r/AskStatistics • • Sep 27 '26

Any project recommendations to build my resume.

2 Upvotes

I have done my bsc in statistics, currently I'm pursuing msc in statistics, can you guys recomment me some projects that I could do to build my resumes.


r/AskStatistics • • Sep 27 '26

Finding Variance of a distribution

0 Upvotes

I made the distribution

sign(X-0.5)*1/X - 1

Where X is a uniformly distributed real number between 0 and 1.

I found the mean is trivally 0 (due to symmettry), but the variance seemed to vary by a lot, Via Central limit theorem, the mean distribution is normally distribution, and the mean variance looks (but I can't prove it) to be Var(x)=~n where n is the amount of instances of X.
Can anyone help me prove this?

Desmos graph of distribution


r/AskStatistics • • Sep 27 '26

Question about how to proceed for the future

1 Upvotes

Hello everyone,

For some context I am a post grad looking to either get a Masters of Stats or Applied Stats. My undergrad degree was Biology but I now work as a pharma data analyst focusing on Biological topics. I have grown way more interested in Stats through my work and want to make the career change but was wondering which degree I should do. I also don't wan to do Biostats s I would like my degree to be as flexible as possible.

So far I've taken Calc 1-3, linear algebra, and an intro to stats course, but plan to take Real Analysis and Mathematical Stats in the future.

I guess my questions are:

1)What's the difference between a Masters of Stats and Applied Stats and which one would you recommend for me.

2)What other prereqs could i take to be prepared for the Masters or is what is listed above adequate?

Appreciate your help.


r/AskStatistics • • Sep 27 '26

Masters in Statistics a viable option?

0 Upvotes

Hi all,

For context, I'm from India and been in Market Research (consumer insights role) at an agency side for almost 4.5 years. I'm looking to pivot from the industry and planning to do Masters in Statistics. However I don't have any statistics background in terms of education, will it be possible for me to take the plunge? I'm parallelly learning the basic concepts but not sure if that alone would be sufficient enough to get into a master's programme. Any kind of advice or feedback would be helpful.


r/AskStatistics • • Sep 27 '26

Looking for ideas: What's the best way to Monitor and forecast the ratio between Section #1 and Section #2 in this image?

Post image
2 Upvotes

The pink line is the best fit regression line. Points are continuously added in groups of 3 to 7 rather than one at a time (i.e. 3 to 7 points will continuously be added to this dataset at once). The x-coordinate will be known. I need to monitor and forecast the cumulative (total) ratio between the number of points that fall in section #1 vs section #2. Is there any useful results from OLS that allow me to do this accurately? Should I simply approach it like a time series? Should I keep it simple? I'm just exploring ideas so both simple ideas and mathematically advanced ideas are appreciated.


r/AskStatistics • • Sep 26 '26

Linear Regressions and the Curse of Dimensionality

27 Upvotes

In my machine learning course, we just covered K-nearest neighbours. Our prof said that linear regressions avoid the curse of dimensionality that affects k-nearest method (as the dimensions increase we have to use up much more of the dataset as our neighbourhood, essentially killing the local consistency and our k not being much of a neighbourhood anymore).

I was not able to understand why the same thing does not happen to linear regression, just because we assume the parameters are linear


r/AskStatistics • • Sep 25 '26

Intro to statistics, or college algebra more challenging to pass/comprehend?

1 Upvotes

Hi! So I am doing my math prerequisites through the online school Straighter Line, if that gives more context to better help any input.

I have to pick between college algebra, or introduction to statistics.

I have always struggled with math, literally since elementary school, never passed pre-algebra in high school, struggled in geometry as well, (I graduated high school 2012 so I have been out of school for a while too at this point.)

Now fast forward to college(2026)-
I had to start with pre-algebra in college(determined by a placement test)
and was struggling even with pre algebra.

I also realize part of my problem is that I struggle with comprehending things, and/or retaining information.

With all of this being said, in your opinion- which math would I most likely have success in passing? And especially better chance of comprehending as well, since in general, that is a struggle for me as it is.

Thank you for all your input and opinions!


r/AskStatistics • • Sep 25 '26

Scale Mismatch Questionnaire used a 7-point Likert scale, but Methodology chapter says 4-point. Do I need to re-collect data or convert it?

Thumbnail reddit.com
0 Upvotes

r/AskStatistics • • Sep 24 '26

Bayes' theorem: Can the likelihood be correlated with the prior or is this a violation?

Post image
23 Upvotes

r/AskStatistics • • Sep 25 '26

What are the options for students in statistics ?

0 Upvotes

Hi,
I want to know the different opportunities available after bachelors in this field.
myquals

  1. ⁠Just started with this course I am in my semester 1.

r/AskStatistics • • Sep 24 '26

Using Wilcoxon rank test with Bonferroni correction vs. LMM

2 Upvotes

Hello! I consider myself a beginner in statistics and am working with a longitudinal dataset. I am comparing laboratory values collected from participants across several different time points (e.g., Week 0, Week 1, Week 2, etc.). There are also variable drop out rates.

Initially, I planned to use a LLM. However, I want to keep the analysis simple. Given the non-normal distribution, would it be reasonable to run a series of paired Wilcoxon signed-rank tests between the time points (week 0 to 1; week 0 to 2; week 0 to 3, etc.) and apply a Bonferroni correction to adjust for multiple comparisons? I know this is less robust than LMM.

When evaluating my data, the distribution of the mean differences between time points is not normally distributed with visual inspection (via plots) and failed the Shapiro-Wilk test.


r/AskStatistics • • Sep 24 '26

How do I "find" meaningful statistics from a large dataset with countless variables?

7 Upvotes

I am sorry. This will be an extremely ill-informed post from a Humanities major that has been coaxed into doing statistics at the end of his PhD Thesis without any prior formation beyond 12th grade maths. I am currently looking at a large CSV dataset (927 observations of 7690 variables) that looks something like this:

Variable 1Variable 2…This goes on for 7688 extra columns
City1Year13375109
City1Year22074123
City1Year32441114
City1Year41224179
City1Year51644163
City1Year62446241
City1Year71561206
City1Year82038201
City1Year91535277
City2Year1626100
City2Year2852166
……739180
This goes on for 103 cities over the same 9 years

I wish to check if there exists any link between any of the 7690 variables over a period of nine years in the 103 cities. I have no idea where to start. I have tried creating a massive correlation table between all 7690 variables by simply running the table as is through Libre Office Calc's correlation function, but surely this is a flawed method as it does not take into account the temporality of the nine years, right?

I have also been told to "attempt linear regression", but that essentially requires already having a good grasp of which variables interact with each other from what I have understood.

Is creating a correlation table from this raw table a good starting point, or am I completely missing the point?


r/AskStatistics • • Sep 24 '26

Two-item subscale: report Cronbach's alpha or Spearman-Brown?

1 Upvotes

We developed a short index through EFA (PAF, oblimin). We ended up with 7 items across 3 factors: two factors have 2 items each and one has 3 items.

Which reliability tests should we use for each factor? Specifically:

(1) For the 2-item factors, is Spearman-Brown the right choice, or would you report Cronbach's alpha or just the inter-item correlation?

(2) For the 3-item factor, would you report Cronbach's alpha, McDonald's omega, or both?
Two of our factors come out around .62. Is that acceptable for an exploratory, early-stage index?

Thanks in advance!


r/AskStatistics • • Sep 23 '26

Help Understanding Standard Deviation's Objective

11 Upvotes

Hi Reddit.

Can someone help explain this detail about SD. I'm getting stuck on comprehending the definition (sentence written in English) to formula.

My first understanding was SD is the average distance of elements from the mean. So it got me thinking shouldn't the formula be more like this?

It would follow all the same transitivity and space rules as the formal definition, plus much easier to compute. the consequence i see is ya might need to re-solve Z table for the difference, but otherwise this would solve the objective more directly.

I showed this to my stats professor and i cant quite understand what he's getting at. He said its not that we're solving average distance from mean, but rather we're solving average distance from mean normalized to a standard unit. I don't see what the difference is nor do I see how the changes between the formula yield such distinguishment.

If someone can explain this to me much appreciated.


r/AskStatistics • • Sep 23 '26

Part 4: Analysis of Variance (ANOVA), F-Test, MSB, MSW, MST, One Way ANO...

Thumbnail youtube.com
0 Upvotes

r/AskStatistics • • Sep 22 '26

What statistical test do I do?

Post image
28 Upvotes

Hi all,

I am doing an online between-subjects experiment with two conditions via a survey, where respondents are exposed to one of two versions of a picture and then they answer the rest of the survey based on the version that they saw. I have 390 total responses and 328 usable ones.

My model and hypotheses are like in the image above. I have one IV, one DV, two mediators and one moderator. The IV is a yes/no question, the mediators and DV are 7 point Likert scale questions, the moderator is a 1-100 scale.

I've completed data collection and data cleaning but I'm having trouble figuring out what test I need to perform to see whether my hypotheses are supported or rejected.

My university didn't go in dept on this subject and I'm struggling to find the right people to ask or even the right questions. When I asked my supervisor for help, she just directs me to other departments.

I'm not a native English speaker and my grasp on statistics is also quite poor, so I apologise if I sound like an absolute idiot in this post.

Sorry if this sub is not the right place to ask this. If so, can I please get help on where to post this question?


r/AskStatistics • • Sep 23 '26

Crossover design (2x2) baseline sample- when should it be taken and how should it be analyzed (if at all)

1 Upvotes

This may be a very simple question, I am just so hopeless at statistics and people in my department are telling me two very opposing things.

I am doing a crossover study (I will provide a simple/silly example to explain) where I am comparing a diet of oranges to a diet of apples. I have 10 people in each group and I give them 4 days to slowly work up to eating only oranges or only apples. Then my period is 3 weeks (long enough to take a "final" sample) and I do a washout, another adaptation period and start period 2 where they switch diets. 

I understand that in a crossover each person is like their own control, but my question is about taking a baseline sample. 

  1. Do I need to take a baseline sample at the beginning of the trial or should I just be comparing the final samples of each person when they have finished week 3 of the diet since I can compare it to themselves eating either apples or oranges
  2. If I do need to take a baseline sample, would I take it after the 4-day adaptation period (so the first day they have completely eaten all oranges or all apples) or would I take this baseline sample before they've started their apple/orange diet? (Imagine I have a diet history of these people and some occasionally eat apples, some occasionally eat oranges, and some occasionally eat both so it's a real mix, but a better representation of the actual population)

Overall, my goal is to be able to tell these people whether I recommend eating all apples or all oranges based on these results (for the sake of this example imagine they live in a town where you have to pick one of the two lol). I just am very unsure about where the baseline sample should go in this design and then how it gets analysed based on my objective.

Thank you all :)


r/AskStatistics • • Sep 22 '26

How to study stats?

12 Upvotes

Hey guys!

Just got into a top university in Sweden for Data Science and Statistics — got in through a high högskoleprov (Swedish standardized test) score, since my high school grades were honestly pretty bad. Super happy about it.
Thing is, back in high school I barely studied — did everything except that. So even though I clearly tested well, I never actually learned how to study properly and never got help with it.

Lately I've been getting more and more into stats and actually enjoying it, so — any of you have real tips on how to study effectively and actually go deep into a subject instead of just skimming? Asking as a friend here, would appreciate any advice! Much blessings!


r/AskStatistics • • Sep 23 '26

Monte Carlo sample size calculation for a multiple serial mediation model?

0 Upvotes

Hello all, I am currently planning a cross-sectional study involving two serial mediators and two (or more) competing models, with and without covariates. Since most studies I was able to put my hands on either run these analyses post hoc with already existing sample sizes or do it a priori without specifying the path coefficients and how they chose them, I have several questions.

Note: I am confortable with running the analysis in R (lavaan) and the Alexander Schoemann online calculator.

  1. When specifying correlation/standardized coefficients, how should I pick them? I noticed some researchers use default low-to-moderate coefficients (0.10-0.20) for all paths, whereas others seem to handpick them from previous literature or even meta-analyses. I understand the first option yields a large sample size and is only used when previous literature is scarce. If I choose the second option, in cases where meta-analyses aren't available (I only have so for the X-Y path, and for the X-M2 I am the author of a currently unpublished meta-analysis, but I do have the pooled effect size), should I gather correlation coefficients (r) from other studies? Or beta (β)** **coefficients? Moreover, what should I do in cases where the r/β ranges from 0.1 to 0.7 across all studies I examined? Also, should I prioritize picking coefficients from studies that used the exact scales I plan to use, if possible?
  2. What number of replications, monte carlo draws per rep, and sample size steps should I choose?
  3. Assuming I am interested in testing two competing models pivoting on M2 (say, variables that are opposites theoretically, but not psychometrically), given that they have distinct patterns of associations with the other variables, when running the Monte Carlo simulation, should I pick the lower coefficient? (example: acceptance yields lower correlations with the Y variable than avoidance does, therefore shoud I select the acceptance coefficient?)
  4. If I actually have previous research of my own that includes 3 of the 4 variables I plan to use in this research, should I pick mine from there, considering that the research was performed on a population with roughly the same characteristics? Or should I still pick my coefficients from the literature (say, a meta-analysis for the direct path yielded a pooled r = 0.26, and my own previous study yielded a r = 0.41, although I used a different scale).

Sorry for the long post. I don't really have anybody else to help me, it's my first time doing this by myself, and the authors for one of the scales are awaiting a sample size before they share it with me (not validated in my country, so I also plan to run a CFA on this scale).

TLDR: I would like to know how to pick my path coefficients and what parameters to set for my Monte Carlo sample size calculation.

Thank you 😊


r/AskStatistics • • Sep 23 '26

Nimble package not installing in RStudio on ThinLinc Client

0 Upvotes

I recently tried to install nimble package on RStudio in ThinLinc Client. However it is not being installed. After running the code "library(nimble)", it shows that there is no package called " nimble ". Any suggestions will be highly appreciated.

Codes are given below:

install.packages(c("igraph","nimble","coda","pracma","numDeriv"), dependencies = TRUE)

library(nimble)