Docsity

Matrix Operations and Verifications with SAS/IML - Prof. Peter Hutchison Westfall, Assignments of Descriptive statistics

Toggle sidebar
bg1
1.A. Give an example to verify the matrix identity (AB)0=B0A0. Choose
Aand Bto be any matrices you like. (Do not choose trivial matrices such as
(1X1) matrices, or matrices having all zeros.)
1.B. Repeat 1.A. using SAS/IML.
2.A. Give an example to verify that AA๎˜€1=I. Choose A to be any (non-
trivial) matrix you like.
2.B. Repeat 2.A. using SAS/IML.
3.A. Give an example for which AB does NOT equal BA. Choose Aand
Bto be symmetric (2X2) matrices.
3.B. Repeat 3.A. using SAS/IML.
4.A. Give a non-trivial example to verify that (AB)๎˜€1=B๎˜€1A๎˜€1.
4.B. Repeat 4.A. using SAS/IML.
5.A. Give a (non-trivial) example to verify that (A0)๎˜€1= (A0)๎˜€1. Pick A to
be non-symmetric.
5.B. Repeat 5.A. using SAS/IML.
6.A. Do all of problem 6 using SAS/IML.
6.A. Compute the eigenvalues and eigenvectors for the (2X2) matrix
A=๎˜”2 1
1 5๎˜•:
6.B. Verify that the (2X2) matrix of eigenvectors (P) is an orthogonal matrix.
6.C. Let ๎˜ƒdenote the diagonal matrix of eigenvalues. Verify the spectral
decomposition identities A=P๎˜ƒP0and A๎˜€1=P๎˜ƒ๎˜€1P0
7. Deโ€ฆne a (2X2) matrix
A=๎˜”8 6
6 1๎˜•:
7.A. Verify that Ais NOT positive deโ€ฆnite by producing a (2X1) vector X
for which X0AX < 0.
7.B. Verify that Ais NOT positive deโ€ฆnite by checking the eigenvalues of
A. (Use SAS/IML).
1

Partial preview of the text

Download Matrix Operations and Verifications with SAS/IML - Prof. Peter Hutchison Westfall and more Assignments Descriptive statistics in PDF only on Docsity!

1.A. Give an example to verify the matrix identity (AB)^0 = B^0 A^0. Choose A and B to be any matrices you like. (Do not choose trivial matrices such as (1X1) matrices, or matrices having all zeros.) 1.B. Repeat 1.A. using SAS/IML. 2.A. Give an example to verify that AA^1 = I. Choose A to be any (non- trivial) matrix you like. 2.B. Repeat 2.A. using SAS/IML. 3.A. Give an example for which AB does NOT equal BA. Choose A and Bto be symmetric (2X2) matrices. 3.B. Repeat 3.A. using SAS/IML. 4.A. Give a non-trivial example to verify that (AB)^1 = B^1 A^1. 4.B. Repeat 4.A. using SAS/IML. 5.A. Give a (non-trivial) example to verify that (A^0 )^1 = (A^0 )^1. Pick A to be non-symmetric. 5.B. Repeat 5.A. using SAS/IML. 6.A. Do all of problem 6 using SAS/IML. 6.A. Compute the eigenvalues and eigenvectors for the (2X2) matrix

A =

6.B. Verify that the (2X2) matrix of eigenvectors (P ) is an orthogonal matrix. 6.C. Let  denote the diagonal matrix of eigenvalues. Verify the spectral decomposition identities A = P P 0 and A^1 = P ^1 P 0

  1. Deร–ne a (2X2) matrix A =

7.A. Verify that A is NOT positive deร–nite by producing a (2X1) vector X for which X^0 AX < 0. 7.B. Verify that A is NOT positive deร–nite by checking the eigenvalues of A. (Use SAS/IML).