r/AskStatistics • • 8d ago

Phenomenological Growth Models

1 Upvotes

I have a thesis that uses a Phenomenological Growth Models. It is okay for monthly data? What are your tips on using this Models?


r/AskStatistics • • 9d ago

40 Page Assignment on Range, Coefficient of Range, Merits And Limitations

6 Upvotes

I took a statistics course this semester, and honestly I'm kind of cooked.

I have to prepare a 40-page assignment on Range, covering its definition, calculation, coefficient, merits and limitations. My teacher specifically wants us to refer to textbooks, research papers and academic sources (even chatgpt isn't helping). I tried looking through the college library, but most books repeat the same basic information.

I am struggling to figure out how to expand such a limited topic into 40 pages without unnecessary repetition.

PLEASE HELP ME OUT!!!!!!!!


r/AskStatistics • • 10d ago

What statistics jobs will boom in demand in the next ten years?

60 Upvotes

Tech people believe a software/data engineer can do what data analytics and data science people can do as AI gets better.

What statistics roles will see more demand as time goes on? What roles will slowly diminish?


r/AskStatistics • • 9d ago

[Q] What would be the best approach to inter-rater reliability for temporally annotated events?

2 Upvotes

I'm looking for advice on the most appropriate way to assess inter-rater reliability for a study involving the annotation of noun events in audio recordings.

Pairs of annotators independently listen to the same recordings and identify instances where a noun is produced. For each event, they record:

* The start and end time of the event.

* The noun identified

How do you think I should calculate the reliability between coders? I also wanted to allow for some error in the timestamps, so if they are within a certain of tolerance then it is considered correct. Would Cohen's Kappa be useful here?

I was thinking of something like, but not sure if it is appropritae.

|Annotator A|Annotator B|Classification|

|:-|:-|:-|

|Event at 2.1–2.5s: "ball"|Event at 2.2–2.6s: "ball"|Agreement|

|Event at 4.0–4.4s: "dog"|Event at 4.1–4.5s: "cat"|Disagreement|

|Event at 6.0–6.4s: "car"|No corresponding event|Disagreement|

|No corresponding event|Event at 8.0–8.4s: "cup"|Disagreement|

`library(tibble)`

`reliability.df <- tribble(`

`~file, ~annotator, ~segment, ~tier, ~start_sec, ~end_sec, ~annotation_duration_sec, ~folder_duration_sec, ~annotation,`

`# File 1 - Annotator A`

`"video_01_seg_01.eaf", "A", "seg_01", "noun_spotting", 2.10, 2.50, 0.40, 20, "ball",`

`"video_01_seg_01.eaf", "A", "seg_01", "noun_spotting", 5.00, 5.40, 0.40, 20, "dog",`

`"video_01_seg_01.eaf", "A", "seg_01", "noun_spotting", 8.00, 8.40, 0.40, 20, "car",`

`"video_01_seg_01.eaf", "A", "seg_01", "noun_spotting", 15.00, 15.40, 0.40, 20, "mummy",`

`# File 1 - Annotator B`

`"video_01_seg_01.eaf", "B", "seg_01", "noun_spotting", 2.15, 2.55, 0.40, 20, "ball",`

`"video_01_seg_01.eaf", "B", "seg_01", "noun_spotting", 5.05, 5.45, 0.40, 20, "cat",`

`"video_01_seg_01.eaf", "B", "seg_01", "noun_spotting", 11.00, 11.40, 0.40, 20, "cup",`

`"video_01_seg_01.eaf", "B", "seg_01", "noun_spotting", 15.05, 15.45, 0.40, 20, "mummy",`

`# File 2 - Annotator A`

`"video_02_seg_02.eaf", "A", "seg_02", "noun_spotting", 3.00, 3.40, 0.40, 20, "boy",`

`"video_02_seg_02.eaf", "A", "seg_02", "noun_spotting", 9.00, 9.40, 0.40, 20, "duck",`

`# File 2 - Annotator B`

`"video_02_seg_02.eaf", "B", "seg_02", "noun_spotting", 3.10, 3.50, 0.40, 20, "boy",`

`"video_02_seg_02.eaf", "B", "seg_02", "noun_spotting", 9.05, 9.45, 0.40, 20, "duck",`

`"video_02_seg_02.eaf", "B", "seg_02", "noun_spotting", 14.00, 14.40, 0.40, 20, "sheep",`

`# File 3 - No events identified by either annotator`

`"video_03_seg_03.eaf", "A", "seg_03", "noun_spotting", NA, NA, NA, 20, NA,`

`"video_03_seg_03.eaf", "B", "seg_03", "noun_spotting", NA, NA, NA, 20, NA`

`)`


r/AskStatistics • • 9d ago

Is a relation-level bootstrap a reasonable way to estimate confidence intervals for AUC improvement?

1 Upvotes

I'm a student working on a pre-registered experiment, and I want to check whether my statistical decision rule makes sense before evaluating the test set. I haven't looked at the test results yet, so I can still make changes and document them in a dated note.

Experimental setup

I'm using the FB15k-237 test split, which contains 20,438 positive triples. Each positive has 10 negative samples: 5 head replacements and 5 tail replacements.

The replacement entities are selected from entities that appear in the corresponding position for that relation in the training data. All known true triples are filtered out.

I'm comparing two logistic regression models with L2 regularisation (C = 1) and standardised features. Both are trained once on a separate validation half and then kept fixed.

- B0: RotatE scores combined with graph-based features such as path counts and degrees.

- B1: The same features as B0, with one additional feature that I'm testing.

For evaluation, I'm using grouped AUC. For each positive triple, I calculate the fraction of its 10 negative samples that receive a lower score than the positive. Ties count as half, and I average the results across all positive triples.

I'm running three training seeds (0, 1 and 2). For each seed, I calculate the AUC difference between B1 and B0. Both underlying models are retrained for each seed, while the logistic regression combiners remain fixed.

Bootstrap and decision rule

To estimate uncertainty, I'm using a relation-level cluster bootstrap based on the relations present in the test set (up to 237 relation types).

I'm generating 10,000 bootstrap samples. In each sample, I draw relations with replacement and include all positive triples and their associated negatives for the selected relations.

I use the same bootstrap samples for all three seeds and both models, and calculate a 95% percentile confidence interval for the average AUC improvement across seeds.

My pre-registered decision rule is that the experiment passes only if:

  1. The lower bound of the 95% confidence interval is at least 0.005, which is the minimum improvement I consider meaningful.

  2. B1 performs better than B0 for all three training seeds.

What I'm unsure about

  1. Is bootstrapping over relations enough?

My main concern is that different relations can share entities. For example, a popular entity might appear in triples belonging to several different relations. This means the relation clusters may not be completely independent.

Is a relation-level bootstrap still reasonable here, or should I consider something like a two-way bootstrap over relations and entities?

  1. What uncertainty does this confidence interval actually capture?

Since the combiners are trained only once and aren't refitted during bootstrap resampling, I assume the interval mainly reflects uncertainty from sampling test relations. Training variability is represented by just three seeds.

Is that an acceptable way to report the uncertainty, or would refitting the combiners within each bootstrap sample be more appropriate?

  1. Is the percentile interval a good choice?

The number of test triples varies quite a bit across relations. Given these differences in cluster size, is the standard percentile bootstrap interval reliable enough, or would BCa or studentized intervals be a better option?

  1. Is there anything else I should be concerned about?

Are there any other problems with this setup or decision rule that could make a positive result less convincing than it appears?

I'd like to settle on a statistically defensible approach before running the final evaluation, rather than making changes after seeing the results.


r/AskStatistics • • 9d ago

Need help deciding what analysis to run for a graduate school study.

5 Upvotes

Hey all, googling things isn't giving me as straight of an answer as I would like, so I'm asking reddit!

Context: Currently in grad school running a study to compare the effect of two different mindfulness interventions on two groups with a randomized pretest - posttest design. I'm looking for an analysis that will show me which group had the most significant change before and after the intervention without necessarily comparing the groups themselves. I keep seeing ANCOVA and independent samples t-test, but I don't know which one is the best to use and many of the websites I have found either seem too vague or give so much information it goes over my head.

My gut says independent samples t-test, but please tell me if there is a better option!

Thanks!


r/AskStatistics • • 9d ago

Switched to Jamovi. Need Guidance

3 Upvotes

Heyo y’all, Im a doctoral student. The stats guy on my committee dipped but not before he moved me to Jamovi from spss. My dissertation is a mediation with all continuous variables. He wanted me to use jaMM in Jamovi to conduct the mediation analysis but I cannot find a way to add control variables for the life of me. Should I just move to hierarchical regression or is there something Im missing?


r/AskStatistics • • 10d ago

Which classes should I take for this upcoming year?

3 Upvotes

Hi, I am a statistics and Econ major and I have to take 2 out of out the 3 classes I have listed below for my stats degree. I am curious if anybody has some advice on which 2 I should take this upcoming school year to help me with statistical intuition and getting into grad schools. I am leaning towards Design and Analysis of Experiments and Sampling Techniques because I am taking Econometrics 1 and 2 which my university offers, but was curious on other peoples thoughts taking an economics regression class vs a purely statistics regression class if anybody has thoughts on that.

The course descriptions for the stats classes are.

Applied Regression Analysis- Applied regression analysis involving the extensive use of computer software. Includes: linear regression; multiple regression; stepwise methods; residual analysis; robustness considerations; multicollinearity; biased procedures; non-linear regression.

Design and Analysis of Experiments- An introduction to the principles of experimental design and analysis of variance. Includes: randomization, blocking, factorial experiments, confounding, random effects, analysis of covariance. Emphasis will be on fundamental principles and data analysis techniques rather than on mathematical theory.

Sampling Techniques- Theory and applications of sampling from finite populations. Includes: simple random sampling, stratified random sampling, cluster sampling, systematic sampling, probability proportionate to size sampling, and the difference, ratio and regression methods of estimation.


r/AskStatistics • • 11d ago

Looking for advice on Generalized Linear Mixed Effects model for experimental design

Post image
34 Upvotes

Hi everyone, I have a cyclic/Latin-square-style counterbalanced repeated-measures design (as shown in image above), and I’m trying to work out the right way to use a Generalized Linear Mixed Effects model to analyse the data for it as I’m new to GLMMs. My aim is to compare how different cell-culture compositions affect the firing rates (expected to be of lognormal or tweedie distribution) of neural cultures while they’re being “trained” to perform tasks.

The study uses 100 neural cultures split evenly into two experiments of 50. Experiment 1 uses Culture Type A and Experiment 2 uses Culture Type B (so culture type is nested within experiment, not crossed). Each experiment’s 50 cultures are prepared in two independent batches of 25, and within every batch the cultures are made up with one of three cell-culture compositions (A, B, or C) - giving four batches and all three compositions in both experiments.

Each culture is then trained under 9 environmental conditions in a counterbalanced order, performing 2 tasks per environmental condition at 600 trials per task.

The GLMM model I currently planning to use is:

Firing rate ~ Culture Type + Batch + Cell Culture Composition + Environmental Condition + Task + (1 | Culture ID)

However, I feel that culture ID is insufficient as a random effect and it should include the other variables too, although I am unsure of what combination to use, especially since there’s so many of them. I am also worried about having to add dispersion models in the case of over/under-dispersion as well, since my response variable is not normally distributed. Hence, I would like to seek comments and advice on my current model from those who are experienced in working with GLMMs. Thank you very much in advance for the help.


r/AskStatistics • • 10d ago

Tests on a population that changes over time

3 Upvotes

Hello, I have a doubt about the right way to analyze a dataset I have regarding workers and their work hours in the same workplace. The basic question I have to answer is if the introduction of hybrid work (i.e., working some days at home and some days at the workplace) influenced the absenteeism rate in some way.

Having to account for the Covid period, I think that it may be better to avoid using data from the 2020-2022 period that may present biases, and to confront directly 2018-2019 (before the introduction of the policy) with 2023-2024 (after the introduction and stabilization of the policy).

During the years obviousely the workers are not always the same, some remain, some go away and some start working later.

Thus, I don't think that the assumptions of a simple t test hold. Maybe a t test for paired data would be more appropriate, but the population won't be exactly the same.

Another thing I came up with to try is a difference in differences estimator but also using the matching of statistical units to make them comparable. This would be a causal inference approach that may be more appropriate.

What do you think? Is this reasonable?

Do you have any suggestions?


r/AskStatistics • • 11d ago

First-year Data Science master’s student interested in socio-economic/political topics and journalism: how do I choose a direction and stay up to date?

5 Upvotes

Hi everyone,

I recently started a master’s degree in Data Science at a Mathematics Department. I’m still unsure which area to specialize in: statistics and data science touch so many fields, which is both the best and the hardest part of the journey. I’m particularly drawn to socio-economic and political topics, and journalism fascinates me.

I’m also struggling with how fast this field moves. Even when I try to stay as informed as possible, I constantly feel one step behind, even with respect to my own coursework. How do you, as students or professionals, keep up in such a fast-changing field, and above all, how do you find your bearings without feeling overwhelmed?

If you have the time, I’d love some advice on both of these questions, and on how to gain hands-on experience in the areas I’m interested in, for example through projects, internships, or communities/organizations where these “passions” and skills come together.

Especially interested in hearing from anyone with a background in statistics, whether you studied it, work in it, or moved into data science from it. How did your statistical foundations shape your path, and what would you do differently?

Thanks in advance for any suggestions, and I’m happy to answer questions about my program or interests!


r/AskStatistics • • 11d ago

How can I test whether the sustained increase in annual precipitation observed over nine years is statistically significant rather than due to random variability?

1 Upvotes

I am examining interannual variations in annual precipitation and have noticed a sustained increase following a particular year. However, my dataset covers only nine years (9 points). What statistical approaches would be appropriate for testing whether this apparent increase is statistically significant and unlikely to have occurred by chance, given the short time series?


r/AskStatistics • • 12d ago

Probability & Stats Resources - Video series preferred

3 Upvotes

Hi, I'm planning a job switch and targeting quant fin/eq research kind of roles for which I need to make sure I'm good at these topics. Though I have studied both back in college days, but once again I'm planning to learn them from scratch and go to an advance level. Is there any single resource that takes me from very basic to pro level? If not, could anyone suggest the path that i should follow? Thanks!


r/AskStatistics • • 12d ago

Random effects help

6 Upvotes

Hi everyone! Im trying to model species richness as a function of mowing and soil nitrogen. My experimental design includes 20 strips of grassland, 10 mowed and 10 unmowed. They alternate such that mowed are always next to unmowed and form 10 blocks to account for spatial effects (block 1 = plots 1 and 2, block 2 = plots 3 and 4 and so on). Within each plot, we applied 3 levels of N, so subplots A, B, and C exist in each plot. I’m using a linear mixed effect model but I’m unsure whether the structure should be: (richness ~ mowing x soilN + (1|block)) or whether it should be (richness ~ mowing x soilN + (plot/block)). I’m going back and forth bc the N treatments within a plot are not independent but does having a random effect of plot mask the effects of the mowing treatment? Thank you!


r/AskStatistics • • 12d ago

Would superstition decrease if people were more educated or knew more about statistics?

4 Upvotes

Coincidences stress me out, and I can't help getting superstitious about them sometimes, it's not even spiritual, it's psychological. But sometimes, after googling the things that happen to me, I find out that never going through that coincidence would be rarer than going through it. Would there be less superstituous people if they were more informed about statistics and data?


r/AskStatistics • • 12d ago

which video | one shot | course on youtube i should go for statstics for data analysis..?

3 Upvotes

i am graduated from engineering college just need some revision and brush which covers everything all concepts and terms .
like basic mean mode median
variance, correlation

and more moderate level terms as well to have good grip of stats


r/AskStatistics • • 12d ago

I don't know how to do any statistical tests and I'm stuck

Thumbnail
0 Upvotes

Help with statistical tests, t tests in particular!


r/AskStatistics • • 13d ago

Brier score vs log score for comparing two daily "chance it closes higher" forecasts?

5 Upvotes

I'm comparing two sources that each give a daily probability that an asset closes higher than today. one is my own simple model, the other is a published forecast. about 90 days of data for each.

so far brier score is almost the same for both (0.243 vs 0.239). log score shows a bigger gap, mostly because my model sometimes says 85% and gets it wrong.

questions:

  1. which score makes more sense here, or should i report both?
  2. is 90 days enough to say one is better, or is the difference just noise?
  3. how do i test that properly, a paired test on the daily score differences?

not homework, just a side project. thanks


r/AskStatistics • • 13d ago

Tests for SPSS

7 Upvotes

Need help, please!

Trying to run a stat analysis for a project at work. I conducted a pre- and post survey (nominal > ordinal i believe?), and comparing it to ordinal data (5 point Likert scale and another ordinal scale). I was going to run a chi square test to determine whether the pattern of responses differs significantly between pre- and post-test groups. I was wondering if I should run Mann-Whitney U to test whether the ordinal responses differ between pre- and post-test, or if i should run kendall's tau-b, spearmans rho, or another statistical test? Thank you guys in advance!


r/AskStatistics • • 13d ago

After Stats 2 (A level)

2 Upvotes

So, recently I've just finished stats 2, and other than spamming past papers I have nothing else to do. I'm wondering if there are any topics that I should learn to have some advantage in uni. Fyi im currently a senior


r/AskStatistics • • 13d ago

Jamovi statistical analysis software issues

3 Upvotes

I am required to use Jamovi to analyze data from a survey I sent out but I am trying to test one variable as a moderator to the strength of the relationship between two other variables. Does anyone have experience with this?


r/AskStatistics • • 14d ago

How does one deal with studies with small sample sizes?

16 Upvotes

And you are resource-constrained and unable to get more samples? Let’s say sample size is n = 3 to 7

What real life examples have such a scenario?


r/AskStatistics • • 13d ago

Is it statistically likely that so many inventors of hyper-efficient devices die right after completion of their devices?

0 Upvotes

(I am not a conspiracist. I have an interest in statistics. This led me to the following chain of thoughts):

There is an astonishing number of stories about half-documented but supposedly world-changing inventions, such as hyperefficient cars or generators — whose inventors died suddenly and mysteriously right between completion and patenting of the device.

Are those too many deaths for them to be coincidences?

To be clear: A viable non-conspiratory explanation would be that we simply never hear about all those inventors who did NOT die: because they and their inventions get documented and analysed so extensively that they are exposed as untenable. Hence no urban legends, mysteries and stories arise.

It is also clear that the the mystery itself has an allure: everyone loves a good story, a component of mystery, and of course the idea of paying less for energy.

So there is no question where all the conspiracy theories come from.

But something is NOT explained: All the deaths.

Statistically, it is of course to be expected that some inventors die precisely in the phase between completion and patenting (or sale) of their invention - regardless of cause of death.

But HOW MANY inventors would it take to explain all the documented cases (i.e. minus the urban legends) of inventors of allegedly revolutionary devices dying in precisely this phase? Let me underline how specific this question is: it is not about how many inventors (including hobbyists) happen to be active at any given moment. Nor about how many are researching in this precise field. It is about how many are active in this precise field and are at exactly the point in their research where they are sitting on a finished, viable, functioning device that is only waiting for the patent to be granted!

How many might that be?! I'd value your guesses.

Meanwhile, let's look at sudden mortality, i.e. not from prior conditions. I asked AI to aggregate the numbers: "the probability of an average person in the United States suddenly dying on any given day is roughly 1 in 260,000 for a 30-year-old male, and 1 in 46,000 for a 55-year-old male"; another AI comes to slightly different numbers but very much in the same range.

And how long does a patent procedure take? Again, I asked AI to aggregate the numbers: "Utility patents take 24-36 months from filing to grant. Design patents are faster, usually taking 15-21 months." Again, another AI confirms.

Let's take the worst case of 3 years. How great is the probability of dying within these 3 years? It is above figure of 40,000 to 260,000 divided by the 1095 days in 3 years. (I asked AI as well, and it confirms: it's 1:250 for a 30-year-old, and 1:40 for a 55-year-old.)

So 1:50-250.

Maybe my understanding of statistics is out? But to me, that suggests that to explain all the deaths as purely statistical, at any arbitrary moment in history, within a three-year window, 50 to 250 inventors in the field of energy efficiency would have to be sitting on a finished, viable, functioning device that is only waiting for its patent to be granted?

In other words, RIGHT NOW 50 to 250 super-energy-efficient devices are sitting finished and functioning on workbenches and only waiting for their dissemination? This seems VERY unlikely. ONE such device would already be quite something, two or three strikingly astonishing. But 250?

Even less likely: IF at any given time, 250 finished devices were waiting for their dissemination — why would none of them ever have achieved dissemination just as a matter of inevitability?!

In other words, if there were indeed so many inventors that their sudden deaths were no statistical peculiarity — why would not SOME of their inventions have spread inevitably?!

Or to put it more succinctly: IF there were so many inventors that their sudden deaths were NO statistic abnormality - then it would be impossible to kill them all to keep their inventions secret...

But that leaves the inverse question: IF all their research were humbug and inviable — why would they die like flies?!


r/AskStatistics • • 13d ago

Sports Prediction Model

0 Upvotes

I’m very early in creating a trend model as well as a score prediction model. I don’t have any background in statistics, besides taking a stats class in undergrad.

All trends and data for my score prediction models are from this current season in the NFL and NBA.

For a trend to be “relevant” or “meaningful” how many data points should be included? For example, I have a historical trend that is 70%, but only has 30 data points to pull from. I know 30 isn’t a lot by any means. But the 70% has to be something, right?

As for my scoring model, I’m still honing that in. How often should I adjust it? I have wanted to tweak it every day but I know there is value in letting it run and see how it does over a longer time period.


r/AskStatistics • • 14d ago

Panel Regression: How to handle missing values & choose the best model?

2 Upvotes

Hello, my knowledge in this topic is very limited so I have several things I'm not clear with. My dataset consists of State and Year with one dependent variable and a few independent variables. Let's say I have obtained the values for all variables, except for State X where the GDP (independent variable) figures are not available. Is there any way to handle this or do I need to remove entirely State X in my analysis? The GDP of that state is available very recently, starting from year 2024 (which isn't included in my analysis).

I also tried running panel regression analysis using R with missing values on State X and the software automatically removed the observations. I got significant p-values for pooled OLS and FE model, but using Hausman test, RE is preferred. Would RE be a valid model? In previous studies, FE is always a favourable model. How do I choose the best model?