Package: truelies 0.2.0.9000
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.0.9000.tar.gz
truelies_0.2.0.9000.zip(r-4.5)truelies_0.2.0.9000.zip(r-4.4)truelies_0.2.0.9000.zip(r-4.3)
truelies_0.2.0.9000.tgz(r-4.4-any)truelies_0.2.0.9000.tgz(r-4.3-any)
truelies_0.2.0.9000.tar.gz(r-4.5-noble)truelies_0.2.0.9000.tar.gz(r-4.4-noble)
truelies_0.2.0.9000.tgz(r-4.4-emscripten)truelies_0.2.0.9000.tgz(r-4.3-emscripten)
truelies.pdf |truelies.html✨
truelies/json (API)
NEWS
# Install 'truelies' in R: |
install.packages('truelies', repos = c('https://hughjonesd.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/hughjonesd/truelies/issues
Last updated 3 years agofrom:050593a39b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 02 2024 |
R-4.5-win | OK | Oct 02 2024 |
R-4.5-linux | OK | Oct 02 2024 |
R-4.4-win | OK | Oct 02 2024 |
R-4.4-mac | OK | Oct 02 2024 |
R-4.3-win | OK | Oct 02 2024 |
R-4.3-mac | OK | Oct 02 2024 |
Exports:compare_distsdifference_distdist_hdrdist_meandist_quantileempirical_bayespower_calcpower_calc_differenceupdate_prior
Dependencies:ashclicolorspacefansifarverFNNggplot2gluegtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelocfitmagrittrMASSMatrixmclustmgcvmulticoolmunsellmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangscalestibbleutf8vctrsviridisLitewithr
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 |