📊🧬Are you a clinician doing research with real-world data? 👩‍⚕️ 💊

Let #SUNDDataLab at UCPH #HeaDS support your analysis needs!

From #StatisticalModeling to #DataVisualization and #Python/#R workflows—we’ve got you covered💪

No time or coding experience? No problem.
On-demand, expert data help tailored for busy clinical researchers.

🌐 https://www.heads.ku.dk/datalab/
📧 datalab@sund.ku.dk

#MedicalResearch #ClinicalResearch #DataScience #HealthData

My Road to Bayesian Stats

By 2015, I had heard of Bayesian Stats but didn’t bother to go deeper into it. After all, significance stars, and p-values worked fine. I started to explore Bayesian Statistics when considering small sample sizes in biological experiments. How much can you say when you are comparing means of 6 or even 60 observations? This is the nature work at the edge of knowledge. Not knowing what to expect is normal. Multiple possible routes to a seen a result is normal. Not knowing how to pick the route to the observed result is also normal. Yet, our statistics fails to capture this reality and the associated uncertainties. There must be a way I thought. 

Free Curve to the Point: Accompanying Sound of Geometric Curves (1925) print in high resolution by Wassily Kandinsky. Original from The MET Museum. Digitally enhanced by rawpixel.

I started by searching for ways to overcome small sample sizes. There are minimum sample sizes recommended for t-tests. Thirty is an often quoted number with qualifiers. Bayesian stats does not have a minimum sample size. This had me intrigued. Surely, this can’t be a thing. But it is. Bayesian stats creates a mathematical model using your observations and then samples from that model to make comparisons. If you have any exposure to AI, you can think of this a bit like training an AI model. Of course the more data you have the better the model can be. But even with a little data we can make progress. 

How do you say, there is something happening and it’s interesting, but we are only x% sure. Frequentist stats have no way through. All I knew was to apply the t-test and if there are “***” in the plot, I’m golden. That isn’t accurate though. Low p-values indicate the strength of evidence against the null hypothesis. Let’s take a minute to unpack that. The null hypothesis is that nothing is happening. If you have a control set and do a treatment on the other set, the null hypothesis says that there is no difference. So, a low p-value says that it is unlikely that the null hypothesis is true. But that does not imply that the alternative hypothesis is true. What’s worse is that there is no way for us to say that the control and experiment have no difference. We can’t accept the null hypothesis using p-values either. 

Guess what? Bayes stats can do all those things. It can measure differences, accept and reject both  null and alternative hypotheses, even communicate how uncertain we are (more on this later). All without making assumptions about our data.

It’s often overlooked, but frequentist analysis also requires the data to have certain properties like normality and equal variance. Biological processes have complex behavior and, unless observed, assuming normality and equal variance is perilous. The danger only goes up with small sample sizes. Again, Bayes requires you to make no assumptions about your data. Whatever shape the distribution is, so called outliers and all, it all goes into the model. Small sample sets do produce weaker fits, but this is kept transparent. 

Transparency is one of the key strengths of Bayesian stats. It requires you to work a little bit harder on two fronts though. First you have to think about your data generating process (DGP). This means how do the data points you observe came to be. As we said, the process is often unknown. We have at best some guesses of how this could happen. Thankfully, we have a nice way to represent this. DAGs, directed acyclic graphs, are a fancy name for a simple diagram showing what affects what. Most of the time we are trying to discover the DAG, ie the pathway of a biological outcome. Even if you don’t do Bayesian stats, using DAGs to lay out your thoughts is a great. In Bayesian stats the DAGs can be used to test if your model fits the data we observe. If the DAG captures the data generating process the fit is good, and not if it doesn’t. 

The other hard bit is doing analysis and communicating the results. Bayesian stats forces you to be verbose about your assumptions in your model. This part is almost magicked away in t-tests. Frequentist stats also makes assumptions about the model that your data is assumed to follow. It all happens so quickly that there isn’t even a second to think about it. You put in your data, click t-test and woosh! You see stars. In Bayesian stats stating the assumptions you make in your model (using DAGs and hypothesis about DGPs) communicates to the world what and why you think this phenomenon occurs. 

Discovering causality is the whole reason for doing science. Knowing the causality allows us to intervene in the forms of treatments and drugs. But if my tools don’t allow me to be transparent and worse if they block people from correcting me, why bother?

Richard McElreath says it best:

There is no method for making causal models other than science. There is no method to science other than honest anarchy.

#AI #BayesianStatistics #BiologicalDataAnalysis #Business #CausalInference #DAGs #DataGeneratingProcess #ExperimentalDesign #FrequentistVsBayesian #Leadership #philosophy #ScientificMethod #SmallSampleSize #StatisticalModeling #StatisticalPhilosophy #TransparentScience #UncertaintyQuantification

📊🧬Are you a clinician doing research with real-world data? 👩‍⚕️ 💊

Let #SUNDDataLab at UCPH #HeaDS support your analysis needs!

From #StatisticalModeling to #DataVisualization and #Python/#R workflows—we’ve got you covered💪

No time or coding experience? No problem.
On-demand, expert data help tailored for busy clinical researchers.

🌐 https://www.heads.ku.dk/datalab/
📧 datalab@sund.ku.dk

#MedicalResearch #ClinicalResearch #DataScience #HealthData

Large language models are changing the game for statisticians – learn how they're boosting efficiency and unlocking new possibilities!

Continue reading the full article https://codelabsacademy.com/en/blog/an-overview-of-large-language-models-for-statisticians?source=mastadon

#largelanguagemodels #statisticalmodeling

Large Language Models for Statisticians: Key Insights and Opportunities

Explore how statisticians can leverage and shape Large Language Models (LLMs) for trustworthy, fair, and efficient AI systems. Learn about interpretability, fine-tuning, uncertainty quantification, and alignment—plus how LLMs can revolutionize data science workflows. Large Language Models, LLM, Statistics, Data Science, Transformers, Fine-tuning, Interpretability, Alignment, Watermarking, Uncertainty Quantification, Fairness, Synthetic Data, Pre-training, AI, Machine Learning, Code Labs Academy

Integrate R Skills into SAS for Advanced Analysis | CoListy
Extend R programming skills to SAS. Learn advanced modeling, data manipulation, and cross-platform integration for enhanced analytics. | CoListy
#freeonlinelearning #colisty #courselist #sasandrintegration #sas/iml #sas/stat #dataanalysis #statisticalmodeling #matrixalgebra #logisticregression #anova #mixedmodels #programmingwithsas #rtosas

https://colisty.netlify.app/courses/sas_-programming-for-r-users/

Integrate R Skills into SAS for Advanced Analysis

Extend R programming skills to SAS. Learn advanced modeling, data manipulation, and cross-platform integration for enhanced analytics. | CoListy

Junior Data Analyst / Engineer (JB4991)
Alberton, Gauteng
R15 000 to R20 000 a month CTC
Contract 6 to 12 months (May become permanent)

#SQL #Azure #PowerBI #Python #DataScience #StatisticalModeling #ETL #BusinessIntelligence

Apply: https://bit.ly/DataengineerJB4991
#Opportunity

Junior Data Analyst / Engineer (JB4991) | Recruitment

Junior Data Analyst / Engineer (JB4991) Alberton, Gauteng R15 000 to R20 000 a month CTC Contract 6 to 12 months (May become permanent) Join a cutting-edge Supply Chain and Business Strategy Consulta

#Lecturer position available in the Department of Social Statistics and Demography at the University of Southampton ⤵️

Can your research experience complement and develop our current #research areas in #demography, #globalhealth, official #statistics, #statisticalmodeling, and #survey #methodology?

If so, apply by 28 January: https://jobs.soton.ac.uk/Vacancy.aspx?ref=2561923CC

Job Opportunity at the University of Southampton: Lecturer in Demography/Social Statistics/Global Health

The Department of Social Statistics and Demography (SSD) invites applications for a fixed-term Lectureship post to further strengthen our international reputation for teaching and research in demography, social statistics and global health. We are...

Recruitment at the University of Southampton

🌟 "The femR project has not only achieved its primary goal...but has also adapted and grown in response to community feedback and evolving scientific needs, particularly in the realm of space-time PDE problems." Discover femR, a new era in statistical modeling with R with Laura Maria Sangalli.

Read her full journey on our blog: https://www.r-consortium.org/blog/2023/12/11/femr-bridging-physics-and-statistics-in-r-with-support-from-the-r-consortium

#RStats #DataScience #StatisticalModeling #OpenSource

femR: Bridging Physics and Statistics in R with Support from the R Consortium - R Consortium

Laura M. Sangalli is a professor of Statistics at Politecnico di Milano, Italy. Her research interests include functional data analysis, high-dimensional and complex data, spatial data analysis, and biostatistics. With...

R Consortium
Generative AI Thru This

A look at Generative AI for platform engineering

An interesting article on the different approaches to #StatisticalModeling: "Statistical Modeling: The Three Cultures" https://hdsr.mitpress.mit.edu/pub/uo4hjcx6/release/1

#statistics #modeling #CausalInference #prediction #ai #ML #MachineLearning