P-value for a discrete distribution on small sample data
Computes the p-value for a two-sided hypothesis test following Dixon's (2002:145) description of the method of Agresti & Min (2001).
Number of simulated values.
P-value of the two-sided hypothesis test
This function is usually not to be called by the user. It is internally used by
Marcelino de la Cruz Rot. email@example.com
Agresti, A. & Min, Y. 2001. On small-sample confidence intervals
for parameters in discrete distributions. Biometrics, 57: 963-971.
Dixon, P.M. 2002. Nearest-neighbor contingency table analysis of spatial segregation for several species. Ecoscience, 9(2): 142-151.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.