Man pages for BayesFBHborrow
Bayesian Dynamic Borrowing with Flexible Baseline Hazard Function

BayesFBHborrowBayesFBHborrow: Run MCMC for a piecewise exponential model
BayesFBHborrow.NoBorrowRun the MCMC sampler without Bayesian Borrowing
BayesFBHborrow.WBorrowRun the MCMC sampler with Bayesian Borrowing
coef.BayesFBHborrowExtract mean posterior values
dot-beta_MH_MALAProposal beta with a Metropolis Adjusted Langevin (MALA)
dot-beta_MH_NRNewton Raphson MH move
dot-beta_MH_RWBeta Metropolis-Hastings random walk move
dot-beta.MH.RW.glmBeta MH RW sampler from freq PEM fit
dot-beta_momMean for MALA using derivative for beta proposal
dot-beta_mom.NR.funFirst and second derivative of target for mode and variance...
dot-birth_moveBirth move in RJMCMC
dot-dataframe_funCreate data.frame for piecewise exponential models
dot-death_moveDeath move in RJMCMC
dot-glmFitFit frequentist piecewise exponential model for MLE and...
dot-ICAR_calcCalculate covariance matrix in the MVN-ICAR
dot-input_checkInput checker
dot-J_RJMCMCRJMCMC (with Bayesian Borrowing)
dot-J_RJMCMC_NoBorrowRJMCMC (without Bayesian Borrowing)
dot-lambda_0_MH_cpLambda_0 MH step, proposal from conditional conjugate...
dot-lambda_0_MH_cp_NoBorrowLambda_0 MH step, proposal from conditional conjugate...
dot-lambda_conj_propPropose lambda from a gamma conditional conjugate posterior...
dot-lambda_MH_cpLambda MH step, proposal from conditional conjugate posterior
dot-lgamma_ratioCalculate log gamma ratio for two different parameter values
dot-llikelihood_ratio_betaLoglikelihood ratio calculation for beta parameters
dot-llikelihood_ratio_lambdaLog likelihood for lambda / lambda_0 update
dot-log_likelihoodLog likelihood function
dot-logsumexpComputes the logarithmic sum of an exponential
dot-lprop.dens.beta.NRlog Gaussian proposal density for Newton Raphson proposal
dot-lprop_density_betaLog density of proposal for MALA
dot-ltau_dpriorCalculate log density tau prior
dot-mu_updateCalculate mu posterior update
dot-normalize_probNormalize a set of probability to one, using the the...
dot-nu_sigma_updateCalculates nu and sigma2 for the Gaussian Markov random field...
dot-plot_histPlot histogram from MCMC samples
dot-plot_matrixPlot smoothed baseline hazards
dot-plot_tracePlot MCMC trace
dot-predictive_hazardPredictive hazard from BayesFBHborrow object
dot-predictive_hazard_ratioPredictive hazard ratio (HR) from BayesFBHborrow object
dot-predictive_survivalPredictive survival from BayesFBHborrow object
dot-set_hyperparametersSet tuning parameters
dot-set_tuning_parametersSet tuning parameters
dot-shuffle_split_point_locationMetropolis Hastings step: shuffle the split point locations...
dot-shuffle_split_point_location_NoBorrowMetropolis Hastings step: shuffle the split point locations...
dot-sigma2_updateCalculate sigma2 posterior update
dot-smooth_hazardSmoothed hazard function
dot-smooth_survivalSmoothed survival curve
dot-tau_updateSample tau from posterior distribution
GibbsMHS3 generic, calls the correct GibbsMH sampler
GibbsMH.NoBorrowGibbsMH sampler, without Bayesian Borrowing
GibbsMH.WBorrowGibbsMH sampler, with Bayesian Borrowing
group_summaryCreate group level data
init_lambda_hyperparametersInitialize lambda hyperparameters
piecewise_exp_ccExample data, simulated from a piecewise exponential model.
piecewise_exp_histExample data, simulated from a piecewise exponential model.
plot.BayesFBHborrowPlot the MCMC results
summary.BayesFBHborrowSummarize fixed MCMC results
weibull_ccExample data, simulated from a Weibull distribution.
weibull_histExample data, simulated from a Weibull distribution
BayesFBHborrow documentation built on Sept. 30, 2024, 9:17 a.m.