Error bar for EEG data- standard deviation or standard error mean
9 次查看(过去 30 天)
显示 更早的评论
Greetings!
I need to plot power spectrum of EEG data along with an error bar. I was wondering if I need to use the standard deviation or the standard error mean to plot the error bar.
In other words which one would be the right option,
a) errorbar(frequency, meanpower, standard_deviation)
OR
b) errorbar(frequency, meanpower, standard_error_mean)
0 个评论
回答(1 个)
Star Strider
2020-1-30
If you are plotting the means, and you want to express the possible range each mean value could take at each point, then the standard error of the mean would likely be most appropriate.
If you are instead interested in the variation of the data at each point, then use the standard deviation.
In either situation, the 95% confidence intervals derived from either then standard error or the standard deviation would be most meaningful. The inverse t-value would be the correct way to calculate them.
It all depends on what you want to present in the plot.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 EEG/MEG/ECoG 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!