| invansc {binhf} | R Documentation |
Does the inverse of Anscombe's inverse sine transformation on a vector input.
invansc(y, n)
y |
input data vector. |
n |
the binomial size corresponding to the observed binomial values. |
x |
vector of transformed data corresponding to y. |
Matt Nunes (m.nunes@ucl.ac.uk)
Anscombe, F.J. (1948) The transformation of poisson, binomial and negative binomial data. Biometrika, 35, 246-254.
ansc, hfdenoise, hfdenoise.wav
#generate binomial data: x<-rbinom(100,10,.5) y<-ansc(x,10) x1<-invansc(y,10) #this should be the original data.