R/var_prop_indep.R

Defines functions var_prop_indep

Documented in var_prop_indep

#' @rdname var_mean_indep
#' @export
var_prop_indep <- function(pi_hat, nobs) {
  diag(pi_hat * (1 - pi_hat) / nobs)
}

Try the probstats4econ package in your browser

Any scripts or data that you put into this service are public.

probstats4econ documentation built on Sept. 11, 2024, 8:29 p.m.