How to perform a ttest assuming all values together?

1 view (last 30 days)
I have recorded the heart rate of 7 individuals walking up and down a stairs. I was wondering how I can carry out a ttest on matlab assuming the heart rate values of ALL together, to get one P value and one t value at the end.

Answers (1)

Thorsten
Thorsten on 21 May 2015
You have to use anova1 if you have more than two samples.
  2 Comments
sam
sam on 21 May 2015
so is it simply, [p,tbl] = anova1(ECG_stairs), assuming ECG_stairs is the data
Thorsten
Thorsten on 22 May 2015
Edited: Thorsten on 22 May 2015
Yes, if each column contains the heart rates for an observer.

Sign in to comment.

Categories

Find more on ECG / EKG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!