Compute Ramsey’s regression specification error test.

Syntax

reset(n, options)

You must provide the number of powers of fitted terms n to include in the test regression.

Options

prompt | Force the dialog to appear from within a program. |

p | Print the test result. |

Examples

ls lwage c edu race gender

reset(2)

carries out the RESET test by including the square and the cube of the fitted values in the test equation.

Cross-references