vnyaga / copuladta Goto Github PK
View Code? Open in Web Editor NEWCopula Based Bivariate Beta-Binomial Model for Diagnostic Test Accuracy Studies
Copula Based Bivariate Beta-Binomial Model for Diagnostic Test Accuracy Studies
Hi @VNyaga,
I see that you're using the waic
function from the loo package and I just wanted to double check that you're aware of the upcoming update to the loo package (I also sent an email about it back in February). Anyway, the structure of the object returned by waic
will change slightly and I think will break the code in your vignette. The new structure of the objects will be:
A named list (of class c("waic", "loo")) with components:
estimates:
A matrix with two columns ("Estimate", "SE") and three rows ("elpd_waic", "p_waic", "waic"). This contains point estimates and standard errors of the expected log pointwise predictive density (elpd_waic), the effective number of parameters (p_waic) and the LOO information criterion waic (which is just -2 * elpd_waic, i.e., converted to deviance scale).pointwise:
A matrix with three columns (and number of rows equal to the number of observations) containing the pointwise contributions of each of the above measures (elpd_waic, p_waic, waic).
So I think you just need to change the places where you pull results out from the objects. To get elpd_waic
it's now object$estimates[1, 1]
or object$estimates["elpd_waic", "Estimate"]
, where object
is returned by waic
.
I'll send out a follow-up email to my previous one once the loo update is up on CRAN (this week I hope). In the meantime it's now available from the master branch at stan-dev/loo
on GitHub.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.