联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Java编程Java编程

日期:2021-06-17 10:33

Task #3 Principal Component Analysis

[Subject: Applied Econometrics]

Principal Component Analysis, or PCA in short, is a widely used method in applied

econometrics. Let a random vector have the multivariate normal distribution

where the covariance matrix is positive definite. The multivariate normal

distribution is a natural extension of univariate normal distribution. Its corresponding

probability density function (p.d.f.) is for any ,

Please note that when , the p.d.f. is

The spectral decomposition of is written as . Here, the columns,

of are the eigenvectors corresponding to the eigenvalues

which form the main diagonal of the matrix . Assume without loss of generality that the

eigenvalues are decreasing; i.e., .

Define a new random vector as . Given by an important theorem in

statistics

1

, we know that has a distribution. Hence the components

are independent random variables and, for , has a

distribution. The random vector is called the vector of principal components.

You are required to complete the following questions.

1. The total variation ( ) of a random vector is the sum of the variances of its

components. For the random vector , prove that , where

.

2. The first component of , which is given by . This is a linear

combination of the component of with the property

, because is orthogonal. Consider any other linear

combination of , say such that . Show that there are

scalars such that

1. The exact statement of the theorem refers to Theorem B.10 in a famous econometric textbook written by Greene, namely

Econometric Analysis. ?

and .

3. Try to write a MATLAB script to find its principal components of any given

random vector . Compare your results with the official MATLAB function pca.

4. One important feature of PCA is dimensionality reduction. For example, a CEO in

a given firm may have multiple characteristics, such as education, confidence

and social connections. Scholars prefer one indicator to measure the overall

ability of CEO. PCA could finish this task by taking advantage of the first (and

also the maximal) principal component.

Let's construct a Management Quality Factor measure with PCA using Chinese

public companies. Use the CEO data from CSMAR and construct a measure for

CEO quality.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp