respy.tests.test_replication_kw_94
Test replication of key results in [1] and [2].
For [1], we test the following replications:
Table 6: Only means and standard deviations for the exact solution.
For [2], we test the following replications:
Tables 2.1-2.3: Choice probabilities per period.
Keane, M. P. and Wolpin, K. I. (1994). The Solution and Estimation of Discrete Choice Dynamic Programming Models by Simulation and Interpolation: Monte Carlo Evidence. The Review of Economics and Statistics, 76(4): 648-672.
Keane, M. P. and Wolpin, K. I. (1994b). The Solution and Estimation of Discrete Choice Dynamic Programming Models by Simulation and Interpolation: Monte Carlo Evidence. Federal Reserve Bank of Minneapolis, No. 181.
test_table_6_exact_solution_row_mean_and_sd(model, subsidy)
test_table_6_exact_solution_row_mean_and_sd
Replicate the first two rows of Table 6 in Keane and Wolpin (1994).
test_replication_of_choice_probabilities(model, table)
test_replication_of_choice_probabilities
Replicate choice probabilities in Tables 2.1-2.3. in Keane and Wolpin (1994b).
respy.tests.test_replication_kw_94.
pytestmark
In more detail, the mean effects and the standard deviations of a 500, 1000, and 2000 dollar tuition subsidy on years of schooling and of experience in occupation a and occupation b based on 40 samples of 100 individuals using true parameters are tested.
For each of the three parameterizations a data set is simulated and the choice probabilities for each period are compared to the numbers in the paper.
respy.tests.test_regression
respy.tests.test_replication_kw_97