Skip to content

tcftt

0.1.0Package record

Two-Sample Tests for Skewed Data

0packages depend
1.6Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

The classical two-sample t-test works well for the normally distributed data or data with large sample size. The tcfu() and tt() tests implemented in this package provide better type-I-error control with more accurate power when testing the equality of two-sample means for skewed populations having unequal variances. These tests are especially useful when the sample sizes are moderate. The tcfu() uses the Cornish-Fisher expansion to achieve a better approximation to the true percentiles. The tt() provides transformations of the Welch's t-statistic so that the sampling distribution become more symmetric. For more technical details, please refer to Zhang (2019) http://hdl.handle.net/2097/40235.

Changes in 0.1.0

This version is the initial release of the tcftt package.

The function tcfu() implements the Cornish-Fisher based two-sample test (TCFU) and tt() implements the transformation based two-sample test (TT).

The function t_edgeworth() provides the Edgeworth expansion for cumulative density function for the Welch's t-statistic, and t_cornish_fisher() provides the Cornish-Fisher expansion for its percentiles.

The functions adjust_power() and pauc() provide power adjustment methods for simulation studies.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Huaiyu Zhang <huaiyuzhang1988@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Huaiyu",
                      family = "Zhang",
                      role = c("aut", "cre"),
                      email = "huaiyuzhang1988@gmail.com"),
               person(given = "Haiyan",
                      family = "Wang",
                      role = "aut"))
as necessary.

CRAN check page ↗

Slowest check: 47 s · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 208 wordsVignettesNoNEWSYes · 33% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
9 (1 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
44%

Downloads

1.6K
CRAN downloads in the past year
Rank #24,520 · ~4/day · ~136/mo
Daily download trend is not available in this view yet.
19830 days
49590 days
1.6K1 year
Compare downloads with other packages →
Also on66 r2u5 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing tcftt adds no packages beyond those that come with R.

Depends (1)
R >= 3.1.0
Imports (1)
stats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (2)

Maintainer since 0.1.0 (2020)

Releases (1)
  • 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
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0Latest
    2020-07-23 · current release
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-07-23
Total releases
1 / 6 yrs
License
GPL-2 OSI
Minimum R
≥ 3.1.0
Download size
8.5 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tcftt")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tcftt version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy