This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: y f(y) 0.0 0.2 0.4 0.6 0.8 1.0 0.8 0.9 1.0 1.1 1.2 Distribution of Uniform distribution with min = 0 and max = 1 y F(y) 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 The theoretical mean of the uniform distribution is = E ( Y ) = 1 + 2 2 The variance of the uniform distribution is 2 = V ( Y ) = ( 2 1 ) 2 12 Working with uniform random variables in R. To Fnd the probability P ( Y y ), the command in R is 1 punif(y,a,b) To fnd the value oF y so that P ( Y y ) = p , the command in R is qunif(p,a,b) To generate observed values From a uniForm distribution, the command in R is runif(numobs,a,b) where numobs is the number oF observed values you would like to generate. 2...
View
Full
Document
This note was uploaded on 01/27/2010 for the course STAT 342 taught by Professor Staff during the Spring '08 term at Iowa State.
 Spring '08
 Staff
 Probability

Click to edit the document details