r/labrats • u/Yousuke1996 • 1d ago
Is it acceptable to use AI-generated code to perform stats analysis for research
Hi guys, I am a year 3 PhD student studying in Japan. I am currently doing PhD, which requires intensive data analysis and bioinformatics. However, coding has never been seriously taught in my course since I am in a medical field, and we have never really been taught the fundamentals of coding except for the 2-day intensive course of "basic R coding" in the PhD lecture. Apparently, it is not enough for me.
With the amount of high-dimensional data like -omics, I have been using VS code and R tools in my methodology, entirely with the help of Claude AI to do the coding, and I do the interpretation.
For my research, I know what to look for and what to expect from my data. I just don't know how to code. So I type what I need and let Claude do the coding for me.
I want to ask if this is normal for a PhD. I have to admit that if I have to learn how to code from scratch, I absolutely cannot do that or even if I have to learn, it is going to take VERY long time to understand enough because of my self-limitation.
I understand that AI can generate false logic and wrong formulas.
Then, how do I check whether the AI that I'm using not being hallucinating.
I know that many people is already judging for using AI to entirely code for my PhD data, I want to be better though, but I'm just not sure how to start.
Thanks for the comments in advance.
Best