freeinv {binhf} | R Documentation |
Inverse Freeman-Tukey transform
Description
Does the inverse of the Freeman-Tukey inverse sine transformation on a vector input.
Usage
freeinv(y, n)
Arguments
y |
input data vector. |
n |
the binomial size corresponding to the observed binomial values. |
Value
a |
vector of transformed data corresponding to y. |
Author(s)
Matt Nunes (m.nunes@ucl.ac.uk)
References
Freeman, M. F. and Tukey, J. W. (1950) Transformations related to the angular and the square root. Ann. Math. Stat., 21, 607–611.
See Also
Examples
#generate binomial data:
x<-rbinom(100,10,.5)
y<-free(x,10)
x1<-freeinv(y,10)
#this should be the original data.
[Package binhf version 1.0-3 Index]