Hi good souls,
In Stata, how to sum up the commute distance or commute duration for a person considering only travel from home (home may be any number between 1 and 8) to work (9)? see the attached figure for details.
Thanks
Rabiul