add_log_posterior_values | Approximation to hyperparameter log-posterior |
casecrossover | Fit a case crossover model with linear and non-parametric... |
cc_control | Set control parameters for case-crossover models |
compute_marginal_means_and_variances | Compute marginal means and variances |
create_linear_constraints | Create a linear combination vector for a single-element-zero... |
fortify_priors | Fortify a list of priors |
get_casedays | Get a vector of case day weights from the model_data |
get_indices | Helper function to return the correct indices for latent... |
grad_log_likelihood | Gadient of the case-crossover log-likelihood. |
hessian_log_likelihood_structure | Compute the negated Hessian of the log-likelihood |
log_likelihood | Compute the log-likelihood for the model at a given parameter... |
log_posterior_theta | Log-posterior approximation for theta and sigma |
logprior_W | log-prior of W |
make_linear_constraints | Make a matrix of linear constraints |
make_model_lincombs | Marginal means/variances for linear combinations of latent... |
marginal_hyperparameter_posterior | Marginal hyperparameter posterior |
model_setup | Set up a casecrossover model for fitting. |
normalize_log_posterior | Normalize log-posterior via simple numerical integration |
normalize_optresults_logpost | Normalize the log posterior returned by the optimization |
optimize_latentfield_trustoptim | Optimize the conditional posterior of the latent Gaussian... |
optlist_to_tibble | Convert the output of one of my optimization functions into a... |
pc_prior | The PC Prior for the smoothing log precision. |
plot.cc_fit | Plot results of fitting a case crossover model. |
prep_data_for_log_lik | Prepare the data for computing the log-likelihood |
print.cc_summary | Print method for summary.cc_fit. |
Q_matrix_linear | Calculate the Q matrix for a model with only linear terms. |
sim1data | A simulated dataset for fitting case-crossover models. |
summary.cc_fit | Summarize results of a casecrossover fit. |
supported_prior_distributions | Supported prior distributions. |
validate_linear_constraints | Validate your created linear constraints. |
validate_prior_distribution | Validate a specified prior distribution. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.