#StatisticsClass

Statistics GlobeStatisticsGlobe
2025-06-13

I recently discovered the tidyplots package in R, and it’s impressive how effortlessly it enables you to create beautiful, publication-ready plots.

The example visualizations shown here were created by the package author, Jan Broder Engler, and are featured on the tidyplots website: jbengler.github.io/tidyplots/

Click this link for detailed information: statisticsglobe.com/online-cou

Statistics GlobeStatisticsGlobe
2025-05-27

If you're a Stata user, you should switch to R now!

Thinking about switching to R? Check out my online course for absolute beginners in R programming.

Click this link for detailed information: statisticsglobe.com/online-cou

Statistics GlobeStatisticsGlobe
2025-04-08

Basic boxplots are often not the best way to visualize your data! They can hide important information, such as the distribution of individual data points or group-specific differences.

The attached visual showcases several ways to enhance boxplots.

All of these examples were created using ggplot2 and extensions in R.

Click this link for detailed information: statisticsglobe.com/online-cou

2025-03-28

> .. example in the success of NAVY test flights...examination of Israeli test flights had shown that pilots who did well on one test flight usually did not fare as well on their..[next] flight. Overlooking the presence of regression to the mean, the Israeli flight instructors concluded that the praising the pilots was hindering the pilots ability... the decreases were.. part of a larger picture that involved #RegressionToTheMean.
economics-files.pomona.edu/gar
#StatisticsClass #RegressionToMean

2025-03-26

The Graphs and Statistics are fascinating in this UN Report. It might provide good exercises for a data or statistcs class: redesign the pie charts, find the original figures and design tables... Just learn from it.. It's a shame the text was garbled when I tried to copy direct from the .pdf..
unodc.org/documents/data-and-a
#HomicideRates #MurderRate #StatisticsClass #LearningStatistics #UncertaintyGraphs #UncertaintyVisualization

A screenshot of FIG. 1 on page 150 of the UN .pdf linked in the post. The figure shows the "Rates of homicide, suspects brought into contact with the police and people convicted of homicide per 100,000 population..>" for the "selected regions": Americas, Asia, Europe, Global. The data is from "2021 or latest year available".
The bar chart (nice thin bars, a decent ink-to-info ratio I guess) allows easy comparison of the "Victims of Homicide", "Suspects brought into formal contact with police", and "People Convicted" for each region. The figures are
Americas(25 countries), 17.9, 7.7, 3.4
Asia(17 countries), 2.6, 4.9, 1.5
Europe(35), 2.5, 2.8, 2.0
Global(82), 4.4, 4.7, 1.8 
The Americas seem like an outlier region. Eduard Galeano probably points us towards an convincing explanation...Another screenshot of a FIG. from the UN .pdf linked in the post. This graph on page 132 shows "Regional shares of homicides by type of known mechanism, 2021" for the regions, Europe, Asia, Americas, and World. My attention was draw to visualization of an "uncertainty range" with a  blue line spanning a certain distance around (well up to in the case of 75% firearm murders in the Americas) the pink dot with a number for each observation. This graph could motivate learners of statistics working with confidence intervals and inferring uncertainty. Other parts of the document mention OLS regression ("Pooled cross-sectional OLS regression estimates predicting the (ln) homicide rate..") that could help motivate people to keep learning statistics in order to better understand documents like this, and to think of policy with greater confidence...
2025-03-24

🧵
> ... de Moivre's equation in action. The variation of the mean is inversely proportional to the sample size, so small counties display much greater variation than large counties. A county with, say, 100 inhabitants that has no cancer deaths would be in the lowest category. But if it has 1 cancer death it would be among the highest. Counties like Los Angeles, Cook or Miami-Dade with millions of inhabitants do not bounce around like that.
@bsmall2@writing.exchange
#StatisticsClass #Variance #EstimatingMeans

Statistics GlobeStatisticsGlobe
2025-03-11

In my opinion, R should be your go-to programming language!

Ready to explore the world of R? I've created a comprehensive online course that introduces R for beginners.

More information: statisticsglobe.com/online-cou

2025-02-20

> Probability is expectation founded upon partial knowledge. A perfect acquaintance with all the circumstances affecting the occurrence of an event would change expectation into certainty, and leave neither room nor demand for a theory of probabilities.
gutenberg.org/ebooks/15114
#Boole #GeorgeBoole #StatisticsClass #GutenbergEbook

Statistics GlobeStatisticsGlobe
2025-02-18

If you're looking to master Deep Learning, following a structured roadmap is key to navigating this advanced and ever-evolving field.

I came across this roadmap on the AIGENTS website, and what really stands out is its interactive format. Each element is clickable, offering AI-powered insights and resources that make it easier to dive deeper into each topic. Check out this link for more details: aigents.co/learn/roadmaps/deep

2025-02-02

> Bertrand Russell has this great quote, “This is one of those views which are so absurd that only very learned men could possibly adopt them.” On the other hand, there’s this from George Orwell: “To see what is in front of one’s nose needs a constant struggle.”
statmodeling.stat.columbia.edu
#StatisticsClass #AndrewGelman #BertrandRussel #GeorgeOrwell

2025-01-28

> The term histogram was first used by Karl Pearson in his 1895 lectures on statistical graphics. The stem-and-leaf plot, which is a variant of the histogram, was introduced by the U.S. statistician John Tukey in 1970. In the words of Tukey,
> “Whereas a histogram uses a nonquantitative mark to indicate a data value, clearly the best type of mark is a digit.”
#JohnTukey in #SheldonMRoss #IntroductoryStatistics #StatisticsClass #Histogram #StemAndLeafPlot

2025-01-17

This might be helpful in a #StatisticsClass to keep track of where you are in the sequence...
I'll have to try to watch some of the videos, the book pages and blog posts have been fascinating so far...
xcelab.net/rmpubs/sr2/statisti
xcelab.net/rm/
#RichardMcElreath #RethinkingStatistics #StatisticsClass

A screenshot from page 2 of the .pdf book chapters linked in the post. The image shows a complex decision-making diagram for what sort of statistics assumptions and tests to use with various sorts of problems. The caption to the figure says that a variety of complex decision tress are possible. 
https://xcelab.net/rmpubs/sr2/statisticalrethinking2_chapters1and2.pdf
2025-01-17

The command line is the best tool...
... the command line is more powerful... saves you time and fulfills ethical obligations. With a command script, each analysis documents itself... years from now you can come back to your analysis and replicate it exactly. You can re-use your old files and send them to colleagues. Pointing and clicking, however, leaves no trail of breadcrumbs...
xcelab.net/rm/
#RichardMcElreath in #RethinkingStatistics book #StatisticsClass #EthicalCLI

Statistics GlobeStatisticsGlobe
2025-01-14

Decision trees are a powerful tool in data science for making decisions and predictions based on data. They work by splitting data into branches based on specific criteria, allowing for clear and interpretable decisions. When used correctly, decision trees can significantly enhance the accuracy and interpretability of models.

Learn more: statisticsglobe.com/online-cou

Statistics GlobeStatisticsGlobe
2025-01-07

The Standard Error measures how much a sample statistic, like the mean, is expected to vary from the true population parameter. It helps us understand the precision of our estimates and how much confidence we can place in our results.

Learn more: statisticsglobe.com/online-cou

2024-11-14

> I strongly recommend that you make it a habit to avoid all statistical language. Keep it simple and stick to what you know for sure. There is absolutely nothing wrong with speaking of the “range over which points spread,” because this phrase means exactly what it says...

#PhilipKJanert in _Data Analysis with Open Source Tools_ #DataAnalysis #StatisticsClass #StatisticalLanguage

2024-11-02

Never thought about dice before, how "snake eyes" should be as probable as 12s and much less than 7s... Vague rainy Saturday so I started putting those musings into Racket with Graphite, Scribble and `random. I guess stay-at-home days are needed/healthy every one in a while...
> the theory of.. probability... unsavoury origin.. from... nobility of France.. competing in a race to ruin at the gaming tables.
codeberg.org/bsmall2/statistic
#RacketLang #StatisticsClass #GoofingWithCoding #RaceToRuin

A histogram generated by Racket's Graphite module for a simulation for rolling pairs of dice: (+ (random 1 7) (random 1 7)) .... I guess rolling dice, simulating the rolls, could be way to ease into "normal distrubtion" in addtion to thinking about, experimenting with, bin-widths for histograms, playing with frequencies....
2024-10-23

I wanted to make a visualization using the survival numbers for Stepehen Jay Gould's cancer in _The Median is Not The Message_. It might be a good way to see, and remember "right-skewed" and be an anecdote for use in the introductory section "Why learn statistics" at the start of a course. But I don't know how to get the numbers so I'll follow the suggestion to use Japanese age data for a left-skewed example.
e-stat.go.jp/en/stat-search/fi
#StatisticsClass #SkewnessLearning

A screenshot from the page linked in the post. It shows the file I downloaded in preparation for trying to make visualizations for learning about "skewness".  I should get data for a contry that is skewed the other way, with few older people and many younger peope too, but in the meantime... 

https://www.e-stat.go.jp/en/stat-search/files?layout=dataset&query=population%20by%20ageA screenshot of the the first 12 lines of the file downloaded from the page linked in the post. Now I have to decide whether to use the "Total Population" or just the "Japanese Population".. Maybe I'll start with the Japanese Population,  and then wonder if using the "Total Population! would show much difference in the plot graphics...
Statistics GlobeStatisticsGlobe
2024-08-16

Understanding the Law of Large Numbers (LLN) is crucial for anyone working with statistics and probability. The LLN states that as the number of trials in an experiment increases, the average of the results becomes closer to the expected value.

Visualization: en.wikipedia.org/wiki/Law_of_l

Click this link for detailed information: statisticsglobe.com/law-of-lar

Statistics GlobeStatisticsGlobe
2024-06-14

I've recently discovered a really useful R package by Jan Broder Engler called tidyheatmaps.

Full guide: jbengler.github.io/tidyheatmap

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst