makebayesportfolioaftercapmsv |
'makebayesportfolioaftercapmsv' make a Bayesian mean-variance portfolio from the CAPM implied covariance matrix |
makebayesportfolioaftersureg |
'makebayesportfolioaftersureg' make a Bayesian mean-variance portfolio after fitting MCMCsureg |
makebayesportfolioaftersuret |
'makebayesportfolioaftersuret' make a Bayesian mean-variance portfolio after fitting MCMCsuret |
makedatdfls |
makedatdfls is a utilty function |
makehierpaneldat |
makehierpaneldat makes the y, X, W and ind data in the hierarchical gaussian panel model |
makemodelformulas |
'makemodelformulas' makes formulas from all possibles of xnames |
makepaneldat |
makepaneldat makes the y, X, W and ind data in the gaussian panel model |
makeplot |
makeplot is a utility function to do nonpar plotting |
makesubsets |
'makesubsets' makes all subsets of names in a data-frame |
marglik |
marglik extracts the log marginal likelihood from MCMC output |
maximize |
maximize maximizes the function loglik over theta - this is a wrapper to the optim function |
MCMCbinprobit |
'MCMCbinprobit' Bayesian Albert-Chib (1993) estimation of the binary probit model |
MCMCheterog |
MCMCheterog does Bayes estimation of the heteroskedastic model by Kim, Shephard and Chib (1998) and the Chib and Greenberg (2013) method |
MCMCheterot |
MCMCheterot does Bayes estimation of the heteroskedastic student-t model by Kim, Shephard and Chib (1999) and the Chib and Greenberg (2013) method |
MCMCnonpar |
MCMCnonpar does Bayes estimation of the nonparametric model by the Chib and Greenberg (2010) method |
MCMCpanelg |
MCMCpanelg does Bayes estimation of the Gaussian panel model by Algorithm 2 of Chib and Carlin (1999) |
MCMCregpoiss |
MCMCregpoiss does Bayes estimation of the Poisson reg model |
MCMCregresschangeg |
MCMCregresschangeg does Bayes estimation of the Gaussian change-point regression by the Chib (1998) method |
MCMCregressdpm |
MCMCregressdpm does Bayes estimation of the DPM reg model with student-t G0 |
MCMCregressg |
MCMCregressg does Bayes estimation of the Gaussian reg model |
MCMCregresst |
MCMCregresst does Bayes estimation of the student-t reg model |
MCMCsureg |
MCMCsureg does Bayes estimation of the Gaussian sure model |
MCMCsuret |
MCMCsuret does Bayes estimation of the student-t sure model |
MCMCsvg |
'MCMCsvg' esimates the Bayesian stochastic volatility model using Kim, Shephard and Chib (1998) and Chib, Nardari and Shephard (2002) |
minimize |
minimize minimizes the function loglik (sent in as negative loglik) over theta - this is a wrapper to the ucminf function |
modelorder |
modelorder summarizes the models by posterior model probabilities |
mvrmat |
mvrmat generate the multivariate regression y and X matrices |
paramg |
paramg calculates the gamma(a/2,b/2) distribution given mean and sd |
paramg0 |
paramg0 calculates the gamma(shape,rate) distribution given mean and sd |
paramig |
paramig calculates the inverse-gamma(nu/2,delta/2) distribution given mean and sd |
paramlogn |
paramlogn calculates the parameters of the log-normal distribution |
pdfavg |
pdfavg calculates the mean of densities given log densities |
plot.nonpar |
plot.nonpar does plotting of nonparametric function estimates from MCMCnonpar |
plotbayesportfolio |
'plotbayesportfolio' plots the portfolio output |
plotden |
plotden does kernel density plots |
plotdf |
plotdf plots a single or multiple time series which are in a data.frame date type objects |
plotdisc |
plotdisc does discrete distribution plots |
plotnormalt |
plotnormalt does normal and student-t density plots |
plotxts |
plotxts plots a single or multiple time series which can be xts objects or not |
postmod |
postmod calculates the posterior model probabilities from log marginal likelihoods |
predictpanelg |
predictpanelg generates predictions from a gaussian panel model |
predictregressg |
predictregressg generates predictions from a gaussian regression |
predictregresst |
predictregresst generates predictions from a student-t regression |
predictsureg |
predictsureg generates predictions from a gaussian SURE |
predictsuret |
predictsuret generates predictions from a gaussian SURE |
s2panelsim |
s2panelsim generates s2 in the gaussian panel model |
sample2 |
sample2 generates draws from a bivariate discrete distribution |
sample3 |
sample3 generates draws from a trivariate discrete distribution |
samplethepriormus2 |
samplethepriormus2 samples the prior and then outcomes from a N(mu,s2) model |
samplethepriornonpar |
samplethepriornonpar samples the prior and then outcomes in the Gaussian nonparametric model by the Chib and Greenberg (2010) method |
samplethepriorpanelg |
samplethepriorpanelg samples the prior and then outcomes from a Gaussian panel model |
samplethepriorregg |
samplethepriorregg samples the prior and then outcomes from a regression model |
samplethepriorsureg |
samplethepriorsureg samples the prior and then outcomes from a Gaussian SURE model |
sigma |
sigma calculates the draws of sigma from the MCMCregressg and MCMCregresst functions |
summaryb |
summaryb produces a basic summary |
summarycorr |
summarycorr gives posterior mean and posterior sd of correlation parameters in sureg and suret models |
summarymcmc |
summarymcmc produces summary given MCMC draws from cbw package |
suremat |
suremat generate the sure y and X matrices |