Register to reply

[TUTORIAL]Q-Q Normal probability plotin R

by moonman239
Tags: normal, plotin, probability, tutorialqq
Share this thread:
moonman239
#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
NASA team lays plans to observe new worlds
IHEP in China has ambitions for Higgs factory
Spinach could lead to alternative energy more powerful than Popeye

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