NPP0.6.0 package

Normalized Power Prior Bayesian Analysis

PoiMNPP_MCMC1

MCMC Sampling for Poisson Population using Normalized Power Prior with...

PoiMNPP_MCMC2

MCMC Sampling for Poisson Population of multiple historical data using...

PoiOMNPP_MCMC1

MCMC Sampling for Poisson Population of multiple ordered historical da...

PoiOMNPP_MCMC2

MCMC Sampling for Poisson Population of multiple ordered historical da...

PoissonNPP

MCMC Sampling for Bernoulli Population using Normalized Power Prior

BerMNPP_MCMC1

MCMC Sampling for Bernoulli Population with Multiple Historical Data u...

BerMNPP_MCMC2

MCMC Sampling for Bernoulli Population of multiple historical data usi...

BerNPP

MCMC Sampling for Bernoulli Population using Normalized Power Prior

BerOMNPP_MCMC1

MCMC Sampling for Bernoulli Population of multiple ordered historical ...

BerOMNPP_MCMC2

MCMC Sampling for Bernoulli Population of multiple ordered historical ...

LaplacelogC

A Function to Calculate logC(δ)logC(\delta) Based on Laplace Approximation

LMMNPP_MCMC1

MCMC Sampling for Linear Regression Model of multiple historical data ...

LMMNPP_MCMC2

MCMC Sampling for Linear Regression Model of multiple historical data ...

LMNPP

MCMC Sampling for Normal Linear Model using Normalized Power Prior

LMOMNPP_MCMC1

MCMC Sampling for Linear Regression Model of multiple historical data ...

LMOMNPP_MCMC2

MCMC Sampling for Linear Regression Model of multiple historical data ...

logCdelta

A Function to Interpolate logC(δ)logC(\delta) Based on Its Values on Select...

logCknot

A Function to Calculate logC(δ)logC(\delta) on Selected Knots

loglikBerD0

A Function to Calculate Log-likelihood of the Historical Data, Given M...

loglikNormD0

A Function to Calculate Log-likelihood of the Historical Data, Given A...

ModeDeltaBerNPP

Calculate Posterior Mode of the Power Parameter in Normalized Power Pr...

ModeDeltaLMNPP

Calculate Posterior Mode of the Power Parameter in Normalized Power Pr...

ModeDeltaMultinomialNPP

Calculate Posterior Mode of the Power Parameter in Normalized Power Pr...

ModeDeltaNormalNPP

Calculate Posterior Mode of the Power Parameter in Normalized Power Pr...

ModeDeltaPoisNPP

Calculate Posterior Mode of the Power Parameter in Normalized Power Pr...

MultinomialNPP

MCMC Sampling for Multinomial Population using Normalized Power Prior

NormalNPP

MCMC Sampling for Normal Population using Normalized Power Prior

Posterior sampling in several commonly used distributions using normalized power prior as described in Duan, Ye and Smith (2006) <doi:10.1002/env.752> and Ibrahim et.al. (2015) <doi:10.1002/sim.6728>. Sampling of the power parameter is achieved via either independence Metropolis-Hastings or random walk Metropolis-Hastings based on transformation.

  • Maintainer: Zifei Han
  • License: GPL (>= 2)
  • Last published: 2023-12-12