- #1
moonman239
- 282
- 0
I was messing around with R (a statistical package) when I found a quick and dirty way to plot a variable to see if it is normally distributed. It's literally a two-step process, unless you've already done step 1.
1) Give your variable a dataset in R (not exactly sure how to do this -- I personally just used the rnorm function, which randomly generates a preset number of normally distributed random values. Maybe some R expert will come in and tell us how.)
2) Run the following command: qqnorm(variable) (replace "variable" with the name you gave your variable.)
1) Give your variable a dataset in R (not exactly sure how to do this -- I personally just used the rnorm function, which randomly generates a preset number of normally distributed random values. Maybe some R expert will come in and tell us how.)
2) Run the following command: qqnorm(variable) (replace "variable" with the name you gave your variable.)