Differences between revisions 8 and 9
Revision 8 as of 2025-05-17 03:22:35
Size: 3381
Comment: More attachments
Revision 9 as of 2025-05-17 03:26:43
Size: 3305
Comment: Finishing content... for now
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:
This is mostly interesting in the multivariate case, where ''E['''uu'''^T^|'''X''']'' is still not practical. The assumptions made, when incorrect, lead to... This is mostly interesting in the multivariate case, where ''E['''εε'''^T^|'''X''']'' is still not practical. The assumptions made, when incorrect, lead to...
Line 91: Line 91:
\hat{Var}(\mathbf{b} | \mathbf{X}) = (\mathbf{X}^T\mathbf{X})^{-1}\mathbf{X}^T \mathbf{\Sigma} \mathbf{X}(\mathbf{X}^T\mathbf{X})^{-1} {{attachment:robust.svg}}
Line 94: Line 94:



----
CategoryRicottone

Standard Errors

Standard errors are the standard deviations of estimated coefficients.


Description

In the classical OLS model,, estimated coefficients are:

  • univariate case: coef1.svg

  • multivariate case: coef2.svg

Standard errors are the standard deviations of these coefficients.


Classical

Univariate

In the univariate case, standard errors are classically specified as:

unispec1.svg

Supposing the population Var(ε) is known and errors are homoskedastic, i.e. they are constant across all cases, this can be simplified.

unispec2.svg

Lastly, rewrite the denominator in terms of Var(X).

unispec3.svg

Var(ε) is unknown, so this term is estimated as:

uniest1.svg, uniest2.svg

1 degree of freedom is lost in assuming homoskedasticity of errors, i.e. homosked.svg; and k degrees of freedom are lost in assuming independence of errors and k independent variables, which is necessarily 1 in the univariate case, i.e.: ind.svg

This arrives at estimation as:

uniest3.svg

Multivariate

The classical multivariate specification is expressed in terms of (b-β), as:

multspec1.svg

That term is rewritten as (XTX)-1.

multspec2.svg

multspec3.svg

E[εεT|X] is not a practical matrix to work with, even if known. But if homoskedasticity and independence are assumed, i.e.: homosked_ind.svg, then this simplifies to:

multspec4.svg

s2 is unknown, so this term is estimated as:

multspec5.svg

This arrives at estimation as:

multspec6.svg


Robust

In the presence of heteroskedasticity of errors, the above simplifications cannot apply. In the univariate case, use the original estimator.

This is mostly interesting in the multivariate case, where E[εεT|X] is still not practical. The assumptions made, when incorrect, lead to...

  • OLS estimators are not BLUE
    • they are unbiased, but no longer most efficient in terms of MSE
  • nonlinear GLMs, such as logit, can be biased
  • even if the model's estimates are unbiased, statistics derived from those estimates (e.g., conditioned probability distributions) can be biased

Eicker-Huber-White heterskedasticity consistent errors (HCE) assume that errors are still independent but allowed to vary, i.e. Σ = diag(ε1,...εn). Importantly, this is not a function of X, so the standard errors can be estimated as:

robust.svg

Note however that heterskedasticity consistent errors are not always appropriate. To reiterate, for OLS, classical estimators are not biased even given heteroskedasticity; if the model changes with introduction of robust standard errors, there must be a specification error. Furthermore, heterskedasticity consistent errors are asymptotically unbiased; they can be biased for small n.


CategoryRicottone

Statistics/StandardErrors (last edited 2025-05-26 21:15:15 by DominicRicottone)