How do I do SEM Error Bars?

100 次查看(过去 30 天)
I know how to find the standard deviation with error bars but how do I find the standard error mean of variables?

采纳的回答

Star Strider
Star Strider 2016-4-1
You have to know the number of observations that went into calculating each standard deviation.
Assuming ‘x’ is a vector:
SEM = std(x)/sqrt(length(x));
  4 个评论
Vlatko Milic
Vlatko Milic 2019-11-7
Hi,
I get two outputs when calculating the standard error according to your example. What can the reason for this be?
Kind regards
Star Strider
Star Strider 2019-11-7
My code calculates ±95% confidence limits, so it produces both limits.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by