Burton Wold Wind Farm: Difference between revisions
en>Lamro link |
No edit summary |
||
Line 1: | Line 1: | ||
In [[statistics]], the '''hat matrix''', '''''H''''', sometimes also called '''projection matrix''', maps the vector of [[observed value]]s to the vector of [[fitted value]]s. It describes the influence each observed value has on each fitted value.<ref name="Hoaglin1977"> | |||
{{Citation | |||
| title = The Hat Matrix in Regression and ANOVA | |||
| first1= David C. | last1= Hoaglin | |||
|first2= Roy E. | last2=Welsch | |||
|journal= [[The American Statistician]] | |||
| volume=32 | month=February| year= 1978| pages=17–22 | |||
| doi = 10.2307/2683469 |issue=1| jstor = 2683469}} | |||
</ref> The diagonal elements of the hat matrix are the [[leverage (statistics)|leverage]]s, which describe the influence each observed value has on the fitted value for that same observation. | |||
If the vector of observed values is denoted by '''y''' and the vector of fitted values by '''ŷ''', | |||
:<math>\hat{\mathbf{y}} = H \mathbf{y}.</math> | |||
As '''ŷ''' is usually pronounced "y-hat", the hat matrix is so named as it "puts a [[circumflex|hat]] on '''y'''". | |||
Suppose that we wish to solve a [[linear model]] using [[linear least squares (mathematics)|linear least squares]]. The model can be written as | |||
:<math>\mathbf{y} = X \boldsymbol \beta + \boldsymbol \varepsilon,</math> | |||
where ''X'' is a matrix of [[explanatory variable]]s (the [[design matrix]]), '''''β''''' is a vector of unknown parameters to be estimated, and '''''ε''''' is the error vector. | |||
== Uncorrelated errors == | |||
For uncorrelated [[errors and residuals in statistics|errors]], the estimated parameters are | |||
:<math>\hat{\boldsymbol \beta} = \left(X^\top X \right)^{-1} X^\top \mathbf{y},</math> | |||
so the fitted values are | |||
:<math>\hat{\mathbf{y}} = X \hat{\boldsymbol \beta} = X \left(X^\top X \right)^{-1} X^\top \mathbf{y}.</math> | |||
Therefore the hat matrix is given by | |||
:<math>H = X \left(X^\top X \right)^{-1} X^\top.</math> | |||
In the language of [[linear algebra]], the hat matrix is the [[orthogonal projection]] onto the [[column space]] of the design matrix ''X''. (Note that <math>\left(X^\top X \right)^{-1} X^\top</math> is the [[Moore–Penrose_pseudoinverse#Full_rank|pseudoinverse of X]].) | |||
The hat matrix corresponding to a [[linear model]] is [[symmetric matrix|symmetric]] and [[idempotent]], that is, ''H''<sup>2</sup> = ''H''. However, this is not always the case; in [[local regression|locally weighted scatterplot smoothing (LOESS)]], for example, the hat matrix is in general neither symmetric nor idempotent. | |||
The formula for the vector of [[errors and residuals in statistics|residual]]s '''r''' can be expressed compactly using the hat matrix: | |||
:<math>\mathbf{r} = \mathbf{y} - \mathbf{\hat{y}} = \mathbf{y} - H \mathbf{y} = (I - H) \mathbf{y}.</math> | |||
The [[covariance matrix]] of the residuals is therefore, by [[error propagation]], equal to <math>\left(I-H \right)^\top \Sigma\left(I-H \right) </math>, where Σ is the covariance matrix of the errors (and by extension, the observations as well). For the case of linear models with [[independent and identically distributed]] errors in which Σ = ''σ''<sup>2</sup>''I'', this reduces to (''I'' − ''H'')''σ''<sup>2</sup>.<ref name="Hoaglin1977"/> | |||
For [[linear models]], the [[trace (linear algebra)|trace]] of the hat matrix is equal to the [[rank (linear algebra)|rank]] of ''X'', which is the number of independent parameters of the linear model. For other models such as LOESS that are still linear in the observations '''y''', the hat matrix can be used to define the [[degrees of freedom (statistics)#Effective degrees of freedom|effective degrees of freedom]] of the model. | |||
The hat matrix has a number of useful algebraic properties.<ref>Gans, P. (1992) ''Data Fitting in the Chemical Sciences,'', Wiley. ISBN 978-0-471-93412-7</ref><ref>Draper, N.R., Smith, H. (1998) ''Applied Regression Analysis'', Wiley. ISBN 0-471-17082-6 {{Please check ISBN|reason=Check digit (6) does not correspond to calculated figure.}}</ref> Practical applications of the hat matrix in regression analysis include [[Leverage (statistics)|leverage]] and [[Cook's distance]], which are concerned with identifying observations which have a large effect on the results of a regression. | |||
==Correlated errors== | |||
The above may be generalized to the case of correlated errors. Suppose that the [[covariance matrix]] of the errors is Σ. Then since | |||
:<math> \hat{\boldsymbol{\beta}} = \left(X^\top \Sigma^{-1} X \right)^{-1} X^\top \Sigma^{-1}\,\mathbf{y}, </math> | |||
the hat matrix is thus | |||
:<math> H = X \left(X^\top \Sigma^{-1} X\right)^{-1} X^\top \Sigma^{-1}, \, </math> | |||
and again it may be seen that ''H''<sup>2</sup> = ''H'' | |||
==Blockwise formula== | |||
Suppose the design matrix <math>C</math> can be decomposed by columns as <math>C = [A, B]</math>. | |||
Define the Hat operator as <math>H(X) = X \left(X^\top X \right)^{-1} X^\top</math>. Similarly, define the residual operator as <math>M(X) = I - H(X)</math>. | |||
Then the Hat matrix of <math>C</math> can be decomposed as follows: | |||
<math> | |||
H(C) = H(A) + H(M(A) B) | |||
</math> | |||
<ref>{{cite book|last=Rao|first=C. Radhakrishna|title=Linear Models and Generalizations|year=2008|publisher=Springer|location=Berlin|isbn=978-3-540-74226-5|pages=323|edition=3rd|coauthors=Toutenburg, Shalabh, Heumann}}</ref> | |||
There are a number of applications of such a partitioning. The classical application has <math>A</math> a column of all ones, which allows one to analyze the effects of adding an intercept term to a regression. Another use is in the fixed effects model, where <math>A</math> is a large [[sparse matrix]] of the dummy variables for the fixed effect terms. One can use this partition to compute the hat matrix of <math>C</math> without explicitly forming the matrix <math>C</math>, which might be too large to fit into computer memory. | |||
== See also == | |||
*[[Moore–Penrose pseudoinverse]] | |||
*[[Studentized residuals]] | |||
*[[Degrees of freedom (statistics)#Effective degrees of freedom|Effective degrees of freedom]] | |||
*[[Idempotent matrix]] | |||
== References == | |||
<references /> | |||
[[Category:Statistical terminology]] | |||
[[Category:Regression analysis]] | |||
[[Category:Matrices]] |
Revision as of 09:49, 11 July 2013
In statistics, the hat matrix, H, sometimes also called projection matrix, maps the vector of observed values to the vector of fitted values. It describes the influence each observed value has on each fitted value.[1] The diagonal elements of the hat matrix are the leverages, which describe the influence each observed value has on the fitted value for that same observation.
If the vector of observed values is denoted by y and the vector of fitted values by ŷ,
As ŷ is usually pronounced "y-hat", the hat matrix is so named as it "puts a hat on y".
Suppose that we wish to solve a linear model using linear least squares. The model can be written as
where X is a matrix of explanatory variables (the design matrix), β is a vector of unknown parameters to be estimated, and ε is the error vector.
For uncorrelated errors, the estimated parameters are
so the fitted values are
Therefore the hat matrix is given by
In the language of linear algebra, the hat matrix is the orthogonal projection onto the column space of the design matrix X. (Note that is the pseudoinverse of X.)
The hat matrix corresponding to a linear model is symmetric and idempotent, that is, H2 = H. However, this is not always the case; in locally weighted scatterplot smoothing (LOESS), for example, the hat matrix is in general neither symmetric nor idempotent.
The formula for the vector of residuals r can be expressed compactly using the hat matrix:
The covariance matrix of the residuals is therefore, by error propagation, equal to , where Σ is the covariance matrix of the errors (and by extension, the observations as well). For the case of linear models with independent and identically distributed errors in which Σ = σ2I, this reduces to (I − H)σ2.[1]
For linear models, the trace of the hat matrix is equal to the rank of X, which is the number of independent parameters of the linear model. For other models such as LOESS that are still linear in the observations y, the hat matrix can be used to define the effective degrees of freedom of the model.
The hat matrix has a number of useful algebraic properties.[2][3] Practical applications of the hat matrix in regression analysis include leverage and Cook's distance, which are concerned with identifying observations which have a large effect on the results of a regression.
The above may be generalized to the case of correlated errors. Suppose that the covariance matrix of the errors is Σ. Then since
the hat matrix is thus
and again it may be seen that H2 = H
Blockwise formula
Suppose the design matrix can be decomposed by columns as . Define the Hat operator as . Similarly, define the residual operator as . Then the Hat matrix of can be decomposed as follows:
There are a number of applications of such a partitioning. The classical application has a column of all ones, which allows one to analyze the effects of adding an intercept term to a regression. Another use is in the fixed effects model, where is a large sparse matrix of the dummy variables for the fixed effect terms. One can use this partition to compute the hat matrix of without explicitly forming the matrix , which might be too large to fit into computer memory.
See also
References
- ↑ 1.0 1.1
Many property agents need to declare for the PIC grant in Singapore. However, not all of them know find out how to do the correct process for getting this PIC scheme from the IRAS. There are a number of steps that you need to do before your software can be approved.
Naturally, you will have to pay a safety deposit and that is usually one month rent for annually of the settlement. That is the place your good religion deposit will likely be taken into account and will kind part or all of your security deposit. Anticipate to have a proportionate amount deducted out of your deposit if something is discovered to be damaged if you move out. It's best to you'll want to test the inventory drawn up by the owner, which can detail all objects in the property and their condition. If you happen to fail to notice any harm not already mentioned within the inventory before transferring in, you danger having to pay for it yourself.
In case you are in search of an actual estate or Singapore property agent on-line, you simply should belief your intuition. It's because you do not know which agent is nice and which agent will not be. Carry out research on several brokers by looking out the internet. As soon as if you end up positive that a selected agent is dependable and reliable, you can choose to utilize his partnerise in finding you a home in Singapore. Most of the time, a property agent is taken into account to be good if he or she locations the contact data on his website. This may mean that the agent does not mind you calling them and asking them any questions relating to new properties in singapore in Singapore. After chatting with them you too can see them in their office after taking an appointment.
Have handed an trade examination i.e Widespread Examination for House Brokers (CEHA) or Actual Property Agency (REA) examination, or equal; Exclusive brokers are extra keen to share listing information thus making certain the widest doable coverage inside the real estate community via Multiple Listings and Networking. Accepting a severe provide is simpler since your agent is totally conscious of all advertising activity related with your property. This reduces your having to check with a number of agents for some other offers. Price control is easily achieved. Paint work in good restore-discuss with your Property Marketing consultant if main works are still to be done. Softening in residential property prices proceed, led by 2.8 per cent decline within the index for Remainder of Central Region
Once you place down the one per cent choice price to carry down a non-public property, it's important to accept its situation as it is whenever you move in – faulty air-con, choked rest room and all. Get round this by asking your agent to incorporate a ultimate inspection clause within the possibility-to-buy letter. HDB flat patrons routinely take pleasure in this security net. "There's a ultimate inspection of the property two days before the completion of all HDB transactions. If the air-con is defective, you can request the seller to repair it," says Kelvin.
15.6.1 As the agent is an intermediary, generally, as soon as the principal and third party are introduced right into a contractual relationship, the agent drops out of the image, subject to any problems with remuneration or indemnification that he could have against the principal, and extra exceptionally, against the third occasion. Generally, agents are entitled to be indemnified for all liabilities reasonably incurred within the execution of the brokers´ authority.
To achieve the very best outcomes, you must be always updated on market situations, including past transaction information and reliable projections. You could review and examine comparable homes that are currently available in the market, especially these which have been sold or not bought up to now six months. You'll be able to see a pattern of such report by clicking here It's essential to defend yourself in opposition to unscrupulous patrons. They are often very skilled in using highly unethical and manipulative techniques to try and lure you into a lure. That you must also protect your self, your loved ones, and personal belongings as you'll be serving many strangers in your home. Sign a listing itemizing of all of the objects provided by the proprietor, together with their situation. HSR Prime Recruiter 2010 - ↑ Gans, P. (1992) Data Fitting in the Chemical Sciences,, Wiley. ISBN 978-0-471-93412-7
- ↑ Draper, N.R., Smith, H. (1998) Applied Regression Analysis, Wiley. ISBN 0-471-17082-6 Template:Please check ISBN
- ↑ 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