[TUTORIAL]Q-Q Normal probability plotin R


by moonman239
Tags: normal, plotin, probability, tutorialqq
moonman239
moonman239 is offline
#1
Apr1-11, 07:36 PM
P: 300
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.)
Phys.Org News Partner Science news on Phys.org
Cougars' diverse diet helped them survive the Pleistocene mass extinction
Cyber risks can cause disruption on scale of 2008 crisis, study says
Mantis shrimp stronger than airplanes

Register to reply

Related Discussions
Probability of Normal Distribution Calculus & Beyond Homework 6
how to get probability from a normal distribution? Set Theory, Logic, Probability, Statistics 3
Probability- normal distibution? Calculus & Beyond Homework 12
Probability (Normal Distribution etc.) Calculus & Beyond Homework 2
Probability tutorial Academic Guidance 0