
Gross-flow TOTALS with standard errors, plus net flows and margins
Source:R/transitions.R
boot_flows.RdThe gross change is about the number of people who move between states, i.e. totals. From a
longitudinal-weight bootstrap_weights() object this returns, all with a bootstrap standard
error computed within each replicate: the from x to count matrix (the gross flows, in
population totals), the net flow matrix i->j minus j->i, and the margins – the origin
totals (how many started in each state), the destination totals (how many ended in each), the
stayers (the diagonal) and the movers (off-diagonal).
Arguments
- boot
a
weightflow_bootfrombootstrap_weights()on the longitudinal recipe.- from, to, states
as in
transition_matrix().
Value
a weightflow_flows object with counts/counts_se, net/net_se, origin/origin_se,
dest/dest_se, and stayers/movers (each with its SE).