Transcription of Syntax - Stata
{{id}} {{{paragraph}}}
Obtain predictions, residuals, etc., after estimation programming commandSyntaxDescriptionOptionsMethods and formulasReferenceAlso seeSyntaxAfter regresspredict[type]newvar[if] [in] [, xb stdp stdf stdr hat cooksdresiduals rstandard rstudent nolabel]After single-equation (SE) estimatorspredict[type]newvar[if] [in] [, xb stdp nooffset nolabel]After multiple-equation (ME) estimatorspredict[type]newvar[if] [in] [, xb stdp stddp nooffset nolabelequation(eqno[,eqno])]Description predictis for use by programmers as a subroutine for implementing thepredictcommandfor use after estimation; see [R] the linear prediction from the fitted model. That is, all models can be thought of asestimating a set of parametersb1,b2,..,bk, and the linear prediction is yj=b1x1j+b2x2j+ +bkxkj, often written in matrix notation as yj=xjb.
Reference Cook, R. D. 1977. Detection of influential observation in linear regression. Technometrics 19: 15–18. Also see [R] predict — Obtain predictions, residuals, etc., after estimation [U] 20 Estimation and postestimation commands
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}