Description Usage Arguments Value
View source: R/cause_grid_adapt.R
Uses an adaptive grid approximation to estimate the posterior distribution of q, gamma, and eta or a subset of those
1 2 3 4 5 6 7 8 9 |
X |
An object of class cause_data |
param_ests |
param_ests Object of class cause_params |
params |
Vector of parameter names. Should be some subest of c("q", "gamma", "eta") given in any order. |
priors |
List of prior functions corresponding to parameters in params. Each element should be a funciton that takes one argument and returns a log likelihood. |
n_start |
Vector of length length(params) giving the number of starting bins for each dimension |
max_post_per_bin |
Maximum posterior probability for each grid cube. This parameter controls the fineness of the approximation. |
An object of class cause_post.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.