I am a PhD student, and last year, as a TA I helped grade/supervise a Bachelor's student's thesis. I now notice that I provided her with some wrong suggestions due to which her analysis is also wrong.
The student had approached me with some questions about statistics asking if she should do an ANOVA or a regression. I said that they are the same analysis if you dummy code your variables in your regression analysis (which is true).
However, I only now realize that her specific design (within-subjects) makes the regression analysis not the right choice.
Two other second graders also missed this while grading her thesis, and she got a good grade for it.
I am not sure what to do. This was last year and she has already received her degree. I am very afraid that I will not be allowed to continue my PhD if I inform people about this. However, I am also feeling guilty about the fact that this student learned something wrong and might use this thesis as a writing sample for future admissions.
What would be the ethical/right/pragmatic thing to do here?