Displaying 2 results from an estimated 2 matches for "npost".
Did you mean:
post
2011 Jun 16
2
Bayesian Credible Intervals for a Proportion
...le Intervals for a proportion
(disease prevalence values to be more specific) and am having trouble using
R to do this. I am working with ncredint() function but have not had success
with it. Please help!
Example:
Positive samples = 3
Total sampled = 10
Prevalence = 0.3
pvec <- seq(1,10,by=1)
npost = dbinom(pvec,10,prob=0.3, log=FALSE)
ncredint(pvec, npost, tol=0.01, verbose=FALSE)
But I don't get the right Bayesian CI. What am I doing wrong?
Thanks!
Tina
--
View this message in context: http://r.789695.n4.nabble.com/Bayesian-Credible-Intervals-for-a-Proportion-tp3600976p3600976.html
S...
2005 Apr 04
0
io timeout after 180 seconds
...more information.", true, true);
~ $s_log .= $tmp_msg;
~ $b_error = true;
~ if (isset($a_backupHosts[$s_configName]['post_error_command'])) {
~ $s_cmd =
replaceVars($a_backupHosts[$s_configName]['post_error_command']);
~ $s_log .= "\nPost error command: $s_cmd\n";
~ $s_log .= `($s_cmd) 2>&1`;
~ }
~ }
~ // let the snapshot reflect the current date
~ elseif (is_dir("$s_fullPath$s_backupType.0") && !$b_dryRun) {
~ touch("$s_fullPath$s_backupType.0");
~ if (...