ABC_P2_gamma
(Package: ABCp2) :
ABC Estimation of P2 for Gamma Distribution
This function fits offspring data to a special case of the gamma distribution, in which zero values of offspring are excluded and all values are rounded to a whole number, and estimates P2 based on that distribution and the specificed priors.
fit_dist_norm
(Package: ABCp2) :
Fit Offspring Distribution to the Normal Distribution
This function fits offspring data to a special case of the normal distribution, in which zero and negative values of offspring are excluded, and tests the goodness of fit using the chi-squared test.
fit_dist_gamma
(Package: ABCp2) :
Fit Offspring Distribution to the Gamma Distribution
This function fits offspring data to a special case of the gamma distribution, in which zero values of offspring are excluded and all values are rounded to a whole number, and tests the goodness of fit using the chi-squared test.
ABC_P2_norm
(Package: ABCp2) :
ABC Extimation of P2 for Normal Distribution
This function fits offspring data to a special case of the normal distribution, in which zero and negative values of offspring are excluded, and estimates P2 based on that distribution and the specificed priors.