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
 Spring '08
 Staff
 Probability, Variance, Probability distribution, Probability theory, probability density function

Click to edit the document details