Hey Robert,
First, thank you so much for VFI-Toolkit! After several days trying to do VFI in python, I came across the toolkit and in an hour was up and running (at least with your introduction models). The toolkit has also brought me across to MATLAB, so apologies if my question reflects my naivety with the language more than anything…
I’d like to solve a simple buffer-stock model (ala Carroll). So, I’m particularly interested in your replication of Hubbard, Skinner, and Zeldes (as a more generalized version of Carroll), but it throws the error below:
Error using ValueFnIter_Case1_FHorz_PType
Too many input arguments.
Error in HubbardSkinnerZeldes1994_function (line 127)
[~, Policy]=ValueFnIter_Case1_FHorz_PType(0,n_a,n_z,N_j,N_i, 0, a_grid, z_grid, pi_z, ReturnFn, Params, DiscountFactorParamNames,
ReturnFnParamNames,vfoptions);
Error in HubbardSkinnerZeldes1994 (line 141)
[Table1row.(descriptivestr{:}), Table2temp, Table3temp,
LifeCycProfiles.(descriptivestr{:})]=HubbardSkinnerZeldes1994_function(Params,n_a,n_z,simoptions, PTypeDist);
I’m probably missing something simple, but any help would much be much appreciated.
Thank you again for all your work.
Thomas