• Sébastien Villemot's avatar
    New perfect_foresight_problem MEX file · 5b591fac
    Sébastien Villemot authored
    It constructs the stacked residuals and jacobian of the perfect foresight
    problem.
    
    It is an almost perfect replacement for the perfect_foresight_problem.m
    routine, while being much more efficient.
    
    Note however that the DLL never return complex numbers (it instead puts NaNs at
    the place where there would have been complex). This may create problems for
    some MOD files; the algorithms will need to be adapted to use a more
    line-search method.
    5b591fac
Name
Last commit
Last update
..
+bgp Loading commit data...
+gui Loading commit data...
AIM Loading commit data...
backward Loading commit data...
cli Loading commit data...
convergence_diagnostics Loading commit data...
distributions Loading commit data...
ep Loading commit data...
gsa Loading commit data...
kalman Loading commit data...
lmmcp Loading commit data...
mex Loading commit data...
missing Loading commit data...
modules Loading commit data...
ms-sbvar Loading commit data...
occbin Loading commit data...
optimization Loading commit data...
parallel Loading commit data...
partial_information Loading commit data...
particles @ 66867386 Loading commit data...
perfect-foresight-models Loading commit data...
utilities Loading commit data...
AHessian.m Loading commit data...
AIM_first_order_solver.m Loading commit data...
CheckPath.m Loading commit data...
CutSample.m Loading commit data...
DsgeSmoother.m Loading commit data...
GetAllPosteriorDraws.m Loading commit data...
GetOneDraw.m Loading commit data...
GetPosteriorMeanVariance.m Loading commit data...
GetPosteriorParametersStatistics.m Loading commit data...
MakeAllFigures.m Loading commit data...
PlotPosteriorDistributions.m Loading commit data...
PosteriorIRF.m Loading commit data...
PosteriorIRF_core1.m Loading commit data...
PosteriorIRF_core2.m Loading commit data...
ReshapeMatFiles.m Loading commit data...
TaRB_optimizer_wrapper.m Loading commit data...
Tracing.m Loading commit data...
UnivariateSpectralDensity.m Loading commit data...
WriteShockDecomp2Excel.m Loading commit data...
add_filter_subtitle.m Loading commit data...
add_path_to_mex_files.m Loading commit data...
annualized_shock_decomposition.m Loading commit data...
autoregressive_process_specification.m Loading commit data...
basic_plan.m Loading commit data...
bicgstab_.m Loading commit data...
bksup0.m Loading commit data...
bksup1.m Loading commit data...
bksupk.m Loading commit data...
block_bytecode_mfs_steadystate.m Loading commit data...
block_mfs_steadystate.m Loading commit data...
bseastr.m Loading commit data...
bvar_density.m Loading commit data...
bvar_forecast.m Loading commit data...
bvar_irf.m Loading commit data...
bvar_toolbox.m Loading commit data...
bytecode_steadystate.m Loading commit data...
calibrate_mh_scale_parameter.m Loading commit data...
cartesian_product_of_sets.m Loading commit data...
cellofchar2mfile.m Loading commit data...
cellofchararraymaxlength.m Loading commit data...
check.m Loading commit data...
check_consistency_covariances.m Loading commit data...
check_dsge_var_model.m Loading commit data...
check_for_calibrated_covariances.m Loading commit data...
check_list_of_variables.m Loading commit data...
check_matlab_path.m Loading commit data...
check_model.m Loading commit data...
check_name.m Loading commit data...
check_posterior_analysis_data.m Loading commit data...
check_posterior_sampler_options.m Loading commit data...
check_prior_analysis_data.m Loading commit data...
check_prior_bounds.m Loading commit data...
check_valid_ver.m Loading commit data...
chol_SE.m Loading commit data...
clear_persistent_variables.m Loading commit data...
collect_latex_files.m Loading commit data...
commutation.m Loading commit data...
compute_Pinf_Pstar.m Loading commit data...
compute_mh_covariance_matrix.m Loading commit data...
compute_model_moments.m Loading commit data...
compute_moments_varendo.m Loading commit data...
compute_overall_acceptance_ratio.m Loading commit data...
compute_trend_coefficients.m Loading commit data...
conditional_variance_decomposition.m Loading commit data...
conditional_variance_decomposition_ME_mc_analysis.m Loading commit data...
conditional_variance_decomposition_mc_analysis.m Loading commit data...
convertAimCodeToInfo.m Loading commit data...
convert_dyn_45_to_44.m Loading commit data...
convert_oo_.m Loading commit data...
correlation_mc_analysis.m Loading commit data...
cosn.m Loading commit data...
covariance_mc_analysis.m Loading commit data...
csolve.m Loading commit data...
cubature_with_gaussian_weight.m Loading commit data...
cycle_reduction.m Loading commit data...
datatomfile.m Loading commit data...
dcompare.m Loading commit data...
default_option_values.m Loading commit data...
delete_mh_history_files.m Loading commit data...
discretionary_policy.m Loading commit data...
discretionary_policy_1.m Loading commit data...
discretionary_policy_engine.m Loading commit data...
disp_dr.m Loading commit data...
disp_identification.m Loading commit data...
disp_model_summary.m Loading commit data...
disp_moments.m Loading commit data...
disp_steady_state.m Loading commit data...
disp_th_moments.m Loading commit data...
display_conditional_variance_decomposition.m Loading commit data...
display_estimation_results_table.m Loading commit data...
display_problematic_vars_Jacobian.m Loading commit data...
do_parameter_initialization.m Loading commit data...
dprintf.m Loading commit data...
dr_block.m Loading commit data...
draw_prior_density.m Loading commit data...
dsample.m Loading commit data...
dsge_likelihood.m Loading commit data...
dsge_simulated_theoretical_conditional_variance_decomposition.m Loading commit data...
dsge_simulated_theoretical_correlation.m Loading commit data...
dsge_simulated_theoretical_covariance.m Loading commit data...
dsge_simulated_theoretical_variance_decomposition.m Loading commit data...
dsge_var_likelihood.m Loading commit data...
duplication.m Loading commit data...
dy_date.m Loading commit data...
dyn2vec.m Loading commit data...
dyn_autocorr.m Loading commit data...
dyn_diag_vech.m Loading commit data...
dyn_figure.m Loading commit data...
dyn_first_order_solver.m Loading commit data...
dyn_forecast.m Loading commit data...
dyn_latex_table.m Loading commit data...
dyn_ramsey_static.m Loading commit data...
dyn_risky_steadystate_solver.m Loading commit data...
dyn_saveas.m Loading commit data...
dyn_second_order_solver.m Loading commit data...
dyn_unvech.m Loading commit data...
dyn_vech.m Loading commit data...
dyn_waitbar.m Loading commit data...
dyn_waitbar_close.m Loading commit data...
dynare.m Loading commit data...
dynare_config.m Loading commit data...
dynare_estimation.m Loading commit data...
dynare_estimation_1.m Loading commit data...
dynare_estimation_init.m Loading commit data...
dynare_gradient.m Loading commit data...
dynare_graph.m Loading commit data...
dynare_graph_close.m Loading commit data...
dynare_graph_init.m Loading commit data...
dynare_identification.m Loading commit data...
dynare_resolve.m Loading commit data...
dynare_sensitivity.m Loading commit data...
dynare_solve.m Loading commit data...
dynare_solve_block_or_bytecode.m Loading commit data...
dynare_squeeze.m Loading commit data...
dynare_version.m.in Loading commit data...
dynasave.m Loading commit data...
dynatype.m Loading commit data...
dynsec2hms.m Loading commit data...
dyntable.m Loading commit data...
endogenous_prior.m Loading commit data...
endogenous_prior_restrictions.m Loading commit data...
ep_residuals.m Loading commit data...
erase_compiled_function.m Loading commit data...
evaluate_dynamic_model.m Loading commit data...
evaluate_likelihood.m Loading commit data...
evaluate_max_dynamic_residual.m Loading commit data...
evaluate_planner_objective.m Loading commit data...
evaluate_posterior_kernel.m Loading commit data...
evaluate_prior.m Loading commit data...
evaluate_smoother.m Loading commit data...
evaluate_static_model.m Loading commit data...
evaluate_steady_state.m Loading commit data...
evaluate_steady_state_file.m Loading commit data...
execute_prior_posterior_function.m Loading commit data...
expand_group.m Loading commit data...
f_var.m Loading commit data...
fastgensylv.m Loading commit data...
ff1_.m Loading commit data...
ffill.m Loading commit data...
fjaco.m Loading commit data...
flip_plan.m Loading commit data...
forcst.m Loading commit data...
forcst2.m Loading commit data...
forcst2a.m Loading commit data...
forecast_graphs.m Loading commit data...
formdata.m Loading commit data...
ftest.m Loading commit data...
fwriten.m Loading commit data...
gauss_hermite_weights_and_nodes.m Loading commit data...
gauss_legendre_weights_and_nodes.m Loading commit data...
gcompare.m Loading commit data...
generate_trace_plots.m Loading commit data...
gensylv_fp.m Loading commit data...
getIrfShocksIndx.m Loading commit data...
getPowerDeriv.m Loading commit data...
get_Hessian.m Loading commit data...
get_all_parameters.m Loading commit data...
get_aux_variable_id.m Loading commit data...
get_cells_id.m Loading commit data...
get_date_of_a_file.m Loading commit data...
get_difference_order.m Loading commit data...
get_dynare_random_generator_state.m Loading commit data...
get_equation_number_by_tag.m Loading commit data...
get_existing_subsamples_indx.m Loading commit data...
get_file_extension.m Loading commit data...
get_first_order_solution_params_deriv.m Loading commit data...
get_identification_jacobians.m Loading commit data...
get_lhs_and_rhs.m Loading commit data...
get_minimal_state_representation.m Loading commit data...
get_moments_size.m Loading commit data...
get_name_of_the_last_mh_file.m Loading commit data...
get_new_or_existing_ei_index.m Loading commit data...
get_optimal_policy_discount_factor.m Loading commit data...
get_param_by_name.m Loading commit data...
get_posterior_parameters.m Loading commit data...
get_subsamples_range_indx.m Loading commit data...
get_the_name.m Loading commit data...
get_variables_and_parameters_in_equation.m Loading commit data...
get_variables_list.m Loading commit data...
get_variance_of_endogenous_variables.m Loading commit data...
global_initialization.m Loading commit data...
graph_decomp.m Loading commit data...
graph_decomp_detail.m Loading commit data...
hess_element.m Loading commit data...
hessian.m Loading commit data...
hessian_sparse.m Loading commit data...
histvalf.m Loading commit data...
homotopy1.m Loading commit data...
homotopy2.m Loading commit data...
homotopy3.m Loading commit data...
ident_bruteforce.m Loading commit data...
identification_analysis.m Loading commit data...
identification_checks.m Loading commit data...
identification_checks_via_subsets.m Loading commit data...
identification_numerical_objective.m Loading commit data...
imcforecast.m Loading commit data...
indnv.m Loading commit data...
init_plan.m Loading commit data...
initial_condition_decomposition.m Loading commit data...
initial_estimation_checks.m Loading commit data...
initialize_from_mode.m Loading commit data...
initvalf.m Loading commit data...
internals.m Loading commit data...
interpret_resol_info.m Loading commit data...
irf.m Loading commit data...
isauxiliary.m Loading commit data...
isbayes.m Loading commit data...
isdiff.m Loading commit data...
islagof.m Loading commit data...
isoctave.m Loading commit data...
isolder.m Loading commit data...
jacob_element.m Loading commit data...
k_order_pert.m Loading commit data...
kalman_transition_matrix.m Loading commit data...
kernel_density_estimate.m Loading commit data...
list_of_functions_to_be_cleared.m Loading commit data...
list_of_parameters_calibrated_as_Inf.m Loading commit data...
list_of_parameters_calibrated_as_NaN.m Loading commit data...
lnsrch1.m Loading commit data...
lnsrch1_wrapper_one_boundary.m Loading commit data...
lnsrch1_wrapper_two_boundaries.m Loading commit data...
load_first_mh_history_file.m Loading commit data...
load_last_mh_history_file.m Loading commit data...
load_m_file_data_legacy.m Loading commit data...
load_mat_file_data_legacy.m Loading commit data...
logarithmic_reduction.m Loading commit data...
long_run_variance.m Loading commit data...
lpdfgam.m Loading commit data...
lpdfgbeta.m Loading commit data...
lpdfig1.m Loading commit data...
lpdfig2.m Loading commit data...
lpdfnorm.m Loading commit data...
lyapunov_solver.m Loading commit data...
lyapunov_symm.m Loading commit data...
marginal_density.m Loading commit data...
matlab_ver_less_than.m Loading commit data...
maximize_prior_density.m Loading commit data...
mcforecast3.m Loading commit data...
mcompare.m Loading commit data...
mcp_func.m Loading commit data...
mcpath_function.m Loading commit data...
metropolis_draw.m Loading commit data...
metropolis_hastings_initialization.m Loading commit data...
metropolis_run_analysis.m Loading commit data...
mexErrCheck.m Loading commit data...
mh_autocorrelation_function.m Loading commit data...
mh_optimal_bandwidth.m Loading commit data...
minus_logged_prior_density.m Loading commit data...
missing_DiffuseKalmanSmootherH1_Z.m Loading commit data...
missing_DiffuseKalmanSmootherH3_Z.m Loading commit data...
mode_check.m Loading commit data...
model_comparison.m Loading commit data...
model_diagnostics.m Loading commit data...
model_info.m Loading commit data...
model_inversion.m Loading commit data...
moment_function.m Loading commit data...
moments.m Loading commit data...
mult_elimination.m Loading commit data...
multivariate_sample_autocovariance.m Loading commit data...
my_subplot.m Loading commit data...
myboxplot.m Loading commit data...
mydelete.m Loading commit data...
name2index.m Loading commit data...
non_linear_dsge_likelihood.m Loading commit data...
octave_ver_less_than.m Loading commit data...
one_sided_hp_filter.m Loading commit data...
optimize_prior.m Loading commit data...
options2cell.m Loading commit data...
osr.m Loading commit data...
osr1.m Loading commit data...
osr_obj.m Loading commit data...
plot_icforecast.m Loading commit data...
plot_identification.m Loading commit data...
plot_priors.m Loading commit data...
plot_shock_decomposition.m Loading commit data...
pltorg.m Loading commit data...
pm3.m Loading commit data...
pm3_core.m Loading commit data...
posterior_analysis.m Loading commit data...
posterior_moments.m Loading commit data...
posterior_sampler.m Loading commit data...
posterior_sampler_core.m Loading commit data...
posterior_sampler_initialization.m Loading commit data...
posterior_sampler_iteration.m Loading commit data...
print_bytecode_dynamic_model.m Loading commit data...
print_bytecode_static_model.m Loading commit data...
print_info.m Loading commit data...
print_moments_implied_prior.m Loading commit data...
print_table_prior.m Loading commit data...
printline.m Loading commit data...
prior_analysis.m Loading commit data...
prior_bounds.m Loading commit data...
prior_draw.m Loading commit data...
prior_posterior_statistics.m Loading commit data...
prior_posterior_statistics_core.m Loading commit data...
prior_sampler.m Loading commit data...
priordens.m Loading commit data...
qr2.m Loading commit data...
quadratic_matrix_equation_solver.m Loading commit data...
ramsey_policy.m Loading commit data...
read_data_.m Loading commit data...
read_key_value_string.m Loading commit data...
read_variables.m Loading commit data...
realtime_shock_decomposition.m Loading commit data...
recursive_moments.m Loading commit data...
reduced_rank_cholesky.m Loading commit data...
resid.m Loading commit data...
resol.m Loading commit data...
restricted_steadystate.m Loading commit data...
reversed_extended_path.m Loading commit data...
rotated_slice_sampler.m Loading commit data...
row_header_width.m Loading commit data...
rplot.m Loading commit data...
sample_autocovariance.m Loading commit data...
sample_hp_filter.m Loading commit data...
save_params_and_steady_state.m Loading commit data...
save_results.m Loading commit data...
score.m Loading commit data...
selec_posterior_draws.m Loading commit data...
select_from_table.m Loading commit data...
select_qz_criterium_value.m Loading commit data...
selif.m Loading commit data...
send_endogenous_variables_to_workspace.m Loading commit data...
set_all_parameters.m Loading commit data...
set_default_initial_condition_decomposition_options.m Loading commit data...
set_default_option.m Loading commit data...
set_default_plot_shock_decomposition_options.m Loading commit data...
set_dynare_random_generator_state.m Loading commit data...
set_dynare_seed.m Loading commit data...
set_dynare_threads.m Loading commit data...
set_historical_values.m Loading commit data...
set_local_param_value.m Loading commit data...
set_param_value.m Loading commit data...
set_parameters.m Loading commit data...
set_parameters_locally.m Loading commit data...
set_prior.m Loading commit data...
set_state_space.m Loading commit data...
shiftS.m Loading commit data...
shock_decomposition.m Loading commit data...
simul_static_model.m Loading commit data...
simulated_moment_uncertainty.m Loading commit data...
simulated_moments_estimation.m Loading commit data...
simult.m Loading commit data...
simult_.m Loading commit data...
simultxdet.m Loading commit data...
size_of_the_reduced_form_model.m Loading commit data...
skipline.m Loading commit data...
slice_sampler.m Loading commit data...
smm_objective.m Loading commit data...
smoother2histval.m Loading commit data...
solve1.m Loading commit data...
solve_one_boundary.m Loading commit data...
solve_perfect_foresight_model.m Loading commit data...
solve_two_boundaries.m Loading commit data...
static_model_for_inversion.m Loading commit data...
static_model_inversion.m Loading commit data...
steady.m Loading commit data...
steady_.m Loading commit data...
step_length_correction.m Loading commit data...
stoch_simul.m Loading commit data...
stochastic_solvers.m Loading commit data...
store_smoother_results.m Loading commit data...
subset.m Loading commit data...
sylvester3.m Loading commit data...
sylvester3a.m Loading commit data...
symmetric_matrix_index.m Loading commit data...
test_for_deep_parameters_calibration.m Loading commit data...
th_autocovariances.m Loading commit data...
trace_plot.m Loading commit data...
trust_region.m Loading commit data...
unfold_g3.m Loading commit data...
uniform_specification.m Loading commit data...
update_last_mh_history_file.m Loading commit data...
user_has_matlab_license.m Loading commit data...
user_has_octave_forge_package.m Loading commit data...
var_sample_moments.m Loading commit data...
variance_decomposition_ME_mc_analysis.m Loading commit data...
variance_decomposition_mc_analysis.m Loading commit data...
varlist_indices.m Loading commit data...
ver_greater_than.m Loading commit data...
ver_greater_than_equal.m Loading commit data...
ver_less_than.m Loading commit data...
vnorm.m Loading commit data...
warning_config.m Loading commit data...
write_latex_definitions.m Loading commit data...
write_latex_parameter_table.m Loading commit data...
write_latex_prior_table.m Loading commit data...
write_mh_history_file.m Loading commit data...
writecellofchar.m Loading commit data...
writedata.m Loading commit data...
writedata_text.m Loading commit data...
writematrixofchar.m Loading commit data...