Skip to content

truncnormbayes

0.0.3

Estimates Moments for a Truncated Normal Distribution using 'Stan'

0packages depend
2.5Kdownloads / year
75.6%test coverage
13/13checks pass

Overview

About
Maintained by Peter SolymosFirst published 2022-08-223 releasesCRAN page ↗GitHub ↗

Finds the posterior modes for the mean and standard deviation for a truncated normal distribution with one or two known truncation points. The method used extends Bayesian methods for parameter estimation for a singly truncated normal distribution under the Jeffreys prior (see Zhou X, Giacometti R, Fabozzi FJ, Tucker AH (2014). "Bayesian estimation of truncated data with applications to operational risk measurement". doi:10.1080/14697688.2012.752103). This package additionally allows for a doubly truncated normal distribution.

Install

Health

CRAN checks
13OK
Slowest check: 23.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.44
75.6%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-08
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 123 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

2.5K
CRAN downloads in the past year
Rank #13,663 · ~7/day · ~207/mo
Daily download trend is not available in this view yet.
31830 days
77590 days
2.5K1 year
Compare downloads with other packages →
Also on399 r2u19 autocran

Repository

Repository
0Stars
2Forks
0Open issues
1Open PRs
0Releases
94Commits
4Contributors
License GPL-3.0 · 94 commits · Last activity 2023-09-10

Forks over time

2023-09-10 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mathurlabstanford/truncnormbayes on 2026-07-19.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Maintainer, Contributor · added in 0.0.3
Authors (2)
Author
Contributors (2)
Maintainer, Contributor · added in 0.0.3
Contributor
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.3Latest
    2023-08-23 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.2
    2022-09-09 · diff ↗
  • unarchivedReturned to CRAN
    2022-09-09
  • archivedRemoved from CRAN
    2022-09-08
    check problems were not corrected in time
  • 0.0.1
    2022-08-22
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-08-22
Total releases
3 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.4.0
Download size
20 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →