Description Usage Arguments Value Examples
View source: R/get_xvt_results.R
get_xvt_results
performs a single cross-validation test for dcpo's estimates of cross-national public opinion
1 | get_xvt_results(dcpo_xvt_output, ci = 80)
|
dcpo_xvt_output |
output from a single call to |
ci |
an integer indicating the desired width of credible interval for coverage testing; 80 is the default. |
a stanfit object
1 2 3 4 5 6 7 8 | # Single cross-validation test with 25% test set
demsup_xvtest_25pct <- dcpo_xvt(demsup_data,
chime = FALSE,
number_of_folds = 4,
iter = 300,
chains = 1) # 1 chain/300 iterations for example only; use defaults
get_xvt_results(demsup_xvtest_25pct)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.