question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[New feature request] ci = 'se' for categorical plots

See original GitHub issue

This is a new feature request, which should be very straightforward to implement.

Now that the ci parameter supports showing sd, it would be also handy to include the option to show se, i.e., standard error as well. This would be just a division of the standard deviation by $\sqrt(n)$.

I would be happy to implement this and submit a PR if people are happy with this addition.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
mwaskomcommented, May 11, 2018

Thanks for the link to wikipedia. I’d suggest you read down to the “assumptions and usage” section.

If you have normally distributed data, then the 68% confidence interval will correspond to the standard error of the mean. In the case of bootstrapping, this will only be approximate and dependent on the number of bootstrap samples.

If you do not have normally distributed data, then the standard error of the mean will be useless, and the bootstrap confidence interval will give you much more informative error bars.

4reactions
mwaskomcommented, May 11, 2018

You can show standard error with a 68% confidence interval.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Plotting Categorical Variables with ...
These kinds of plots allow us to choose a numerical variable, like age, and plot the distribution of age for each category in...
Read more >
Visualizing categorical data — seaborn 0.12.1 documentation
In this tutorial, we'll mostly focus on the figure-level interface, catplot() . Remember that this function is a higher-level interface each of the...
Read more >
4. Line Graphs - R Graphics Cookbook [Book] - O'Reilly
Line graphs can be made with discrete (categorical) or continuous (numeric) variables on the x-axis. In the example here, the variable demand is...
Read more >
25 Working with categorical data and factor variables - Stata
We created the categorical variable according to the definition by using the generate and replace commands. The only thing that deserves comment is...
Read more >
Categorical Data Analysis in Experimental Biology - PMC - NCBI
First, we will explain how to calculate the mean, the standard error (SE) and confidence interval (CI) for nominal data with two categories....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found