R/EmpiricalCalibrationUsingAsymptotics.R
fitNullNonNormalLl.Rd
fitNullNonNormalLl
fits the null distribution to a set of negative controls
fitNullNonNormalLl(likelihoodApproximations)
An object containing the parameters of the null distribution.
This function fits a Gaussian function to the negative control estimates, using non-normal approximations of the per-negative control log likelihood.
data(sccs)
negatives <- sccs[sccs$groundTruth == 0, ]
null <- fitNullNonNormalLl(negatives)
#> Detected data following normal distribution
null
#> Estimated null distribution
#>
#> Estimate
#> Mean 0.7920
#> SD 0.2835