Illustration: Editopia.
Book: AI in term papers and thesesAI in data analysis: choosing methods, running them and checking results
This guide summarises chapter 8 of Fabian Lang, Using Artificial Intelligence in Term Papers and Theses (Springer, 2026). It is our own summary, not a copy.
RoleSupportive: explain, suggest, check
StrengthScript code for R or Python analyses
RiskNon-replicable answers, black boxes, hidden bias
Important to know
- Lang says chatbot answers can vary between runs, which makes it hard to replicate analyses. Many models are black boxes, and hidden bias can affect results. These conflict with good scientific practice, so AI must not be used uncritically.
- Language models are weak at calculation. If an answer is wrong, a prompt that asks the model to solve the task with code can help.
- Method choice: AI can act as a methods advisor that lists suitable procedures with pros, cons and assumptions (scale level, distribution, equal variances) and how to test them. For qualitative work, quality criteria include documented coding, inter-rater agreement and reflection on your own role.
- Risks: invented methods (rare for standard procedures), and formally correct but unusual procedures that your field may not accept. Prefer established methods and use a low temperature setting.
- Doing the analysis: AI can guide you step by step and write code, which is where it is strongest for quantitative work (R, Python, syntax modes of SPSS or Jamovi). Always ask follow-up questions, compare with literature and understand each step.
- Check the sources it names, because it can cite works that do not exist.
What to do
- Ask for several suitable methods with their assumptions, then choose with your supervisor or a methods text.
- Keep the code and settings so someone else can repeat the analysis.
- Verify test choices and interpretations in methods literature.
- Never paste confidential or personal participant data into a chatbot without clear permission.
1Methods options
2Check assumptions
3Run with code
4Verify in literature
Sources (open the originals)
- Lang (2026), chapter 8: Data: AI in Analysis, in Using Artificial Intelligence in Term Papers and Theses. Springer
https://doi.org/10.1007/978-3-662-73208-3
This page summarises published guidance from the organisations cited below. Rules differ between journals, so always follow the instructions of the journal you are submitting to. Nothing here is legal advice, and the organisations named do not endorse Editopia.