rse

rse(estimate, se)

Relative standard error.

The standard error expressed as a percentage of the estimate, se / estimate * 100. Dividing by the estimate makes precision comparable across measures on different scales (a 1-5 rating vs a percentage). A common rule of thumb treats an RSE under about 5% as very good precision, which is the threshold diagnose() uses for its precision flag.

Parameters

Name Type Description Default
estimate float or list of float The point estimate (mean or proportion). required
se float or list of float Its standard error, on the same scale as estimate. required

Returns

Name Type Description
float or pandas.Series The relative standard error, in percent.

See Also

se_mean, se_prop, margin_of_error, diagnose

Examples

>>> rse(estimate=4.1, se=se_mean([4, 5, 3, 4, 5]))