estimate_pdiff_one function

Estimates for a single-group design with a categorical outcome variable compared to a reference or population value.