How to perform a ttest assuming all values together?

2 次查看(过去 30 天)
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.

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by