Skip to content

Analysis scripts for study using foot-mounted inertial sensors during real-world walking.

Notifications You must be signed in to change notification settings

jchar32/Stability-analysis-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Project: The number of steps for stable real-world, unsupervised walking data using a shoe-worn inertial sensor

## Overview
The dataset and code relate to a project from my dissertation involving biomechanical gait data rising from a foot-worn inertial sensor.
Participants completed a week of unsupervised community walking. Biomechanical outcomes were extracted from the data and a stability
analysis was performed to identify how many steps were required before the outcome stabilized. 

## Components
Data
- data can be found at DOI: https://doi.org/10.5683/SP3/PZKWTB
- files are structured as ROW: participant observation , COL: gait or demographic outcome

1) gait_metric_means.csv
mean values for each gait outcome over all the collected steps from each participant

2) percent_similar_data.csv
The percentage of similar data when stability was reached for each outcome and participant.

3) steps2stability_data.csv
- The number of steps when stability was reached for each outcome and participant.

4) ntotal_steps.csv
- The number of total steps recorded for each outcome and participant.

Code
1) mainAnalysis.R
script ingests data files, cleans data, and performs the primary analysis of the project (generalized linear mixed effects model).

## Outcome Dictionary
fpa_classif - foot progression angle during midstance
peakacc_norm_HS	- Euclidean norm of linear acceleration at heel strike
peakacc_norm_TO	- Euclidean norm of alinear acceleration at toe-off
peakgyr_norm_HS	- Euclidean norm of angular velocity at heel strike
peakgyr_norm_TO	- Euclidean norm of angular velocity at toe-off
stance_time - time from heel strike to toe off
foot_strike_angle - angle of foot at heel strike in sagittal plane. 
group - participant grouping indicator: HA=healthy adult, KOA = knee ostoearthritis
ID - numeric id value. int: 0-30
Age - age: units years. float: positve
Sex - sex. categorical: M=male, F=female
BMI - body mass index: units kg/m^2. float: positive 
Klgrade - severity of structure signs of osteoarthritis. int: Empty, 2, 3, 4

## Usage
1) Dowload data from repo linked above. Place in folder with mainAnalysis.R
2) Open mainAnalysis.R
3) Run script section by section. NOTE: ensure the first section installs and loads all necessary libraries
4) Data tables are output into /results/ folder

About

Analysis scripts for study using foot-mounted inertial sensors during real-world walking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages