Home
last modified time | relevance | path

Searched refs:LogPrior (Results 1 – 6 of 6) sorted by relevance

/dports/science/dynare/dynare-4.6.4/contrib/ms-sbvar/switch_dw/switching/
H A Ddw_metropolis_theta_prior.c70 logposterior=LogPrior(model); in draw_metropolis_theta_prior()
113 draw_metropolis_theta_prior(model,LogPrior(model)); in draw_prior_all_metropolis()
240 logposterior=LogPrior(model); in AdaptiveScale_metropolis_theta_prior()
H A Ddw_switch.h392 #define LogPrior(model) (LogPrior_theta(model) + LogPrior_q(model)) macro
401 #define LogPosterior(model) (LogLikelihood(model) + LogPrior_S(model) + LogPrior(model))
H A Ddw_switch.c2183 return ElementV(model->L,model->nobs) - ElementV(model->L,model->fobs - 1) + LogPrior(model); in LogPosterior_StatesIntegratedOut()
/dports/science/dynare/dynare-4.6.4/contrib/ms-sbvar/switch_dw/state_space/sbvar/
H A Dsbvar_estimate.c182 fprintf(f_out,"Prior value: %22.14le\n",prior=LogPrior(model)); in FindMode_VAR_csminwel()
239 fprintf(f_out,"Prior value after pass %d: %22.14le\n",i,prior=LogPrior(model)); in FindMode_VAR_csminwel()
289 fprintf(f_out,"Prior value: %22.14le\n",prior=LogPrior(model)); in FindMode_VAR_csminwel()
494 fprintf(f_final,"Initial prior Value: %g\n",LogPrior(model)); in dw_sbvar_estimate_command_line()
612 fprintf(f_final,"Final prior Value: %g\n",LogPrior(model)); in dw_sbvar_estimate_command_line()
H A Dsbvar_simulate.c293 …,LogPosterior_StatesIntegratedOut(model),LogLikelihood_StatesIntegratedOut(model),LogPrior(model)); in dw_sbvar_simulate_command_line()
341 …,LogPosterior_StatesIntegratedOut(model),LogLikelihood_StatesIntegratedOut(model),LogPrior(model)); in dw_sbvar_simulate_command_line()
/dports/biology/mrbayes/MrBayes-3.2.7/src/
H A Dmcmc.c167 MrBFlt LogPrior (int chain);
1194 assert (fabs((curLnPr[swapA]-LogPrior(swapA))/curLnPr[swapA]) < 0.0001); in AttemptSwap()
1195 assert (fabs((curLnPr[swapB]-LogPrior(swapB))/curLnPr[swapB]) < 0.0001); in AttemptSwap()
7644 MrBFlt LogPrior (int chain) in LogPrior() function
16339 curLnPr[chn] = LogPrior(chn); in RunChain()
16860 if (fabs((lnPrior-LogPrior(chn))/lnPrior) > 0.0001) in RunChain()
16862 …"DEBUG ERROR: Log prior incorrect after move '%s' :%e :%e\n", theMove->name,lnPrior,LogPrior(chn)); in RunChain()
17419 …n %d -- %.6lf -- %.6lf\n", spacer, (chn % chainParams.numChains) + 1, LogLike(chn), LogPrior(chn)); in RunChain()