Skip to content

Commit

Permalink
update progress bar #31
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwang15 committed Jul 16, 2024
1 parent 91a93af commit 71e94cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bsvars_sign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Rcpp::List bsvar_sign_cpp(
if (show_progress) {
Rcout << "**************************************************|" << endl;
Rcout << " bsvarSIGNs: Bayesian Structural VAR with zero, |" << endl;
Rcout << " sign and narrative restriction |" << endl;
Rcout << " sign and narrative restrictions |" << endl;
Rcout << "**************************************************|" << endl;
// Rcout << " Gibbs sampler for the SVAR model |" << endl;
// Rcout << "**************************************************|" << endl;
Expand Down
4 changes: 4 additions & 0 deletions src/sample_hyper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ arma::mat sample_hyper(
const Rcpp::List& prior
) {

Rcout << "**************************************************|" << endl;
Rcout << " Adaptive Metropolis MCMC: hyper parameters |" << endl;
Rcout << "**************************************************|" << endl;

mat hypers = metropolis(

S, start, narrow_hyper(model, init), W,
Expand Down

0 comments on commit 71e94cd

Please sign in to comment.