binhf (version 1.0-3)

freeinv: 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.

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

free

Examples

Run this code
# NOT RUN {
#generate binomial data:

x<-rbinom(100,10,.5)

y<-free(x,10)

x1<-freeinv(y,10)

#this should be the original data.

# }

Run the code above in your browser using DataCamp Workspace