APPLY Subcommand (2SLS command)

APPLY allows you to use a previously defined 2SLS model without having to repeat the specifications.

  • The only specification on APPLY is the name of a previous model. If a model name is not specified, the model that was specified on the previous 2SLS command is used.
  • To change the series that are used with the model, enter new series names before or after the APPLY subcommand.
  • To change one or more model specifications, specify the subcommands of only those portions that you want to change after the APPLY subcommand.
  • If no series are specified on the command, the series that were originally specified with the model that is being reapplied are used.

Example

2SLS Y1 WITH X1 X2 / X1 WITH Y1 X2
  /INSTRUMENTS=X2 X3.
2SLS APPLY
  /INSTRUMENTS=X2 X3 LAGX1.
  • In this example, the first command requests 2SLS using X2 and X3 as instruments.
  • The second command specifies the same equations but changes the instruments to X2, X3, and LAGX1.