DOC PREVIEW
ISU STAT 511 - Homework 1 -2004

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Stat 511 HW#1 Spring 2004 1. Write out the following models of elementary/intermediate statistical analysis in the matrix form =+YXβε: a) A one-variable quadratic polynomial regression model 201 2iiiiyxxααα ε=+ + + for 1, 2, , 5i = … b) A two-factor ANOCVA model without interactions ()...ijk i j ijk ijkyxxµαβγ ε=+ + + − + for 1, 2, 1, 2, and 1, 2ij k== =. 2. Rencher, Problem 2.46. (See, for example, panels 162-168 of Koehler’s notes or page 31 of Rencher.) Then load the MASS package in R and use the function ginv() provided by that package to find a generalized inverse. Does R return either of the generalized inverses you found “by hand”? 3. Consider the one-way ANOVA model (example b)) from class, version 2. Suppose, however, that there are 4 treatments (groups) and the sample sizes are respectively 2,1,1,2 for treatments 1 through 4. Show that the perpendicular projection matrix onto ()C X (for observations in Y listed in the order of group index) is .5 .5 0 0 0 0.5 .5 0 0 0 00010000001000 0 0 0 .5 .50 0 0 0 .5 .5 Do this two ways. First apply the following theorem (Theorem B.33 of Christensen). Theorem B.33 M is a perpendicular projection matrix onto ()C M if and only if =MM M and ′=MM. (You’ll need to reason that every column of X can be written as a linear combination of columns of M and vice versa, so that () ( )CC=XM.) Then secondly, use the construction for XP (involving a generalized inverse) given in class. 4. In the context of Problem 3, Suppose that ()2,1, 4, 6, 3, 5′=Y . a) Find ˆY , the least squares estimate of E=YXβ . Show that there is no sensible way to identify an “ordinary least squares estimate of β ” by finding two different vectors b with ˆ=Xb Y.b) Use R and compute all of () ()()ˆˆˆ ˆ ˆˆ ˆ ˆ, , ,,, and ′′′′−−−−YYYYYYYYYY YY YY. 5. Stat 542 and Stat 447 are supposed to cover multivariate distributions, and in particular multivariate normal distributions. Chapters 3 and 4 of Rencher cover that material and there are some summary facts in Appendix 7.1 of the Stat 511 Course Outline on this material. Review those if you need to do so. Then answer the following (making use of R to do matrix calculations). Suppose that ()3MVN ,YµΣ∼ with ()0,1, 0′=µ and 30 10501010−=−Σ a) What is the marginal distribution of 3y ? b) What is the (marginal joint) distribution of 13and yy? c) What is the conditional distribution of 3y given that 12y=? d) What is the conditional distribution of 3y given that 122 and 1yy==− ? e) What is the conditional distribution of 13and yy, given that 21y=− ? f) What are the correlations 12 13 23, , and ρρρ? g) What is the joint distribution of 123uy y y=−+ and 1231vyy=++? 6. (Koehler) Use the eigen() function in R to compute the eigenvalues and eigenvectors of 31115 1113−=− −−V Then use R to find an “inverse square root” of this matrix. That is, find a symmetric matrix W such 1−=WW V . See slides 87-89 and 91of Koehler's notes or page 48 of Rencher for help with this. Koehler's Result 1.12 is Rencher’s Theorem 2.12D, page 46. 7. (Koehler) Consider the matrices 4 4.001 4 4.001 and 4.001 4.002 4.001 4.002001 ==  AB Obviously, these matrices are nearly identical. Use R and compute the determinants and inverses of these matrices. (Note that 113−−≈−AB even though the original two matrices are nearly the same. This shows that small changes in the in the elements of nearly singular matrices can have big effects on some matrix


View Full Document

ISU STAT 511 - Homework 1 -2004

Download Homework 1 -2004
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Homework 1 -2004 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Homework 1 -2004 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?