Effective number of parties

From formulasearchengine
Revision as of 20:19, 5 January 2014 by en>ReconditeRodent (Filling in 2 references using Reflinks)
Jump to navigation Jump to search

Template:Regression bar In linear regression mean response and predicted response are values of the dependent variable calculated from the regression parameters and a given value of the independent variable. The values of these two responses are the same, but their calculated variances are different.

Straight line regression

In straight line fitting, the model is

yi=α+βxi+ϵi

where yi is the response variable, xi is the explanatory variable, εi is the random error, and α and β are parameters. The predicted response value for a given explanatory value, xd, is given by

y^d=α^+β^xd,

while the actual response would be

yd=α+βxd+ϵd

Expressions for the values and variances of α^ and β^ are given in linear regression.

Mean response is an estimate of the mean of the y population associated with xd, that is E(y|xd)=y^d. The variance of the mean response is given by

Var(α^+β^xd)=Var(α^)+(Varβ^)xd2+2xdCov(α^,β^).

This expression can be simplified to

Var(α^+β^xd)=σ2(1m+(xdx¯)2(xix¯)2).

To demonstrate this simplification, one can make use of the identity

(xix¯)2=xi21m(xi)2.

The predicted response distribution is the predicted distribution of the residuals at the given point xd. So the variance is given by

Var(yd[α^+β^xd])=Var(yd)+Var(α^+β^xd).

The second part of this expression was already calculated for the mean response. Since Var(yd)=σ2 (a fixed but unknown parameter that can be estimated), the variance of the predicted response is given by

Var(yd[α^+β^xd])=σ2+σ2(1m+(xdx¯)2(xix¯)2)=σ2(1+1m+(xdx¯)2(xix¯)2).

Confidence intervals

The 100(1α)% confidence intervals are computed as yd±tα2,mn1Var. Thus, the confidence interval for predicted response is wider than the interval for mean response. This is expected intuitively – the variance of the population of y values does not shrink when one samples from it, because the random variable εi does not decrease, but the variance of the mean of the y does shrink with increased sampling, because the variance in α^ and β^ decrease, so the mean response (predicted response value) becomes closer to α+βxd.

This is analogous to the difference between the variance of a population and the variance of the sample mean of a population: the variance of a population is a parameter and does not change, but the variance of the sample mean decreases with increased samples.

General linear regression

The general linear model can be written as

yi=j=1j=nXijβj+ϵi

Therefore since yd=j=1j=nXdjβ^j the general expression for the variance of the mean response is

Var(j=1j=nXdjβ^j)=i=1i=nj=1j=nXdiMijXdj,

where M is the covariance matrix of the parameters, given by

M=σ2(XTX)1.

Template:No footnotes

References

  • 20 year-old Real Estate Agent Rusty from Saint-Paul, has hobbies and interests which includes monopoly, property developers in singapore and poker. Will soon undertake a contiki trip that may include going to the Lower Valley of the Omo.

    My blog: http://www.primaboinca.com/view_profile.php?userid=5889534


Template:Least squares and regression analysis