| freeinv {binhf} | R Documentation |
Does the inverse of the Freeman-Tukey inverse sine transformation on a vector input.
freeinv(y, n)
y |
input data vector. |
n |
the binomial size corresponding to the observed binomial values. |
a |
vector of transformed data corresponding to y. |
Matt Nunes (m.nunes@ucl.ac.uk)
Freeman, M. F. and Tukey, J. W. (1950) Transformations related to the angular and the square root. Ann. Math. Stat., 21, 607–611.
#generate binomial data: x<-rbinom(100,10,.5) y<-free(x,10) x1<-freeinv(y,10) #this should be the original data.