invansc: Inverse Anscombe transformation

Description Usage Arguments Value Author(s) References See Also Examples

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
#generate binomial data:

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

y<-ansc(x,10)

x1<-invansc(y,10)

#this should be the original data.

binhf documentation built on May 2, 2019, 4:07 p.m.

Related to invansc in binhf...