I tried writing a dynare code for the paper by Boldrin, Christiano and Fisher (Habit Persistence, Asset Returns and the Business Cycle). my code is for their two-sector model in the paper. Unfortunately, dynare always get indeterminacy, I don't know why. By the way, do you guys have a sample code for two-sector model?
I attached my code
main_bcf is the driver.
TSRBC_ss is for calculate the steady state.
TSRBC is for simulation purpose.