1
\[ \color{red}{\pi(\theta|x)} = \frac{\color{blue}{f(x|\theta)}\color{green}{\pi(\theta)}}{\color{gray}{\int_\theta f(x|\theta)\pi(\theta)d\theta}} \]
n= 22745
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 22745 4565 FALSE (0.7992965 0.2007035)
2) Insurance< 975 13909 1482 FALSE (0.8934503 0.1065497) *
3) Insurance>=975 8836 3083 FALSE (0.6510865 0.3489135)
6) NumRooms< 6.5 2848 586 FALSE (0.7942416 0.2057584) *
7) NumRooms>=6.5 5988 2497 FALSE (0.5829993 0.4170007)
14) Insurance< 1850 4002 1388 FALSE (0.6531734 0.3468266) *
15) Insurance>=1850 1986 877 TRUE (0.4415911 0.5584089)
30) FamilyType=Female Head,Male Head 209 60 FALSE (0.7129187 0.2870813) *
31) FamilyType=Married 1777 728 TRUE (0.4096792 0.5903208) *