Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201894

R functions to generate simple tests from random data

$
0
0

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.


Viewing all articles
Browse latest Browse all 201894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>