Learn R Programming

ConnectednessApproach (version 1.0.4)

BayesPrior: Bayes Prior

Description

Get Bayes prior

Usage

BayesPrior(x, size = NULL, nlag)

Value

Get Bayes Prior

Arguments

x

zoo data matrix

size

Sample size used to calculate prior parameters

nlag

Lag length

Author

David Gabauer

References

Primiceri, G. E. (2005). Time varying structural vector autoregressions and monetary policy. The Review of Economic Studies, 72(3), 821-852.

Examples

Run this code
# \donttest{
data("dy2012")
prior = BayesPrior(dy2012, nlag=1)
# }

Run the code above in your browser using DataLab