News for hackers. Stuff that matters.
Re:How large should your sample size be? by firesteelrain on Saturday May 31, 2025 @02:45AM (#44142349)
We know how to calculate the necessary sample size because the Central Limit Theorem tells us that the sampling distribution of the mean (or proportion) becomes approximately normal as the sample size grows. This justifies using Z-scores from the normal distribution to derive confidence intervals - and from there, solve for the sample size needed to achieve a desired margin of error and confidence level.

Article used a Python library without really understanding the reason or science behind the result. Knowing this can help when you read an article or watch a news report where they quote a study that says “a study of 300 people…” well why 300 people? You can reasonably assume that the researchers used the CLT.

Re:How large should your sample size be? by Ntrails on Saturday May 31, 2025 @05:43AM (#44143131)
The real world constraints of time and money are non trivially involved in sample size decisions. CLT may be invoked but I do not give the benefit of the doubt to studies being announced at this point
Re:How large should your sample size be? by firesteelrain on Saturday May 31, 2025 @08:29AM (#44143820)
You are right that time, cost, and feasibility often drive sample size decisions more than statistical ideals. My point was just that when researchers cite a specific number (like 300), there’s often a statistical basis tied to confidence levels and margin of error. Skepticism is healthy since not all studies follow best practices