powered by
Does Anscombe's inverse sine transformation on a vector input.
ansc(x, binsize)
input data vector
the binomial size corresponding to the observed binomial values.
vector of transformed data corresponding to x.
x
Performs the Anscombe calculation: \(A=sin^{-1}\sqrt{(x+3/8)/(binsize+3/4)}\).
Anscombe, F.J. (1948) The transformation of poisson, binomial and negative binomial data. Biometrika, 35, 246-254.
afgen, hfdenoise, hfdenoise.wav, link{invansc}
afgen
hfdenoise
hfdenoise.wav
link{invansc}
# NOT RUN { #generate binomial data: x<-rbinom(100,10,.5) y<-ansc(x,10) #this is now the transformed data. # }
Run the code above in your browser using DataLab