Learn R Programming

WRestimates (version 0.1.0)

Sample Size, Power and CI for the Win Ratio

Description

Calculates non-parametric estimates of the sample size, power and confidence intervals for the win-ratio. For more detail on the theory behind the methodologies implemented see Yu, R. X. and Ganju, J. (2022) .

Copy Link

Version

Install

install.packages('WRestimates')

Monthly Downloads

133

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Autumn O'Donnell

Last Published

December 6th, 2023

Functions in WRestimates (0.1.0)

wr.power

Power of a Win Ratio
wr.ss

Approximate Sample Size of a Win Ratio
wr.sigma.sqr

Assumed Population Variance of a Win Ratio
wr.var

Approximate Variance of the Natural Log (\(ln\)) of the Win Ratio.
wr.ci

Confidence Interval (CI) for Win Ratio