Commit 31e0bc2e authored by Houtan Bastani's avatar Houtan Bastani
Browse files

estimation: simplify global_initialization

parent 20573651
......@@ -245,67 +245,33 @@ options_.ramsey_policy = 0;
options_.timeless = 0;
% estimation
estimation_info.subsamples.range = struct('date1', {}, 'date2', {});
estimation_info.parameters.prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.parameters.subsample_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.parameters.options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.parameters.subsample_options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.structural_innovation.prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.structural_innovation.subsample_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.structural_innovation.options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.structural_innovation.subsample_options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.structural_innovation_corr.prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.structural_innovation_corr.subsample_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.structural_innovation_corr.options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.structural_innovation_corr.subsample_options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.measurement_error.prior = struct(...
estimation_info.empty_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.measurement_error.subsample_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.measurement_error.options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.measurement_error.subsample_options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.measurement_error_corr.prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.measurement_error_corr.subsample_prior = struct(...
'domain', {}, 'interval', {}, 'mean', {}, ...
'median', {}, 'mode', {}, 'shape', {}, ...
'shift', {}, 'stdev', {}, 'truncate', {}, 'variance', {});
estimation_info.measurement_error_corr.options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.measurement_error_corr.subsample_options = struct(...
estimation_info.empty_options = struct(...
'bounds',{}, 'init', {}, 'jscale', {});
estimation_info.subsamples.range = struct('date1', {}, 'date2', {});
estimation_info.parameters.prior = estimation_info.empty_prior;
estimation_info.parameters.subsample_prior = estimation_info.empty_prior;
estimation_info.parameters.options = estimation_info.empty_options;
estimation_info.parameters.subsample_options = estimation_info.empty_options;
estimation_info.structural_innovation.prior = estimation_info.empty_prior;
estimation_info.structural_innovation.subsample_prior = estimation_info.empty_prior;
estimation_info.structural_innovation.options = estimation_info.empty_options;
estimation_info.structural_innovation.subsample_options = estimation_info.empty_options;
estimation_info.structural_innovation_corr.prior = estimation_info.empty_prior;
estimation_info.structural_innovation_corr.subsample_prior = estimation_info.empty_prior;
estimation_info.structural_innovation_corr.options = estimation_info.empty_options;
estimation_info.structural_innovation_corr.subsample_options = estimation_info.empty_options;
estimation_info.measurement_error.prior = estimation_info.empty_prior;
estimation_info.measurement_error.subsample_prior = estimation_info.empty_prior;
estimation_info.measurement_error.options = estimation_info.empty_options;
estimation_info.measurement_error.subsample_options = estimation_info.empty_options;
estimation_info.measurement_error_corr.prior = estimation_info.empty_prior;
estimation_info.measurement_error_corr.subsample_prior = estimation_info.empty_prior;
estimation_info.measurement_error_corr.options = estimation_info.empty_options;
estimation_info.measurement_error_corr.subsample_options = estimation_info.empty_options;
estimation_info.subsamples_index = {};
estimation_info.subsamples.range_index = {};
estimation_info.parameter_prior_index = {};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment