Extracts class proportions with survey-adjusted confidence intervals.
Details
Class proportions are estimated from the mixture model. When survey weights are used, weighted proportions better represent the population. Confidence intervals account for survey design (clustering, stratification).
Examples
if (FALSE) { # \dontrun{
fit <- gmm_survey(data = mcs_simulated, id = "id", time = "age",
outcome = "selfcontrol", n_classes = 3,
weights = "weight")
class_proportions(fit)
} # }