Matlab Programs

llrtest: performs a likelihood ratio test between two nested models. To use this program you will need either to install Jim LeSage's Econometrics toolbox or to install his chis_prb m-file.

waldtest: performs a wald test on the parameters of a model. Does not require from the user to specify the complete matrix of constraints. You can simply tell it for which parameters you want to test if they equal some value for instance. Or, you could also very easily test for the equality of a group of parameters. To use this program you will need either to install Jim LeSage's Econometrics toolbox or to install his chis_prb m-file.

signum: computes the number of significant digits in the difference between two numbers.

subjectid: creates a matrix z with on each row random integers between 1 and width(z). I use this if, for instance, I need random subject numbers for 7 subjects over 20 periods for an experiment (z=subjectid(7,20)).

openrule: this gives the stationary subgame perfect equilibrium outcome (it computes the number of members in the coalition, the share to the proposer, and the share to the other coalition members) for the open rule game described in Baron and Ferejohn (1989), Bargaining in Legislatures, APSR, pp. 1181-1206.

To go back to my homepage click here.
To go to my econ page click here.
To go to my Stata program page click here.
To go to my family and hobbies page click here.

Created on ... March 02, 2001