I was trying to come up with code that would enable me to generate One sample t-test, independent sample t-test, One way ANOVA, Two-way ANOVA, and a series of histograms one with negative skew, one with positive skew, one that is normal.
For the tests, I am just interested in the output, and for the histogram, I am interested in plotting the histogram. I need all of them to have randomly generated data as input, so upon multiple iterations, the output would be different (such as using a random vector with rnorm() ). But I do not know exactly how to do this.