9.1 Normal Model - Inference about Means
Example 2 Iris petal lengths - A different species?
Show solution
Here we apply the -test (Section $z$-test on page 159) to a new observation to see if there is reason to believe it to be a different species. Imagine we have a single observation of another iris with petal length 2.5 [cm]. Is this likely to be the same type as the Setosa type above? As outlined in Section 7.2, we get the best estimate for the difference as:
with uncertainty the same as the uncertainty of the Setosa type, so the final estimate with uncertainty is:
which is
which makes it virtually certain to be a different type (see Table 8.1).
Try it in XYZ Crunch
41 deviations, as a probability
The posterior for the Setosa length is Normal(1.464, 0.0246). The 95% credible interval runs [1.4158, 1.5122] - a petal a couple of millimetres either side of 1.464. Asking the panel for the probability of a value beyond 2.5 cm returns zero at every digit it shows, which is the honest reading of 41 deviations away.
- K. Bache and M. Lichman. UCI machine learning repository, 2013. URL http://archive.ics.uci.edu/ml. ↩
Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.