Man pages for awstringer1/casecrossover
Approximate Bayesian Inference for Case Crossover Models

add_log_posterior_valuesApproximation to hyperparameter log-posterior
casecrossoverFit a case crossover model with linear and non-parametric...
cc_controlSet control parameters for case-crossover models
compute_marginal_means_and_variancesCompute marginal means and variances
create_linear_constraintsCreate a linear combination vector for a single-element-zero...
fortify_priorsFortify a list of priors
get_casedaysGet a vector of case day weights from the model_data
get_indicesHelper function to return the correct indices for latent...
grad_log_likelihoodGadient of the case-crossover log-likelihood.
hessian_log_likelihood_structureCompute the negated Hessian of the log-likelihood
log_likelihoodCompute the log-likelihood for the model at a given parameter...
log_posterior_thetaLog-posterior approximation for theta and sigma
logprior_Wlog-prior of W
make_linear_constraintsMake a matrix of linear constraints
make_model_lincombsMarginal means/variances for linear combinations of latent...
marginal_hyperparameter_posteriorMarginal hyperparameter posterior
model_setupSet up a casecrossover model for fitting.
normalize_log_posteriorNormalize log-posterior via simple numerical integration
normalize_optresults_logpostNormalize the log posterior returned by the optimization
optimize_latentfield_trustoptimOptimize the conditional posterior of the latent Gaussian...
optlist_to_tibbleConvert the output of one of my optimization functions into a...
pc_priorThe PC Prior for the smoothing log precision.
plot.cc_fitPlot results of fitting a case crossover model.
prep_data_for_log_likPrepare the data for computing the log-likelihood
print.cc_summaryPrint method for summary.cc_fit.
Q_matrix_linearCalculate the Q matrix for a model with only linear terms.
sim1dataA simulated dataset for fitting case-crossover models.
summary.cc_fitSummarize results of a casecrossover fit.
supported_prior_distributionsSupported prior distributions.
validate_linear_constraintsValidate your created linear constraints.
validate_prior_distributionValidate a specified prior distribution.
awstringer1/casecrossover documentation built on March 11, 2021, 4:41 a.m.