Hello!
I am currently trying to wrap up my masters project and while taking a look at my code with my prof yesterday we noticed something very strange - when I ran the code from months ago (that worked on several occasions and I know for sure was correct) it started giving different results. Not "oh you used a different set.seed() results", but results that are just not the same as what I had before.
A little bit about the project - it is a simulation in which I create my own data using runif() and rbern(0) functions, so the answers always vary a little bit. I also then use a replicate(0) function so of course non of my answers will be identical, but the new results I get are simply wrong.
I tried re-installing Rstudio, using R console, a different computer and the online Rstudio, but the code still gives me the wrong results!
I know that the code is right and I have no idea what's happening. If anyone knows any possible reason for why this is happening and what I can do, I would really appreciate it. Any suggestion would be life saving!
P.S. let me now if you need to see any of the code for reference!