norm1R - pnorm(90,100,10) - pnorm(60,100,10) #gives area...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 ###normal distribution ?pnorm #displays help information for the normal distribution functions #pnorm(value,mean,sd) #gives area under the curve (with given mean and sd) to the left of the value #qnorm(percent,mean,sd) #gives the value that has the given percent of the area under the curve to the left of it pnorm(90,100,10) #gives area to the left of 90 on a normal density curve with mean 100 and sd 10 qnorm(.75,10,1) #gives value that has 75% of the area under a normal density curve with mean 10 and sd 1 to t h 1-pnorm(90,100,10) #gives area to the right of 90 on a normal density curve with mean 100 and sd 10
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: pnorm(90,100,10) - pnorm(60,100,10) #gives area between 60 and 90 on a normal density curve with mean 100 and sd 10 pnorm(.5) #gives area to the left of .5 on a normal density curve with mean 0 and sd 1 points=rnorm(1000, 0, 1) #generates 1000 random samples from a normal distribution with mean 0, sd 1 qqnorm(points) #generates normal quantile plot for the random samples points=rexp(1000,1) #generates 1000 random samples from a non-normal distribution qqnorm(points) #generates normal quantile plot for the random samples...
View Full Document

This note was uploaded on 09/11/2011 for the course STAT 200 taught by Professor Agniel during the Spring '09 term at University of Illinois at Urbana–Champaign.

Ask a homework question - tutors are online