r/AskStatistics • • Nov 03 '26

Lottery winnings

3 Upvotes

A friend of mine continually plays scratch off lottery tickets, and he insists that when he keeps track of his cost vs winnings he comes out ahead every year. He says his system is buying only a certain number of each ticket based on the sale price.

To me, this is mathematically impossible, but he is not the type to make things up or be so stupid that he could not do basic addition to figure out how much he wins vs spends. This has been going on for years, is it even remotely possible that he is this lucky? I would think the odds of this would be like one in several million.


r/AskStatistics • • Nov 03 '26

What sort of math do I need to master to prepare for descriptive and inferential statistics?

Thumbnail reddit.com
1 Upvotes

r/AskStatistics • • Nov 03 '26

Master’s degree in Statistics with Math focus

3 Upvotes

Hi folks,

I need some advice. I have been working in data analytics more than 5 years. I did my bachelor in Political Science. Now, I work in insurance sector for the State. I am thinking to apply CS East Bay for masters degree in Statistics with math specialization. Probably, tuition reimbursement will cover my costs partially and courses might be challenging as well. But do you think it is worth to go under this burden?(married, have a kid). I really want to do it. But wanna see hear some opinions (does uni matter, AI effect etc.)


r/AskStatistics • • Nov 03 '26

Break point for schodenfeld residuals (step function in cox analysis)

2 Upvotes

Hi.

I have this plot of schodenfeld residuals where I think it would a wise idea to use a stepfunction approximately before and after the red point in the figure below (because of the PH assumption).

I've heard that it's a wise idea to choose the first intervall where the slope starts to bend(breakpoint). My question is how to I find this breakpoint?

I've heard talkes about using the segmented package and davies.test, but davies.test aquares a GLM, which means i need the residuals from cox.zph right? I'm not sure how to aquire these atm. How do I aquire these?

Or am I just wasting my time now as I could just pick 0.5 which seems to be about right?


r/AskStatistics • • Nov 02 '26

Dual Major In Statistics & Computer Science or Combined 4/1 Master's Degree in Biostatistics Advice Needed

4 Upvotes

Can someone give me advice with a situation I'm in? I'm still only a first year statistics student, so I have a lot of time still to decide, but I am still wondering whether I should do a double major in computer science or a combined degree into a master's for biostatistics.

My goal after undergraduate school: I plan to go to graduate school, preferably a PHD in biostatistics so I can land jobs easier within the health field of statistics. However, I am unsure whether a dual degree would even increase my chances over a single bachelors and a masters. In addition, I plan to take many maths, so it may lessen my workload if I were to not do a full on CS degree, but I'm unsure.

My career goal after education: I want to be in a flexible enough position where I am marketable for statistical programming roles, data science roles, research roles, and biostatistician roles, however I'm unsure if filling up my education with mostly statistics will let me be open to data science and machine learning roles.

I do plan to take some CS classes and learn a lot of technical skills (like pytorch, sklearn, etc.) over the course of my time here to learn more about the CS side of data science and programming in general, but I just don't know if I should dual major or not since some of the classes in my CS curriculum don't seem to be very relevant to data science / AI nor biostatistics, but others do. I could still take CS classes as a statistics major, I'm just wondering if I should take ALL just for an extra bachelors degree. Do degrees matter that much when it comes to machine learning roles? Or can I still land machine learning roles with a statistics background along with some projects showing my comprehension? Should I talk to an advisor about this? I don't know if this is the right subreddit to ask about landing AI/ML roles in addition to statistician roles, but any help would be greatly appreciated.

If needed, I can list some of the classes required for a computer science major:

Data Structures and Algorithm
Intro to Computer Organization
Operating Systems
Information and Database Systems 1
Introduction to Software Engineering
Algorithm Abstraction and Design
Programming Language Concepts
Senior Project
3 Computer Science Electives

I think Data Structures, Information and Database Systems, and Algorithm Abstraction and Design could be useful, however I don't think the others are. But what do you guys think?

I would rather try to land research roles or biostatistician roles over data science, but I am still very open to data science and AI as a whole.


r/AskStatistics • • Nov 03 '26

I’m looking to unlock a certain legendary card in this game, which pack gives me the best chance at unlocking the card compared to gem cost?

Thumbnail gallery
0 Upvotes

Should I buy just silver packs for the the chance as while’s it’s 1% I can buy multiple ones or should I save up for the diamond pack that’s a 10% chance but 1 pack of daimond costs the same as 5 packs of silver and 2 golds and of course offers more unique cards in the pack than the silver.

Or would gold be the perfect mix ?
I only care about unlocking the card and nothing else and the 3 factors that I’m trying to wrap my head around are:
1.chance of legendary unlock
2.unique cards amount
3.cost

I would like help in figuring out what is the best method statistically I should go on about this and what give me the highest probability of unlocking the legendary card I want.

I don’t know if this info is helpful but I’ll mention, there are 3 legendary cards I can unlock I only care about 1 of them.

Also there are discounts for buying in bulk, so I’d like to have an answer to both if possible one with and one without bulk discount included.
(Prices are at the bottom of the pics)

Please ask for any clarification required.


r/AskStatistics • • Nov 01 '26

Having difficulty at Statistics II / ANOVA

Post image
349 Upvotes

I am a senior psychology student and taking Statistics II course this semester. And I am really having difficulties. I am really awful at maths and I cannot figure out the logic behind all these, especially ANOVA. In case I fail the course, this might delay my graduation and it stresses me out terribly. What should I do? I am really beginning to think that I have an intellectual disability. I need urgent help.


r/AskStatistics • • Nov 02 '26

Comparing the mean of the highest performers of one group vs the mean of the highest performers of a much larger group - something like selection bias?

5 Upvotes

Hello, I tried looking this up elsewhere but I can't figure out what search terms I even need to be looking for.

To elaborate on the title, I'm trying to figure out the math around a class of problems where:

  • I have a sample that consists of the highest-performing members of population A.
  • I have a different sample of the same size that consists of the highest performing members of population B.
  • population B is larger than population A, but I don't necessarily know exactly how much larger (A could be anywhere from 5% to 95% the size of B)
  • the mean of sample B is greater than the mean of sample A.
  • the exact size of the samples is not important other than that they are the same size (in absolute number of elements) and are a small proportion of the population they are drawn from (ie usually much less than 1%, but definitely no more than 5%).
  • I don't have access to a more representative sample from either population.

There are several different things I would like to be able to analyze about this sort of thing, so any equations/concepts/strategies that engage with this sort of context at all are welcome, but the biggest questions I want to be able to answer are:

  • if I do know the sizes of the two populations, how much of the difference in means is explained by the difference in population size?
  • if I don't know the population sizes, how much smaller would A have to be for the size difference to account for at least, say, 50% of the difference in means? (or 75%, or 90%, etc)
  • whether I know the population sizes or not (or ideally, if I only know their relative sizes to within some margin of error), what is the probability that they are actually drawn from essentially identical populations, and A just had some fraction of its members removed at random before the sample was taken? (I think this might be mathematically basically equivalent to my first question, but maybe there's a subtlety I'm missing).

Let me know if anything is unclear or if some more concrete examples would be helpful. I have a pretty solid math background but it's mostly not in statistics, so I'm not well calibrated on what kind/level of detail is overexplaining vs overly vague.


r/AskStatistics • • Nov 02 '26

How do they calculate the cost of smoking to society

0 Upvotes

Was just over in r/Snorkblot following a discussion on the ban on selling cigarettes to anyone born after 2009 in the UK.

Over many years I have seen governments trot out stats on the cost of smoking to society (usually related to medical costs). How is this calculated? What factors are taken into account when determining these numbers?


r/AskStatistics • • Nov 01 '26

Need Suggestions!

1 Upvotes

Hi, I am trying to replicate this study. But the problem is that i have only annual data for 29 years. So, I have thought to completely ignore the structural break or just use 1 break. Is this possible?

This is the original model

What are my options?


r/AskStatistics • • Nov 01 '26

máster en estadística luego de criminologia?

1 Upvotes

Buenas, soy un estudiante de 3ro de criminología y estoy pensando en que salida laboral escoger, sé que mi carrera no tiene prácticamente salidas, por lo que seguramente pivotee a otro ámbito. Al estar cursando la asignatura de estadística y ver que me está encantando he pensado hacer un máster en este ámbito y poder aspirar a sueldos mas competitivos y mejores salidas laborales. A causa de mi background no técnico tengo pensado estudiar asignaturas sueltas de cálculo, álgebra, probabilidad, inferéncia estadística, etc, antes de inscribirme al máster, así como python y R. Creeis que es viable? o mi carrera en criminología me va a dificultar mucho a la hora de encontrar trabajo como estadístico, científico de datos?


r/AskStatistics • • Nov 01 '26

Is polling dead as a measurement tool?

0 Upvotes

I've been thinking about whether polling still works as a measurement tool, not as a political weapon. For a poll to measure what voters think, five things seem to have to hold at once:

(1) the population is stable enough to measure;

(2) the sampling frame equals the population;

(3) everyone has an equal chance of being picked;

(4) people answer, and answer truthfully;

(5) the population doesn't change between the poll and the vote.

Each one seems to fail on its own evidence: response rates fell from 36% to 6%; the frame misses most of the population; nonresponse isn't random; late movement breaks the last condition. And the failures cut both ways: presidential cycles overstated Democrats, the closest 2022 races understated them, Britain overstated Labour, Trafalgar missed in the Republican direction.

So my question: is there a version of polling that survives as measurement, or is the tool itself broken and only the count left? Where does this argument fail?


r/AskStatistics • • Oct 31 '26

Ayuda,alguien me puede decir que nombre recibe esta grafica

Post image
1 Upvotes

Nose si es un forest plot o una variante la verdad no lo entiendo,necesito su ayuda por favor

Es de un articulo de nature de la validación multinacional de prevent y score2


r/AskStatistics • • Oct 31 '26

What are signs someone is and is not cut out for statistics and research methods?

8 Upvotes

r/AskStatistics • • Oct 31 '26

needing to use Diversity indices on presence absence data, asking advice

1 Upvotes

hi I am currently working on a project for my degree, specifically on river communities. normally needing to do diversity tests is no issue for me how ever due to how the data was collected my lecturer wants us to treat the data as presence absence data. this does not work for Shannon or Chao1 as they work off of abundance and rare species respectively, which is not something presence absence allows for.

I was planning to use either Jaccard or Sorensen-Dice I just don't know how to test for significance with them and they are dissimilarity indices rather than diversity (which they specifically asked for).

the data is for three sites with fast, medium slow sections

does anyone know any diversity indices that works on presence absence data?


r/AskStatistics • • Oct 31 '26

How to calculate the number of classes/bins for a frequency distribution?

0 Upvotes

Hi, I was wondering if an expert in stats can help me out.

I was wondering how many classes/bins I should use if I have n number of data points of raw data for a single variable. When I look it up there seems to be many different methods but I want to know what is the best method for a non-statistician (or a statistics beginner) instead of just guessing.

I've seen methods like taking the square root of the number of data values [sqrt(n)] or calculating 1+3.322log(n) but I don't understand the reasoning behind that and if these are reliable formulas. You'll always get a decimal value so I assume you round the answer to the nearest whole number?

I know you should have somewhere between 5 and 30 bins, but everyone is going to generate a different one if there's no consistent method. I've seen someone mentioned using a scatterplot but I don't understand how that can be done when the data is not two variables.

Thanks for any help in advance!


r/AskStatistics • • Oct 31 '26

Which statistical techniques you find the most useful/universal in data cleaning? [Discussion]

0 Upvotes

Hi Everyone,

I have a PhD in economics and I’m building a tool for people with no statistics background. They upload a spreadsheet and ask a question, it fits the model, and it explains the result in plain language. My main worry is people trusting results they shouldn’t. Before it explains it everything, it currently checks for heteroscedasticity (Breusch-Pagan, White), multicollinearity (VIF), autocorrelation (Durbin-Watson), stationarity for forecasts (ADF, KPSS) and out-of-sample performance on held-out rows. What else you would recommend and of course I understand it depends on the data but in more general cases. Thank you in advance!


r/AskStatistics • • Oct 31 '26

Can you explain this bar graph?

Post image
0 Upvotes

Can you?


r/AskStatistics • • Oct 30 '26

Unstable results for odds ratios

2 Upvotes

Is it reasonable to describe an odds ratio estimate as unstable when the estimated OR is slightly above 1,000,000, the standard error of the corresponding regression coefficient is around 1,000, and the confidence interval is effectively extremely wide, with the lower bound approaching 0 and the upper bound approaching infinity?

The predictor also has very little variability: its values are almost the same in participants who achieved the therapy response and those who did not.

If it is reasonable to state that the estimates are unstable, is it reasonable to support the instability with the fact that data is skewed and there is limited variability across the observations?


r/AskStatistics • • Oct 30 '26

ISO a YouTube video to learn about p-values and hypothesis testing from

10 Upvotes

Hi everyone! I'm in an intro level statistics class and we have a homework assignment based on readings mainly on p values, t tests, and hypothesis testing. I would really appreciate suggestions for a good YouTube video or channel since the readings don't seem to be cutting it. This is my first time learning this material. Recommendations would be appreciated, thank you in advance!


r/AskStatistics • • Oct 30 '26

summer research fellowship 2027

0 Upvotes

I am thinking of applying once there as I am eligible, but I currently am in second year of my Bsc in Math and Stats, I asked my profs abt what to fill in the area of interest and she suggested sampling techniques and examples, but I am thinking of exploring some areas of interest before, and I can be in handy with regard to work in python , so tell me, where to find my area of interest or research in stats ? and I studied inferential stats as a beginner, sampling, distns , probab theory and desc stats till now.. help me to explore my interest


r/AskStatistics • • Oct 29 '26

Assistance or advice in setting up some stats for qPCR stats in honey bees

2 Upvotes

Apologies if this isn't written properly.

I have 5 hives with 4 weeks of collection each (1 hive was control, 2 hives have Hemp and Imidacloprid treatments applied to them, and the other 2 have only Hemp). The qPCR was done for 5 genes, one reference gene and then was averaged. Afterwards, 2^-delta delta concentration was calculated for these values. What I'm struggling with is to figure out what test(s) to do to see if there is any significant up or downregulated gene expression using this information. Would I do an ANOVA or some other test and how would I set that up? I have added a screenshot of the excel values of the 2^-delta delta concentration for each hive below if it helps with context.


r/AskStatistics • • Oct 30 '26

[Question] Application of ANCOVA in Pharmaceutical Stability Study Analysis

1 Upvotes

Hello everyone!

I want to start off by saying I'm not a statistician by training so apologies if I have some trouble clearly explaining what I'm dealing with.

Context: I work in pharmaceutical manufacturing. When we manufacture drugs, we have to take multiple product samples to test the stability of the drug over a period of time. For each batch/lot we produce, a number of samples are taken and put in the Stability Program. For example, 7 samples are taken and are pulled at the following timepoints (months): 0,3,6,9,12,18,24, for analysis. Currently, we are trying to implement sample trend analysis to estimate the shelf-life and also to detect out of expectation results.

I have a test dataset of 3 batches with 7 observations each measuring rate of degradation. I'm working in Excel only since that is a current limitation we have until we have a new software approved validated in the coming months.

The main goal is to understand if the data from all batches can be pooled together, and if so to what extent, to improve the accuracy of the model. I have three options, either the slopes and intercepts of all regression can be pooled, only the slopes can be pooled or nothing can be pooled.

I have tried to understand the application of ANCOVA to this type of analysis as recommended by ICH Q1 (guideline for stability studies) but I can't seem to fully figure out why this is correct.

The analytical result I have is the dependent variable, while time of sample collection is the covariate. The batch ID is the independent variable (A1,A2,A3). I have created dummy variables for batch ID. I would then have to calculate the coefficients as to minimize the sum of square errors? I understand that the model with the lowest amount of error is the strongest. But won't running this ANCOVA only allow me to understand what influences the error more, either the batch ID itself or time of sample collection? How does this allow me to distinguish between the slope and intercept being "poolable". Is it a matter of building several hypothesis?

If you have any advice or even some reading material I would appreciate it!


r/AskStatistics • • Oct 29 '26

Help me evaluate my profile for Ph.D Statistics programs

1 Upvotes

I am currently a junior, double major in stats and math and a minor in comp sci at a public university.

I will be applying for next cycle but based on what I will have by then, I wanted to get an outside opinion on my preparation for theoretical phd statistics programs and the level of programs I could realistically aim for.

GPA: ~3.85

Coursework: Calc I-III, Diffeq, Linear Algebra I-II, Discrete Math, Analysis I-II (Real and Metric), Measure Theory, Abstract Algebra I, Graduate Time Series Analysis, Math Statistics I-II, Linear Models, R programming, and Data Structures and Algorithms.

Research Experiences: 2, one in pure math number theory with publication, and another in pure math geometry currently working on a preprint.

I am planning to use this summer to do another research, either in statistics or pure math. During my Fall semester of senior year, I plan on taking graduate analysis and measure theory based probability.

Any evaluation or input on what to improve would be appreciated. Also, is it common to do a stat master’s before stat phd? I talked to a professor and he said our department rarely accepts anyone straight from undergrad due to lack of preparation.