1. Import physical activity dataset into local environment

  2. Check that activity count data (i.e., vector magnitude) is calculated and present in the physical activity dataset

  3. Update the time variable formats and data types via the ChangeTimeVar function, ensuring that the format field matches the current time formatting

  4. Perform any other pre-processing specific to the dataset

  5. If using sleep diary data, repeat steps 1, 3, and 4 for sleep diary data

  6. Run the SleepEstEachDay function for each subject while specifying preferred parameter values (refer to documentation for details)