# Thread:

1. ## Idempotent matrix

This involves a bit of distribution theory but I think the solution involves more linear algebra than statistics so I'm posting here.

Question:

A is an idempotent matrix. If $X \sim N (0, I_k )$ (where X is a n dimensional vector). The rank of A is m. Show that $X'AX \sim \chi ^2_m$. (Hint: Use the fact that A's eigenvalues are either 0 or 1)

My attempt:

I'm thinking I have to diagonalise A?

So let A = SDS' where D is a diagonal matrix with A's eigenvalues on its diagonal.

So $X'AX = X'SD^{\frac{1}{2}}D^{\frac{1}{2}}S'X$

Let $T = D^{\frac{1}{2}}S'X$

Then E(T) = 0 and $Var(T) = D^{\frac{1}{2}}S'SD^{\frac{1}{2}}$ ??

I think I'm not going anywhere with this.

2. Originally Posted by WWTL@WHL
This involves a bit of distribution theory but I think the solution involves more linear algebra than statistics so I'm posting here.

Question:

A is an idempotent matrix. If $X \sim N (0, I_k )$ (where X is a n dimensional vector). The rank of A is m. Show that $X'AX \sim \chi ^2_m$. (Hint: Use the fact that A's eigenvalues are either 0 or 1)

My attempt:

I'm thinking I have to diagonalise A?

So let A = SDS' where D is a diagonal matrix with A's eigenvalues on its diagonal.

So $X'AX = X'SD^{\frac{1}{2}}D^{\frac{1}{2}}S'X$

Let $T = D^{\frac{1}{2}}S'X$

Then E(T) = 0 and $Var(T) = D^{\frac{1}{2}}S'SD^{\frac{1}{2}}$ ??

I think I'm not going anywhere with this.

What is N(0,I_k)? What does " X ~ N(0, I_k) " mean? What is X_m? A characteristic fucntion of some set?
Later you write about E(T) and Var(T)...what are these??

Perhaps this is related to probability or something, but this section is about algebra, and the above looks chinese to me.

Tonio
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 10, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9192397594451904, "perplexity_flag": "middle"}