A statistical assessment of work-from-home participation during different stages of the COVID-19 pandemic