Skip to contents

Like transition_matrix(), but every cell also gets a standard error and confidence interval from the bootstrap replicate weights of a longitudinal-weight bootstrap_weights() object, by re-tabulating the flow within each replicate. The recipe is re-run per replicate, so the uncertainty of the longitudinal weighting propagates into the flow SEs.

Usage

boot_transition(
  boot,
  from,
  to,
  states = NULL,
  format = c("row", "col", "joint", "counts")
)

Arguments

boot

a weightflow_boot from bootstrap_weights() on the longitudinal recipe.

from, to, states, format

as in transition_matrix().

Value

a weightflow_transition_boot with estimate, se, ci_lower, ci_upper matrices.