10.07.2015 Views

Statistics I Exercises

Statistics I Exercises

Statistics I Exercises

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(c) Find a non-negative vector x whose elements sum to one and which satisfies P ′ x = x.Do you see any connection between P 10 and x?7. The“vec”operator stacks the columns of a matrix one underneath the other. I.e., if A = [a ij ],thenvec(A) = (a 11 , . . . , a m1 , a 12 , . . . , a m2 , . . . , a 1n , . . . , a mn ).Implement vec.8. For symmetric matrices, e.g. the supradiagonal elements are redundant. The “vech” operatorextracts the non-supradiagonal elements of an n × n matrix A as follows:vech(A) = (a 11 , . . . , a n1 , a 22 , . . . , a n2 , . . . , a nn ).Implement vech.9. The duplication matrix D n is defined as the unique matrix satisfyingD n vech(A) = vec(A)for all symmetric n × n matrices A, and can be used to recover a symmetric A from itsnon-redundant vech elements. Write a function returning D n for given n.10. Investigate the singular values of the duplication matrix D n .11. The elimination matrix L n is the unique matrix satisfyingL n vec(A) = vech(A)for all n × n matrices A. Write a function returning L n for given n.12. What is the singular value decomposition of L n ?13. Let A be an arbitrary m × n matrix. Clearly, vec(A) and vec(A ′ ) contain the same elements,but arranged in different order. Hence, there exists a unique mn × mn matrix K mn , thecommutation matrix, for whichK mn vec(A) = vec(A ′ ).Write a function returning K mn for given m and n.14. Investigate the singular values of the commutation matrix K mn .15. The 2-norm of a matrix A is defined as‖A‖ 2 = maxx≠0‖Ax‖ 2‖x‖ 2.How can ‖ · ‖ 2 be expressed in terms of the singular values of A? Implement ‖ · ‖ 2 .16. The condition number of a regular square matrix A is defined as κ(A) = ‖A‖‖A −1 ‖. If the2-norm is used, how can κ be expressed in terms of the singular values of A? Implement κ.17. Consider a linear system Ax = b for a regular matrix A. We are interested in estimating theeffect of changes in the rhs b on the solutions x. Show that the relative error in x does notexceed the relative error in b multiplied by the condition number of A, i.e.,‖∆x‖‖x‖≤ κ(A)‖∆b‖ ‖b‖where ∆b and ∆x are the changes in b and x, respectively. (The bound is rather pessimistic.)(Hint: note that ∆x = A −1 ∆b and ‖b‖ = ‖Ax‖ ≤ ‖A‖‖x‖.)2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!