help xtdpd postestimation dialogs: predict estat
also see: xtdpd
-------------------------------------------------------------------------------
Title
[XT] xtdpd postestimation -- Postestimation tools for xtdpd
Description
The following postestimation commands are of special interest after
xtdpd:
command description
-------------------------------------------------------------------------
estat abond test for autocorrelation
estat sargan Sargan test of overidentifying restrictions
-------------------------------------------------------------------------
The following standard postestimation commands are also available:
command description
-------------------------------------------------------------------------
estat VCE and estimation sample summary
estimates cataloging estimation results
lincom point estimates, standard errors, testing, and inference for
linear combinations of coefficients
margins marginal means, predictive margins, marginal effects, and
average marginal effects
nlcom point estimates, standard errors, testing, and inference for
nonlinear combinations of coefficients
predict predictions, residuals, influence statistics, and other
diagnostic measures
predictnl point estimates, standard errors, testing, and inference for
generalized predictions
test Wald tests of simple and composite linear hypotheses
testnl Wald tests of nonlinear hypotheses
-------------------------------------------------------------------------
Special-interest postestimation commands
estat abond reports the Arellano-Bond test for serial correlation in the
first-differenced residuals.
estat sargan reports the Sargan test of the overidentifying restrictions.
Syntax for predict
predict [type] newvar [if] [in] [, xb e stdp difference]
Menu
Statistics > Postestimation > Predictions, residuals, etc.
Options for predict
+------+
----+ Main +-------------------------------------------------------------
xb, the default, calculates the linear prediction.
e calculates the residual error.
stdp calculates the standard error of the prediction, which can be
thought of as the standard error of the predicted expected value or
mean for the observation's covariate pattern. The standard error of
the prediction is also referred to as the standard error of the
fitted value. stdp may not be combined with difference.
difference specifies that the statistic be calculated for the first
differences instead of the levels, the default.
Syntax for estat abond
estat abond [, artests(#)]
Menu
Statistics > Postestimation > Reports and statistics
Option for estat abond
artests(#) specifies the highest order of serial correlation to be
tested. By default, the tests computed during estimation are
reported. The model will be refit when artests(#) specifies a higher
order than that computed during the original estimation. The model
can be refit only if the data have not changed.
Remarks for estat abond
After the one-step system estimator, the test can be computed only when
vce(robust) has been specified.
Syntax for estat sargan
estat sargan
Menu
Statistics > Postestimation > Reports and statistics
Examples
Setup
. webuse abdata
Fit a model and obtain default AR tests
. xtdpd l(0/1).(n w), dgmmiv(n) lgmmiv(n) div(w) vce(robust)
. estat abond
Request a higher order than originally computed
. estat abond, artests(3)
Compute the linear prediction for the levels
. predict xb, xb
Compute the residuals for the first differences
. predict de, e difference
Test a linear hypotheses
. test w = 0
Also see
Manual: [XT] xtdpd postestimation
Help: [XT] xtdpd