Comments (3)
It makes sense to provide a method for coda::mcmc
, that (at the very least) adds the hyperparameters. This may include coda::mcmc.list
for multiple chains (including a check whether the chains are comparable).
Other possible methods for:
mcpar
, nchain
, niter
, and nvar
.
We should also look into adding betas.
from bvar.
Looks very nice so far!
Betas are now also added. I've also moved the data preparation (which is the same across as.mcmc
, density
and plot
to its own function in 15_prep_data.R. I think the other methods can be put off for now, as they're available after converting to coda.
from bvar.
Okay note that there's some considerations regarding the use of coda
.
We provide two methods for as.mcmc()
, but do not really want to import+export it. Before we bypassed that by exporting the methods as (weird) functions, which seemed to work. Now there seems to be an issue with that under Windows, which surfaced when testing the vignette. Apparently the functions are not always recognised as methods, which means that as.mcmc
produces some abomination out 'bvar'
objects.
It seems like this can be bypassed / fixed in a reasonable way by dynamically registering these functions - i.e. if coda
is loaded, or as soon as it is. This is done in zzz.R
and was inspired by the hms
package.
from bvar.
Related Issues (20)
- Problems with sign and zero restriction HOT 1
- Are there any examples that use the Minnesota Prior? HOT 1
- question about the summary of bvar HOT 1
- Significance test of BVAR coefficient HOT 1
- How to pass exogenous variables in the function bvar HOT 8
- NA resulting from log? HOT 6
- summary bvar HOT 2
- Support for mixed frequencies HOT 1
- FEVD plot HOT 10
- Questions regarding parallel implementation of BVAR HOT 4
- IRF colour HOT 2
- Overshrinkage with automatic psi HOT 1
- How to select the number of draws in fevd HOT 3
- Set prior mean automatically HOT 1
- Historical Variance Decomposition HOT 1
- narrative sign restrictions and anticipated vs unanticipated shock
- Diagnostics HOT 1
- Sign-restrictions HOT 12
- Default behavior for posterior summaries (mean over quantiles) HOT 2
- Noise added to unconditional forecast HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bvar.