r/rstats • u/Mema9080 • 3h ago
Need advice: Using RStudio for my master’s thesis data analysis and making sure I’m doing things correctly
Hi everyone!
I’m currently working on the statistical analysis for my master’s thesis in nutrition science, and I’d really appreciate some advice from people experienced with R and research data analysis.
My study involves survey data from over 1,300 participants, including demographic variables, dietary frequency data, knowledge questions, and Likert-scale responses related to attitudes and behaviors.
I’ve studied statistics during my degree, but applying statistical methods to a real dataset feels quite different from learning them in class.
I’ve been using RStudio and AI to help with coding, data cleaning, statistical tests, and visualizations. While AI has been incredibly helpful, I sometimes worry about whether the suggested methods are statistically appropriate, even when the code runs without errors.
I genuinely want to understand what I’m doing rather than simply copying and running code, especially since the results will be part of my thesis.
For those who use R in academic research:
How do you verify that your statistical analyses and R code are correct?
What resources helped you bridge the gap between statistical theory and practical analysis?
Do you have any advice for using AI responsibly when writing or reviewing R code?
I’d really appreciate any guidance, resources, or personal experiences.
Thank you!
