Jika adalah peringkat penuh, kebalikan dari ada dan kita mendapatkan kuadrat
Bagaimana kita menjelaskan secara intuitif dalam rumus varian? Teknik derivasi jelas bagi saya.
Jika adalah peringkat penuh, kebalikan dari ada dan kita mendapatkan kuadrat
Bagaimana kita menjelaskan secara intuitif dalam rumus varian? Teknik derivasi jelas bagi saya.
Jawaban:
Pertimbangkan regresi sederhana tanpa suku yang konstan, dan di mana regressor tunggal berpusat pada mean sampelnya. Kemudian adalah ( n kali) varians sampelnya, dan ( X ′ X ) - 1 adalah recirpocal. Jadi semakin tinggi varians = variabilitas dalam regressor, semakin rendah varians dari penaksir koefisien: semakin banyak variabilitas yang kita miliki dalam variabel penjelas, semakin akurat kita dapat memperkirakan koefisien yang tidak diketahui.
Mengapa? Karena semakin beragam regressor, semakin banyak informasi yang dikandungnya. Ketika banyak regressor, ini menggeneralisasi ke kebalikan dari matriks varians-kovarians mereka, yang juga memperhitungkan ko-variabilitas regressor. Dalam kasus ekstrim di mana adalah diagonal, maka ketepatan untuk masing-masing koefisien diperkirakan hanya bergantung pada varians / variabilitas regressor terkait (diberikan varians dari istilah kesalahan).
Cara sederhana untuk melihat adalah sebagai analog matriks (multivarian) , yang merupakan varian dari koefisien kemiringan dalam regresi OLS sederhana. Satu bahkan bisa mendapatkanσ2, untuk varian itu dengan menghentikan intersep dalam model, yaitu dengan melakukan regresi melalui titik asal.
Dari salah satu formula ini dapat dilihat bahwa variabilitas yang lebih besar dari variabel prediktor secara umum akan mengarah pada estimasi koefisien yang lebih tepat. Ini adalah ide yang sering dimanfaatkan dalam desain eksperimen, di mana dengan memilih nilai untuk (non-random) prediktor, salah satu mencoba untuk membuat determinan sebagai besar mungkin, determinan menjadi ukuran variabilitas.
Apakah transformasi linear variabel acak Gaussian membantu? Menggunakan aturan bahwa jika, , maka A x + b ∼ N ( A μ + b , A T Σ A ) .
Dengan asumsi, bahwa adalah model yang mendasarinya dan ϵ ∼ N ( 0 , σ 2 ) .
Jadi hanyalah matriks penskalaan rumit yang mengubah distribusi .
Semoga itu bermanfaat.
Saya akan mengambil pendekatan berbeda dalam mengembangkan intuisi yang mendasari formula . Ketika mengembangkan intuisi untuk model regresi berganda, akan sangat membantu untuk mempertimbangkan model regresi linier bivariat,yaitu. ,yi=α+βxi+εi,α + β x i sering disebut kontribusi deterministik untuk y i , dan ε i disebut kontribusi stokastik. Dinyatakan dalam hal penyimpangan dari mean sampel ( ˉ x , ˉ y ) , model ini juga dapat ditulis sebagai ( y i - ˉ y ) = β ( x i - ˉ x ) + ( ε
To help develop the intuition, we will assume that the simplest Gauss-Markov assumptions are satisfied: nonstochastic, for all , and for all . As you already know very well, these conditions guarantee that
Why should doubling the sample size, ceteris paribus, cause the variance of to be cut in half? This result is intimately linked to the iid assumption applied to : Since the individual errors are assumed to be iid, each observation should be treated ex ante as being equally informative. And, doubling the number of observations doubles the amount of information about the parameters that describe the (assumed linear) relationship between and . Having twice as much information cuts the uncertainty about the parameters in half. Similarly, it should be straightforward to develop one's intuition as to why doubling also doubles the variance of .
Let's turn, then, to your main question, which is about developing intuition for the claim that the variance of is inversely proportional to the variance of . To formalize notions, let us consider two separate bivariate linear regression models, called Model and Model from now on. We will assume that both models satisfy the assumptions of the simplest form of the Gauss-Markov theorem and that the models share the exact same values of , , , and . Under these assumptions, it is easy to show that ; in words, both estimators are unbiased. Crucially, we will also assume that whereas , . Without loss of generality, let us assume that . Which estimator of will have the smaller variance? Put differently, will or be closer, on average, to ? From the earlier discussion, we have for . Because by assumption, it follows that . What, then, is the intuition behind this result?
Because by assumption , on average each will be farther away from than is the case, on average, for . Let us denote the expected average absolute difference between and by . The assumption that implies that . The bivariate linear regression model, expressed in deviations from means, states that for Model and for Model . If , this means that the deterministic component of Model , , has a greater influence on than does the deterministic component of Model , . Recall that the both models are assumed to satisfy the Gauss-Markov assumptions, that the error variances are the same in both models, and that . Since Model imparts more information about the contribution of the deterministic component of than does Model , it follows that the precision with which the deterministic contribution can be estimated is greater for Model than is the case for Model . The converse of greater precision is a lower variance of the point estimate of .
It is reasonably straightforward to generalize the intuition obtained from studying the simple regression model to the general multiple linear regression model. The main complication is that instead of comparing scalar variances, it is necessary to compare the "size" of variance-covariance matrices. Having a good working knowledge of determinants, traces and eigenvalues of real symmetric matrices comes in very handy at this point :-)
Say we have observations (or sample size) and parameters.
The covariance matrix of the estimated parameters etc. is a representation of the accuracy of the estimated parameters.
If in an ideal world the data could be perfectly described by the model, then the noise will be . Now, the diagonal entries of correspond to etc. The derived formula for the variance agrees with the intuition that if the noise is lower, the estimates will be more accurate.
In addition, as the number of measurements gets larger, the variance of the estimated parameters will decrease. So, overall the absolute value of the entries of will be higher, as the number of columns of is and the number of rows of is , and each entry of is a sum of product pairs. The absolute value of the entries of the inverse will be lower.
Hence, even if there is a lot of noise, we can still reach good estimates of the parameters if we increase the sample size .
I hope this helps.
Reference: Section 7.3 on Least squares: Cosentino, Carlo, and Declan Bates. Feedback control in systems biology. Crc Press, 2011.
This builds on @Alecos Papadopuolos' answer.
Recall that the result of a least-squares regression doesn't depend on the units of measurement of your variables. Suppose your X-variable is a length measurement, given in inches. Then rescaling X, say by multiplying by 2.54 to change the unit to centimeters, doesn't materially affect things. If you refit the model, the new regression estimate will be the old estimate divided by 2.54.
The matrix is the variance of X, and hence reflects the scale of measurement of X. If you change the scale, you have to reflect this in your estimate of , and this is done by multiplying by the inverse of .