invansc {binhf}R Documentation

Inverse Anscombe transformation

Description

Does the inverse of Anscombe's inverse sine transformation on a vector input.

Usage

invansc(y, n)

Arguments

y

input data vector.

n

the binomial size corresponding to the observed binomial values.

Value

x

vector of transformed data corresponding to y.

Author(s)

Matt Nunes (m.nunes@ucl.ac.uk)

References

Anscombe, F.J. (1948) The transformation of poisson, binomial and negative binomial data. Biometrika, 35, 246-254.

See Also

ansc, hfdenoise, hfdenoise.wav

Examples


#generate binomial data:

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

y<-ansc(x,10)

x1<-invansc(y,10)

#this should be the original data.


[Package binhf version 1.0-3 Index]