AI or statistics – two different modeling approaches. Of course, they are not mutually exclusive, in that artificial intelligence (AI) models developed through machine learning (ML) obviously involve statistics, and to make a solid AI model, you have to start by doing some statistical analysis. But if you are trying to publish a scientific paper, and you are considering using a big enough dataset, you are forced to pick your focus in the paper – AI or statistics?
In fact, I’m quite good at making the “AI or statistics” choice in my scientific papers, and defending my choice. This is because I’ve recently had reviewers try to push me into making an AI model when I should be using statistical analysis to meet my research objective. It bothered me so much, I wrote a paper about it, and I’ll summarize a few salient points here.
AI or Statistics: Why We Have to Ask this Question
Today, it is operationally relatively easy to fire up R, KNIME, Python, or many other programs and run an AI model on some big data you can download from Kaggle or some other source. But just because you have a hammer, not everything is a nail. If you are trying to apply the scientific method to answer a research question, using an AI model won’t get you there. On the other hand, if you are trying to develop an operational model that most accurately predicts electrical load on an energy system, developing a deployable AI model is the better way to go.
The figure below – adapted from our paper – summarizes the differences in how AI models and statistical models are developed.
The figure is relatively complex, but the takehome message is that statistical models are developed to answer a research question, and AI models are developed to actually be deployed in an operational setting – which is much more involved, as you can see by the figure.
What’s Wrong with Using AI to Answer a Research Question?
I’m not an AI researcher, I’ll admit. I’m a statistician. Actually, I’m an epidemiologist, so the main thing I do is scientific research – which is I pose hypotheses and research questions a priori, then I go get some data, and analyze it to answer them. This is why it annoys me each time a reviewer recommends that I use an AI model instead of statistical analysis to answer a research question.
As we say in our paper, I admit that often, an AI model developed from the same data as my statistical model is likely able to make a more accurate prediction. However, that is not your goal when you are applying the scientific method. The goal in research using the scientific method is to build a statistical model that is interpretable, so that you can explain and interpret the relationships you find. Most AI models are rather “black box” – meaning they are generally uninterpretable and impossible to explain. There has been a push for “explainable” AI (XAI), and this is ethically necessary if you want to use AI models for making decisions that have important public implications (like choosing whether to allow an immigrant into a country, or a prisoner out of jail). But even an XAI model is not appropriate for answering a research question.
Our paper points out other problems with using an AI model as an answer to a hypothesis using the scientific method, such as the fact that you can put variables in an AI model that make no sense scientifically, AI models that are developed through an automated process can’t be adequately explained (nor replicated), and AI models do not need to take into account issues around sampling that are necessary for answering research questions with statistics.
Okay, So When Should You Use an AI Model in Your Scientific Publication?
I’m glad you asked! There are two main scenarios where you should develop an AI model for a scientific publication.
Develop an AI Model When Exploring Relationships
AI modeling is a good way to explore your large dataset. Of course, I’d first recommend you do some basic descriptive statistics (in R, SAS, or some other program) just to get to know your variables. But after that, playing with your data using AI models can help you quickly understand how the variables are working together, and where underlying relationships are. Exploratory research is not hypothesis-driven – but it can lead to the formation of important hypotheses that are worth testing that you might not have thought of yourself.
Develop an AI Model to Solve an Operational Problem
AI models are used all the time now. When you type into WhatsApp, it can often accurately predict the next word you are going to say using an AI model. AI models in marketing software can guide you as to the optimal time to send out your e-mail blast.
Because AI models are developed for operational use, it may not be top-of-mind that these models could be the subject of research published in scientific journals. However, studies on best practices with respect to developing, optimizing and deploying these models are important to conduct and publish to push science forward. As shown in the figure above, there are many steps to developing and deploying an operational AI model. If you make a solid contribution to the scientific literature with respect to these processes, it will be greatly appreciated by someone who is trying to do them.
Read all of our data science blog posts!
AI or statistics – two different, interrelated approaches you can use in your scientific publication. But which one should you pick? Read my blog post and find out!

