Package: truelies 0.2.1
truelies: Bayesian Methods to Estimate the Proportion of Liars in Coin Flip Experiments
Implements Bayesian methods, described in Hugh-Jones (2019) <doi:10.1007/s40881-019-00069-x>, for estimating the proportion of liars in coin flip-style experiments, where subjects report a random outcome and are paid for reporting a "good" outcome.
Authors:
truelies_0.2.1.tar.gz
truelies_0.2.1.zip(r-4.7)truelies_0.2.1.zip(r-4.6)truelies_0.2.1.zip(r-4.5)
truelies_0.2.1.tgz(r-4.6-any)truelies_0.2.1.tgz(r-4.5-any)
truelies_0.2.1.tar.gz(r-4.7-any)truelies_0.2.1.tar.gz(r-4.6-any)
truelies_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
truelies/json (API)
NEWS
| # Install 'truelies' in R: |
| install.packages('truelies', repos = c('https://community.r-multiverse.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hughjonesd/truelies/issues
Last updated from:4a0b41cde2 (on v0.2.1). Checks:9 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 112 | ||
| source / vignettes | OK | 155 | ||
| linux-release-x86_64 | OK | 108 | ||
| macos-release-arm64 | OK | 87 | ||
| macos-oldrel-arm64 | OK | 74 | ||
| windows-devel | OK | 74 | ||
| windows-release | OK | 71 | ||
| windows-oldrel | OK | 87 | ||
| wasm-release | OK | 105 |
Exports:compare_distsdifference_distdist_hdrdist_meandist_quantileempirical_bayespower_calcpower_calc_differenceupdate_prior
Dependencies:ashclicpp11farverFNNggplot2gluegtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelocfitMatrixmclustmgcvmulticoolmvtnormnlmepracmaR6RColorBrewerRcpprlangS7scalesvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate probability that one posterior is larger than another | compare_dists |
| Find density of the difference of two distributions | difference_dist |
| Compute highest density region for a density function | dist_hdr |
| Find mean of a probability density function | dist_mean |
| Find quantiles given a probability density function | dist_quantile |
| Estimate proportions of liars in multiple samples using empirical Bayes | empirical_bayes empirical_bayes.default empirical_bayes.formula |
| Calculate power to detect non-zero lying | power_calc |
| Estimate power to detect differences in lying between two samples | power_calc_difference |
| Print/plot an object of class 'densityFunction'. | plot.densityFunction print.densityFunction |
| Calculate posterior distribution of the proportion of liars | update_prior |
