Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desc_statby {ggpubr} sd and se with wrong explanation #492

Closed
trustindata opened this issue Sep 24, 2022 · 1 comment
Closed

desc_statby {ggpubr} sd and se with wrong explanation #492

trustindata opened this issue Sep 24, 2022 · 1 comment

Comments

@trustindata
Copy link

When you use e.g. ggerrorplot you can choose desc_statby=sd or desc_statby= se. Where sd = standard deviation of the mean
and se= standard error of the mean. That makes no sense at all all because the standard error of the mean is defined as standard deviation of the mean.
So the standard error of the mean or the standard deviation of the mean (sem) = sample standard deviation devided by the root of the sample size : sem= sigma/root(n)
Whereas sd is normally used as the term for the standard deviation of the sample.
In errorplots it is usual to plot the mean with the sample standard deviation (sd) or the standard error of the mean (sem).
I thing it is import to get the difference betwenn sem and sd straight concerning desc_statby because they often get mixed up by students and scientiest alike.

@kassambara
Copy link
Owner

fixed in this commit: #c25039db0ff61ba3be0d5c7974c57a700a27896d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants