Uniform - y f(y) 0.0 0.2 0.4 0.6 0.8 1.0 0.8 0.9 1.0 1.1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Uniform Distribution The uniform distribution is used to model continuous data when the probability histogram is approximately a horizontal line throughout the range of the data. The uniform distribution has the following properties: The parameters of the uniform distribution are the minimum ( θ 1 ) and maximum ( θ 2 ) value. The standard uniform distribution has minimim θ 1 = 0 and maximum θ 2 = 1 . The probability density function for the uniform distribution is f ( y ) = 1 θ 2 - θ 1 θ 1 y θ 2 The distribution function for the uniform distribution is F ( y ) = P ( Y y ) = 0 y < θ 1 y - θ 1 θ 2 - θ 1 θ 1 y θ 2 1 y > θ 2 Here are graphs of the probability density function and distribution function of a Uniform distribution with θ 1 = 0 and θ 2 = 1. p.d.f. of Uniform distribution with min = 0 and max = 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 2

Uniform - y f(y) 0.0 0.2 0.4 0.6 0.8 1.0 0.8 0.9 1.0 1.1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online