Question

In: Statistics and Probability

Q3. Consider the matrix A . Use R statistical software to determine the eigenvalues and normalized...

Q3. Consider the matrix A . Use R statistical software to determine the eigenvalues and normalized eigenvectors of A, trace of A, determinant of A, and inverse of A. Also determine the eigenvalues and normalized eigenvectors of A-1. Your answer should include your R code (annotated with comments) and a hand-written or typed summary of the answers from the R output.

Solutions

Expert Solution

R code:

A=matrix(c(2,4,1,4,3,1,3,1,1),nrow=3,ncol=3)
A
M=eigen(A)
M$values #eigenvalue
M$vectors #eigenvectors
prod(M$values)# determinant of A
#(Note: Alternative R code for determinant:"det(A)")
solve(A)#inverse of A
U=eigen(solve(A))
U$values #eigenvalue
U$vectors #eigenvectors

Output:

> A=matrix(c(2,4,1,4,3,1,3,1,1),nrow=3,ncol=3)
> A
[,1] [,2] [,3]
[1,] 2 4 3
[2,] 4 3 1
[3,] 1 1 1
> M=eigen(A)
> M$values #eigenvalue
[1] 7.1595227 -1.5968621 0.4373393
> M$vectors #eigenvectors
[,1] [,2] [,3]
[1,] -0.6750923 -0.75817748 0.2259423
[2,] -0.7029896 0.65073427 -0.6394382
[3,] -0.2237319 0.04137425 0.7348938
> prod(M$values)# determinant of A
[1] -5
> #(Note: Alternative R code for determinant:"det(A)")
> solve(A)#inverse of A
[,1] [,2] [,3]
[1,] -0.4 0.2 1
[2,] 0.6 0.2 -2
[3,] -0.2 -0.4 2
> U=eigen(solve(A))
> U$values #eigenvalue
[1] 2.2865541 -0.6262282 0.1396741
> U$vectors #eigenvectors
[,1] [,2] [,3]
[1,] 0.2259423 -0.75817748 0.6750923
[2,] -0.6394382 0.65073427 0.7029896
[3,] 0.7348938 0.04137425 0.2237319


Related Solutions

Please use Statistical Software R Consider a dataset called fandango in fivethirtyeight package: Identify the Top...
Please use Statistical Software R Consider a dataset called fandango in fivethirtyeight package: Identify the Top 5 best rated and Top 5 worst rated movies based on rottentomatoes. Identify the Top 5 best rated and Top 5 worst rated movies based on the average of three users’ scores (rottentomatoes_user, metacritic_user, and imdb). Visualize the difference between Fandango stars and actual Fandango ratings. Comment on what you see. Construct a formal test to see if there is a significant difference between...
Determine the eigenvalues and the corresponding normalized eigenfunctions of the following Sturm–Liouville problem: y''(x) + λy(x)...
Determine the eigenvalues and the corresponding normalized eigenfunctions of the following Sturm–Liouville problem: y''(x) + λy(x) = 0, x ∈ [0;L], y(0) = 0, y(L) = 0,
If A is the matrix for projecting onto a plane S in R³, then the eigenvalues of A in non- decreasing order are:
If A is the matrix for projecting onto a plane S in R³, then the eigenvalues of A in non- decreasing order are:
Q3. Please use R software to solve this. A confidence interval having 100(1 − α)% confidence...
Q3. Please use R software to solve this. A confidence interval having 100(1 − α)% confidence for normally distributed data is formed by y ± zα/2σ / √n. (That's actually y-bar in the expression, not y). Generate 500 records of 10 columns of normal data with mean 50 and standard deviation 10. Generate two more columns using the confidence bounds expression to give a lower and upper bound consistent with a 95% confidence interval, using each record as a sample...
Show that the following are eigenfunctions of the Laplacian operator and determine the eigenvalues: a. (r^-1)sinkr...
Show that the following are eigenfunctions of the Laplacian operator and determine the eigenvalues: a. (r^-1)sinkr b.( r^-3)[(sin^2)θ]sin2φ
Consider the given matrix. −1    2 −5    1 Find the eigenvalues. (Enter your answers...
Consider the given matrix. −1    2 −5    1 Find the eigenvalues. (Enter your answers as a comma-separated list.) λ = 3i,−3i (I got these right) Find the eigenvectors of the matrix. (Enter your answers in order of the corresponding eigenvalues, from smallest to largest by real part, then by imaginary part.) K1 = K2 = I can't seem to get the eigenvectors right.
Q3. Consider the following data: S = 100; r = .08; s = .3 on the...
Q3. Consider the following data: S = 100; r = .08; s = .3 on the following two options: Call 1   Call 2 K = 100;     K = 90 T-t=90 days.      T-t=180 days. Price: 6.91 16.33 Delta: .58 .78 Gamma: .02 .0138 3.1 A trader just shorted 100 CBOE calls 2. Calculate the number of shares necessary to create a Delta Neutral position. 3.2 A trader just shorted 100 CBOE calls 2. Calculate the number of calls 1...
How do I even begin to solve this using R statistical software? A random sample of...
How do I even begin to solve this using R statistical software? A random sample of eight pairs of twins was randomly assigned to treatment A or treatment B. The data are given in the following table: Twins 1 2 3 4 5 6 7 8 Treatment A 48.3 44.6 49.7 40.5 54.3 55.6 45.8 35.4 Treatment B 43.5 43.8 53.7 43.9 54.4 54.7 45.2 34.4 What is the p-value of the Wilcoxon signed-rank test? Is there any significant evidence...
When using r programming or statistical software: (A) From the summary, which variables seem useful for...
When using r programming or statistical software: (A) From the summary, which variables seem useful for predicting changes in independent variable? (B) For the purpose of variable selection, does the ANOVA table provide any useful information not already in the summary?
Consider an orthogonal matrix Q ∈ R ^m×m and a diagonal matrix with non-zero diagonal elements...
Consider an orthogonal matrix Q ∈ R ^m×m and a diagonal matrix with non-zero diagonal elements D ∈ R^ m×m and answer the True— False questions below. (k) Any vector x ∈ R^m can be written as a linear combination of the columns of D (l) The columns of Q span R^m (m) The columns of D span R^m (n) The columns of Q are a basis for R^m (o) The columns of D are a basis for R^m
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT