Assignments


Homework10: (complete by Monday December 4)


Homework09: (complete by Monday November 13)


Homework08: (complete by Monday November 6)


Homework07: (complete by Monday October 30)


Homework06: (complete by Monday October 9)


Homework05: (complete by Monday October 2)

Exercise 1: (L.L.N.) Demonstrate the Law of Large Numbers for the Normal Distribution.

cummean <- function(w){
   n <- length(w)
   y <- numeric(n)
   x <- c(1:n)
   y <- cumsum(w)
   y <- y/x
   return(y)
}

Exercise 2: (C.L.T.) Demonstrate the Central Limit Theorem for the Normal and Exponential Distributions.

Exercise 3: Demonstrate the independence of the sample mean and sample variance when sampling from the \(Normal(\mu = 5, \sigma^2 = 2^2 = 4)\).


Homework04: (complete by Monday September 25)

Exercise 1: Prove \(Var(X) = E[X^2] -(E[X])^2\).

Exercise 2: Prove \(E[Y] = E[E[Y|X]]\).

Exercise 3: Prove \(Var(Y) = Var(E[Y|X]) + E[Var(Y|X))]\).


Homework03: (complete by Monday September 18)


Homework02: (complete by Monday September 11)

Exercise 1: Using R verify that these models are the same: GAMMA(\(\alpha = n/2, 1/2\)) = CHISQ(\(n\)). To show this compute the cumulative probabilities for the two models using the pgamma() and pchisq() commands for the same value of \(x\) and parameter \(n\). Or use qgamma() and qchisq() to determine the 25th percentile (quantile) for each distribution.


Homework01: (complete by Monday Sept. 4)

Exercise 1: Use R to

  1. Plot the model BIN(\(n\) = 10, \(p\) = 0.5)
  2. Plot the model POIS(\(\lambda\) = 5)
  3. Determine the value of the 25th percentile (quantile) for each distribution.

Exercise 2: Using R simulate \(n\) = 100 standard normal values, square each value, and plot histograms. Comment on the shape of the distribution.

Exercise 3:

  1. Using R plot the model Exponential p.d.f. for \(\lambda\) = 0.4, 1, 8. Determine the 25th percentile (quantile) for each distribution.
  2. Using R plot the model Gamma p.d.f. for \(\alpha\) = 1, \(\lambda\) = 0.4, 1, 8 and for \(\alpha\) = 0.5, 1, 5, \(\lambda\) = 2.5. Determine the 25th percentile (quantile) for each distribution.