Published March 7, 2022 | Version v1
Software Open

A Theory-Based Model of Cumulative Activity

Creators

  • 1. University of Saskatchewan

Description

This project is designed to help classify an individual's physical activity patterns over the course of a study by plotting their activity levels per minute and fitting a piecewise equation to the distribution. This model is represented in the following manners: a csv detailing each of the line's parameters for each participant, figures representing the overall distribution of all physical activity intensities among all participants, and a classification into one of five categories (non-vigorous, consistent, moderately active, extremely active, outlier) for each individual based on their parameters.

The core of this project is the pwlf library, which is used to calculate the optimal breakpoints and the corresponding slopes for our model. The library is hosted on https://github.com/cjekel/piecewise_linear_fit_py.

Files

demo_data.zip

Files (1.1 MB)

Name Size Download all
md5:70c541e3805c6c8aeda9130b92dcda1a
4.2 kB Download
md5:66390027ffdcb189267f10434843aaab
2.8 kB Download
md5:0140d461826cf65cd2aabb4e2440fb32
1.1 MB Preview Download
md5:68c75ec85f1b59ee91f6e45a833e7ccb
1.8 kB Download
md5:3aa8a81898dcd3fbd5260ada2114bbae
2.2 kB Download
md5:a3fc384b8d5e14a46dd9bca9aad754e7
7.0 kB Download
md5:94089839dc01e78289c6913dd17c38ec
1.1 kB Download
md5:6bf484835e90aca545939d0e324fea73
2.7 kB Download
md5:7bbeba2ee3a09ca677606cd6578ed0c1
2.5 kB Download
md5:2f6f6620fcb410547d489c0f46b111c3
3.6 kB Preview Download
md5:0d624c77915972f4fd3a9101cb649b3e
267 Bytes Preview Download
md5:8c9ca5a506c44147f1a9e39cf1523cd9
16.5 kB Download