Code Monkey home page Code Monkey logo

kesar-ting-r01-2021-11-03's Introduction

R01 Sample Size Justification

J. Lucas McKay 11/2/2021

Data sources

This document is based on data from the file GaitSignatureQuality.csv provided by Michael Rosenberg, Ph.D. This .csv file is not tracked by github.

Sample size justification

We powered the study based on preliminary gait quality data of N = 8 stroke survivors and N = 5 able-bodied comparison subjects. Across groups, based on 1000 Welch Independent Samples t-tests simulated based on preliminary data with a differential effect size of Cohen’s d = 1.3, a sample size of N = 80 stroke survivors and N = 20 able-bodied individuals will have >99% power to resolve a difference between stroke and able-bodied. Within the stroke group, based on contrasts between gait quality measures obtained at enforced speed = 5 and self-selected speed of Cohen’s d = 0.8, a paired-sample t-test will have >95% power to resolve an improvement in gait quality accompanying increased gait speed. Further, based on observed contrasts between enforced speed = 5 and enforced speed = 2 of Cohen’s d = 0.5, a paired-sample t-test will have >85% power to resolve differential improvements in gait quality between enforced speeds 5 and 2. Tests of all pairwise combinations of speeds will have >80% power to resolve at least 5/10 pairwise contrasts between speeds after Bonferroni correction for multiple comparisons (n = 10, alpha = 0.005).

Figures

The primary multi-panel data figure is saved as panels.eps. The arguments in the following line can be changed to alter its size and resolution as needed.

ggsave("panels.eps",plt,dpi=300,width=6.5,height=3,units="in")

Simple group comparison figure

Annotated group comparison figure

Annotated speed comparison figure

Multi-panel figure

kesar-ting-r01-2021-11-03's People

Contributors

jlucasmckay avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.