Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stéphane Adjemian
dynare
Commits
75e57f4c
Commit
75e57f4c
authored
13 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
MS-SBVAR: change bayesian_prior to no_bayesian_prior and remove argument
parent
f550c795
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
preprocessor/DynareBison.yy
+4
-4
4 additions, 4 deletions
preprocessor/DynareBison.yy
preprocessor/DynareFlex.ll
+1
-1
1 addition, 1 deletion
preprocessor/DynareFlex.ll
with
5 additions
and
5 deletions
preprocessor/DynareBison.yy
+
4
−
4
View file @
75e57f4c
...
...
@@ -145,7 +145,7 @@ class ParsingDriver;
%token FREQ INITIAL_YEAR INITIAL_SUBPERIOD FINAL_YEAR FINAL_SUBPERIOD DATA VLIST VARLIST LOG_VAR PERCENT_VAR
%token VLISTLOG VLISTPER
%token RESTRICTIONS RESTRICTION_FNAME CROSS_RESTRICTIONS NLAGS CONTEMP_REDUCED_FORM REAL_PSEUDO_FORECAST
%token DUMMY_OBS NSTATES INDXSCALESSTATES BAYESIAN_PRIOR
%token DUMMY_OBS NSTATES INDXSCALESSTATES
NO_
BAYESIAN_PRIOR
%token <string_val> ALPHA BETA ABAND NINV CMS NCMS CNUM
%token GSIG2_LMD GSIG2_LMDM Q_DIAG FLAT_PRIOR NCSK NSTD
%token INDXPARR INDXOVR INDXAP APBAND INDXIMF IMFBAND INDXFORE FOREBAND INDXGFOREHAT INDXGIMFHAT
...
...
@@ -1436,7 +1436,7 @@ sbvar_option : o_datafile
| o_cross_restrictions
| o_contemp_reduced_form
| o_real_pseudo_forecast
| o_bayesian_prior
| o_
no_
bayesian_prior
| o_dummy_obs
| o_nstates
| o_indxscalesstates
...
...
@@ -1625,7 +1625,7 @@ ms_estimation_option : o_coefficients_prior_hyperparameters
| o_nlags
| o_cross_restrictions
| o_contemp_reduced_form
| o_bayesian_prior
| o_
no_
bayesian_prior
| o_alpha
| o_beta
| o_gsig2_lmd
...
...
@@ -2011,7 +2011,7 @@ o_nlags : NLAGS EQUAL INT_NUMBER {driver.option_num("ms.nlags",$3); };
o_cross_restrictions : CROSS_RESTRICTIONS {driver.option_num("ms.cross_restrictions","1"); };
o_contemp_reduced_form : CONTEMP_REDUCED_FORM {driver.option_num("ms.contemp_reduced_form","1"); };
o_real_pseudo_forecast : REAL_PSEUDO_FORECAST EQUAL INT_NUMBER {driver.option_num("ms.real_pseudo_forecast",$3); };
o_bayesian_prior : BAYESIAN_PRIOR
EQUAL INT_NUMBER
{driver.option_num("ms.bayesian_prior",
$3
); };
o_n
o_bayesian_prior :
NO_
BAYESIAN_PRIOR {driver.option_num("ms.bayesian_prior",
"0"
); };
o_dummy_obs : DUMMY_OBS EQUAL INT_NUMBER {driver.option_num("ms.dummy_obs",$3); };
o_nstates : NSTATES EQUAL INT_NUMBER {driver.option_num("ms.nstates",$3); };
o_indxscalesstates : INDXSCALESSTATES EQUAL INT_NUMBER {driver.option_num("ms.indxscalesstates",$3); };
...
...
This diff is collapsed.
Click to expand it.
preprocessor/DynareFlex.ll
+
1
−
1
View file @
75e57f4c
...
...
@@ -263,7 +263,7 @@ string eofbuff;
<DYNARE_STATEMENT>cross_restrictions {return token::CROSS_RESTRICTIONS;}
<DYNARE_STATEMENT>contemp_reduced_form {return token::CONTEMP_REDUCED_FORM;}
<DYNARE_STATEMENT>real_pseudo_forecast {return token::REAL_PSEUDO_FORECAST;}
<DYNARE_STATEMENT>bayesian_prior {return token::BAYESIAN_PRIOR;}
<DYNARE_STATEMENT>
no_
bayesian_prior {return token::
NO_
BAYESIAN_PRIOR;}
<DYNARE_STATEMENT>dummy_obs {return token::DUMMY_OBS;}
<DYNARE_STATEMENT>nstates {return token::NSTATES;}
<DYNARE_STATEMENT>indxscalesstates {return token::INDXSCALESSTATES;}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment