Docsity

4 Problems on Statistical Computing - Quiz 1 | STAT 771, Quizzes of Statistics

Toggle sidebar
bg1
STAT 771 Quiz 1 Newton: 2–16–09.
Record all answers in the blue books. Show your work.
1. The normal linear regression model relates the n×pdesign matrix Xto the n×1 response
vector Yaccording to Y=Xβ +, where is an n×1 vector of mean zero, constant variance,
uncorrelated normal errors, and βis an unknown p×1 parameter vector. We know that the
least squares estimator ˆ
β(also the MLE in the normal model) satisfies the normal equations
XTXˆ
β=XTY.
Describe one way that a matrix decomposition can be used to solve for ˆ
βwithout explicitly
inverting (XTX).
2. Recall the zero-inflated-Poisson (ZIP) model, in which the observable count variable Xi=
BiZi, where Biis a Bernoulli(1/2) variable and Ziis an independent Poisson variable with
mean θ. Recall also that upon observing a random sample of nZIP variables, the log likelihood
l(θ) equals
l(θ) = c+n0log [1 + exp(−θ)] −(n−n0)θ+tlog(θ)
where n0is the number of zeros, tis the total observed count, and cdoes not depend on θ.
(a) Derive the score function and the observed information function.
(b) Describe the Newton-Raphson algorithm for computing the MLE ˆ
θ.
(c) Derive the Fisher information.
3. Three measurements X1, X2,and X3are modeled to be independent and identically distributed
draws from Laplace distribution with unit scale and unknown center θ. That is, their common
probability density function is
f(x|θ) = 1
2exp {−|x−θ|}
for real x. (Of course, |u|is the absolute value of u.) Evaluate and sketch the log likelihood
function l(θ) upon observing (x1, x2, x3) = (6.0,4.0,7.0). What is the maximum likelihood
estimate of θ?
4. Let Adenote a p×psymmetric positive definite matrix. The p−vector vis called an eigenvector
of Aif for some real value λ,Av =λv. Show that λ > 0.

Partial preview of the text

Download 4 Problems on Statistical Computing - Quiz 1 | STAT 771 and more Quizzes Statistics in PDF only on Docsity!

STAT 771 Quiz 1 Newton: 2–16–09. Record all answers in the blue books. Show your work.

  1. The normal linear regression model relates the n × p design matrix X to the n × 1 response vector Y according to Y = Xβ + , where  is an n × 1 vector of mean zero, constant variance, uncorrelated normal errors, and β is an unknown p × 1 parameter vector. We know that the least squares estimator βˆ (also the MLE in the normal model) satisfies the normal equations

XT^ X βˆ = XT^ Y.

Describe one way that a matrix decomposition can be used to solve for βˆ without explicitly inverting (XT^ X).

  1. Recall the zero-inflated-Poisson (ZIP) model, in which the observable count variable Xi = BiZi, where Bi is a Bernoulli(1/2) variable and Zi is an independent Poisson variable with mean θ. Recall also that upon observing a random sample of n ZIP variables, the log likelihood l(θ) equals

l(θ) = c + n 0 log [1 + exp(−θ)] − (n − n 0 )θ + t log(θ)

where n 0 is the number of zeros, t is the total observed count, and c does not depend on θ.

(a) Derive the score function and the observed information function. (b) Describe the Newton-Raphson algorithm for computing the MLE θˆ. (c) Derive the Fisher information.

  1. Three measurements X 1 , X 2 , and X 3 are modeled to be independent and identically distributed draws from Laplace distribution with unit scale and unknown center θ. That is, their common probability density function is

f (x|θ) =^1 2

exp {−|x − θ|}

for real x. (Of course, |u| is the absolute value of u.) Evaluate and sketch the log likelihood function l(θ) upon observing (x 1 , x 2 , x 3 ) = (6. 0 , 4. 0 , 7 .0). What is the maximum likelihood estimate of θ?

  1. Let A denote a p×p symmetric positive definite matrix. The p−vector v is called an eigenvector of A if for some real value λ, Av = λv. Show that λ > 0.