Estimate a probability

Reach for each comma and return to your resting position. · 139 words

A relative frequency is a count divided by the total number of trials. If six of ten messages in a sample are requests, their relative frequency is six tenths. You can use that fraction as an estimate for a similar population. A sample drawn only on holidays may poorly represent ordinary days.

Imagine that all ten messages came from one household. Collecting ten more from the same household may tell you much more about that family without telling you much about other users. A useful estimate needs a sampling plan as well as arithmetic. Record where the examples came from and the period they cover. When comparing two groups, keep both the number of requests and the number of messages. Six requests out of ten and sixty out of one hundred give equal fractions but different amounts of evidence.

Check your recall

What makes a holiday sample a weak basis for a weekday estimate?

Check your answer

The mix of messages may differ across the two populations.

Sources and credits

Original KeyTouch lesson. Background reading · UC Berkeley · Introduction to Artificial Intelligence.