Skip to content

hettx

1.0.1

Fisherian and Neymanian Methods for Detecting and Measuring Treatment Effect Variation

0packages depend
3.3Kdownloads / year
77.1%test coverage
13/13checks pass

Overview

About
Maintained by Ben FifieldFirst published 2019-03-064 releasesCRAN page ↗GitHub ↗

Implements methods developed by Ding, Feller, and Miratrix (2016) doi:10.1111/rssb.12124 doi:10.48550/arXiv.1412.5000, and Ding, Feller, and Miratrix (2018) doi:10.1080/01621459.2017.1407322 doi:10.48550/arXiv.1605.06566 for testing whether there is unexplained variation in treatment effects across observations, and for characterizing the extent of the explained and unexplained variation in treatment effects. The package includes wrapper functions implementing the proposed methods, as well as helper functions for analyzing and visualizing the results of the test.

Install

Health

CRAN checks
13OK
Slowest check: 7.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.20
77.1%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-05-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
63%
References docs
3%

Downloads

3.3K
CRAN downloads in the past year
Rank #12,414 · ~9/day · ~275/mo
Daily download trend is not available in this view yet.
27630 days
86090 days
3.3K1 year
Compare downloads with other packages →
Also on106 r2u14 autocran25 c2d4u

Repository

Repository
11Stars
0Forks
1Open issues
0Open PRs
4Releases
122Commits
4Contributors
122 commits · Last activity 2026-02-24

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/bfifield/hettx on 2026-07-19.

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

Dependencies

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

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,759 (68%)Rd 1,229 (22%)Vignettes 527 (10%)
Code characteristics
Object systems
S319
Cyclomatic complexity
1.0 median / 53 max
Test cases
34 / 0.20 per code line

Test coverage

Line coverage

77%

Expression

76.9%

Tests / Examples

77.1% / 37% ex

Functions

80 44 exported

Complexity

3 avg / 53 max

Call network

80 nodes / 58 edges

Loading call graph…

Lowest coverage

80 functions
FunctionCycloCoverage
KS.stat exp10%
SKS.pool.t exp10%
SKS.stat exp10%
SKS.stat.cov exp10%
SKS.stat.cov.pool exp10%
SKS.stat.cov.rq exp10%

Datasets

Bundled datasets · 2
NameClassRows × ColsAlso ships in
Penn46_asciidata.frame6,384 × 12
ToyDatadata.frame500 × 7

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-02-24 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.3
    2023-08-20 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.2
    2023-02-16 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.1
    2019-03-06
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-03-06
Total releases
4 / 7 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Bundled data
425 KB / 4 files
Download size
583 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →