Bayesian Methods to Estimate the Proportion of Liars in Coin Flip Experiments
Overview
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.
- Added
empirical_bayes()function. update_prior()now usesstats::dunifas the prior by default.
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘David Hugh-Jones <davidhughjones@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "David",
family = "Hugh-Jones",
role = c("aut", "cre"),
email = "davidhughjones@gmail.com")
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.- NOTE11 OK, 2 NOTENow
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 11 (1 internal)includes a package overview page
- Examples that run
- 100%10 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 85%
- Return-value docs
- 100%
- Help pages citing references
- 9%
Downloads
Repository
Releases over time
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/hughjonesd/truelies on 2026-10-11.
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.2.0Latest
- 0.1.02019-06-28
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-06-28
- Total releases
- 2 / 7 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 36 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("truelies")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s40881-019-00069-x.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.