I have been playing with the database of tweets sent out by Donald Trump (http://www.trumptwitterarchive.com/archive). Looking at the number of tweets per day from the 1st of January, it turns out that they follow a Gamma distribution (who knew).



The green line on the PDF and CDF plots above is the fitted gamma distribution.
Looking at the data, it turns out that it is not as unusual as I thought for Donald to have less then 5 tweets per day. Other than last Friday and Saturday, there have been 6 days since January with 5 or fewer tweets;
- 5th of Jan - 2 tweets
- 8th of Jan - 1 tweet
- 16th of Feb - 3 tweets
- 8th of Mar - 4 tweets
- 20th of Jul - 3 tweets
- 21st of Aug - 4 tweets
The median number of tweets per day is 30.
After fitting the gamma distribution, we can derive the likelihood of any particular number of tweets. The likelihood of the number of tweets on Friday, Saturday, and Sunday are;
- Friday - 2 or fewer tweets - 0.27% likely, or 0.4% or less with 97.5% confidence
- Saturday - 3 or fewer tweets - 0.69% likely, or 1.0% or less with 97.5% confidence
- Sunday - 9 or fewer tweets - 7.3% likely, or 10.2% or less with 97.5% confidence
On Monday, he had 31 tweets. So far today (Tuesday 10/6), he has had 45 tweets. Clearly he is feeling better.
Combining the 3 likelihoods above, it is 0.0004% likely (4 parts per million) or less with 97.5% confidence that the low number of tweets on Friday through Sunday would occur naturally.
I can not think of a metric better suited to measuring the wellbeing of the president than the number of times he tweets per day. He was very seriously ill. His tweets do not lie.
I am not sure of the rules for combining data points with a particular confidence. It seems that combining 3 probabilities with 97.5% confidence wound result in a probability with much higher than 97.5% confidence. Can anyone shed any light on this? Also, if anyone can see errors in my analysis (there are probably many) feel free to point them out. I have attached the raw data so you can play with it yourselves.