* do-file for Supplementary Exercise 1.127 of IPS7e version 17 /* works also with versions 13-16 */ * (a) display 1-normal((240-185)/39) * (b) display normal((240-185)/39)-normal((200-185)/39) * note: Stata only has a cumulative probability function for N(0,1), * but by writing the expressions for the standardization directly, * we effectively avoid computing any z-scores