Question

In: Statistics and Probability

1. The daily rainfall in Dublin (measured in millimeters) is modelled using a gamma distribution with...

1. The daily rainfall in Dublin (measured in millimeters) is modelled using a gamma distribution with parameters α = 0.8 and β = 0.4.

(d) Use the central limit theorem to approximate the probability that the annual rainfall exceeds 800mm (write down the analytical formula and the code used to calculate the cdf value).

(e) Compare the approximate value obtained with the exact counterpart (include the R code used to calculate the cdf value).

(f) Use R to produce a graphical representation that compares the true and approximate densities (include both the code and plot).

Solutions

Expert Solution

If is the random variable representing the daily rainfall, then the random variable representing the annual rainfall is

. Here . Also

d)According to Central Limit Theorem (CLT), approximately, the distribution of is

The approximate probability that the annual rainfall exceeds 800 mm is

The R commands for the above probability is

> 1-pnorm(800,mean=730,sd=sqrt(1825))
[1] 0.05065079
> 1-pnorm(1.6385761 )
[1] 0.05065079

e) The exact distribution of is (Sum of IID Gamma distribution is Gamma again)

The exact probability that the annual rainfall exceeds 800 mm is

The R commands for the above probability is

> 1-pgamma(800,shape=365*0.8,rate=0.4)
[1] 0.05388408

f) The graphical representation that compares the true and approximate densities is given below. Blue represents the approximate normal and red represents the exact Gamma PDFs. The probability is the area shown shaded.

The R code given below:

plot(1:1)
dev.new()
cord.x1 <- c(800,seq(800,1000,0.1),1000)
cord.y1 <- c(0,dgamma(seq(800,1000,0.1),shape=365*0.8,rate=0.4),0)
cord.x2 <- c(800,seq(800,1000,0.1),1000)
cord.y2 <- c(0,dnorm(seq(800,1000,0.1),mean=730,sd=sqrt(1825)),0)
curve(dgamma(x,shape=365*0.8,rate=0.4), xlim=c(400,1000),ylim = c(0,0.01), main="Gamma & Normal distribution", lwd=2, col = "blue", xlab="x", ylab = "Density")
curve(dnorm(x,mean=730,sd=sqrt(1825)),lwd=2, col="red",add=TRUE)
# Add the shaded area.
polygon(cord.x1,cord.y1,col='skyblue')
polygon(cord.x2,cord.y2,col='violet')


Related Solutions

The daily rainfall in Japan (measured in millimeters) is modelled using a gamma distribution with parameters...
The daily rainfall in Japan (measured in millimeters) is modelled using a gamma distribution with parameters α = 0.8 and β = 0.4. Consider the overall rainfall in 365 days, and use mgfs and their properties to prove that this is Ga (292, 0.4). Use the central limit theorem to approximate the probability that the annual rainfall exceeds 800mm (write down the analytical formula and the code used to calculate the cdf value). Compare the approximate value obtained with the...
The daily rainfall in Cork (measured in millimeters) is modelled using a gamma distribution with parameters...
The daily rainfall in Cork (measured in millimeters) is modelled using a gamma distribution with parameters α = 0.8 and β = 0.3. 1) Use Markov’s inequality to upper bound the probability that the observed rainfall in a given day is larger than 3 mm, and compare the value to the result of cdf calculation. 2) Consider the overall rainfall in 365 days, and use moment generating functions and their properties to prove that this is Ga (292, 0.3). 3)...
The frequency distribution below shows the distribution of average seasonal rainfall in San Francisco, as measured...
The frequency distribution below shows the distribution of average seasonal rainfall in San Francisco, as measured in inches, for the years 1967-2017. (Show all work. Not Just the answer.) Season Rainfall (in Inches) Frequency Cumulative Relative Frequency 0 - 9.99 1 10 - 19.99 22 20 - 29.99 0.84 30 - 30.99 0.98 40 - 40.99 1.00 Total 50 (a) Why is it appropriate to use a grouped frequency distribution for this data? (b) Complete the frequency table with frequency...
The data represents the daily rainfall​ (in inches) for one month. Construct a frequency distribution beginning...
The data represents the daily rainfall​ (in inches) for one month. Construct a frequency distribution beginning with a lower class limit of 0.000.00 and use a class width of 0.200.20. Does the frequency distribution appear to be roughly a normal​ distribution? 0.480.48 0 0 0 0.180.18 0 0.180.18 0 0.020.02 0.220.22 0.450.45 0 0 0.240.24 0 0.290.29 0 0.540.54 0 1.391.39 0 0 0.190.19 0 0.010.01 0 0.260.26 0 0.210.21 0
a.) Viscosity measurements for a certain petroleum fraction can be modelled using a normal distribution with...
a.) Viscosity measurements for a certain petroleum fraction can be modelled using a normal distribution with a mean of 41 and a standard deviation of 7. The 99th percentile of this distribution is b.) Suppose X has a normal distribution with mean 3 and standard deviation 1. The 95th percentile of this distribution is Group of answer choices c.) United Airlines Flight 433 is a nonstop flight from Boston’s Logan airport to San Francisco International Airport. An important factor in...
a.) Viscosity measurements for a certain petroleum fraction can be modelled using a normal distribution with...
a.) Viscosity measurements for a certain petroleum fraction can be modelled using a normal distribution with a mean of 41 and a standard deviation of 7. The 99th percentile of this distribution is b.) Suppose X has a normal distribution with mean 3 and standard deviation 1. The 95th percentile of this distribution is Group of answer choices c.) United Airlines Flight 433 is a nonstop flight from Boston’s Logan airport to San Francisco International Airport. An important factor in...
The life time X of a component, costing $1000, is modelled using an exponential distribution with...
The life time X of a component, costing $1000, is modelled using an exponential distribution with a mean of 5 years. If the component fails during the first year, the manufacturer agrees to give a full refund. If the component fails during the second year, the manufacturer agrees to give a 50% refund. If the component fails after the second year, but before the fifth year the manufacturer agrees to give a 10% refund. (a) What is the probability that...
1. The systolic blood pressure (given in millimeters) of females has an approximately normal distribution with...
1. The systolic blood pressure (given in millimeters) of females has an approximately normal distribution with mean μ = 122 millimeters and standard deviation σ = 16 millimeters. Systolic blood pressure for females follows a normal distribution. What is the probability that a female’s systolic blood pressure is less than 90 millimeters? Round answer to 3 decimal places 2. The systolic blood pressure (given in millimeters) of females has an approximately normal distribution with mean μ = 122 millimeters and...
Find the mean and variance of the gamma distribution using integration to obtain E(X) and E(X^2...
Find the mean and variance of the gamma distribution using integration to obtain E(X) and E(X^2 ). [Hint: Express the integrand in terms of a gamma density.] [Hint: Use the fact that the integral of a valid pdf must be equal to 1.]
The lifespan of a system component follows a Gamma distribution with β (unknown) and α=1. (hint:...
The lifespan of a system component follows a Gamma distribution with β (unknown) and α=1. (hint: start with confidence interval for μ) f(x)=(1/βα Γ(α)) Xα-1 e-X/β a.      Derive 98% large sample confidence interval for β. b.      Find maximum likelihood estimator of β. a) 98% large sample confidence interval fo β is b) MLE for β is
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT