* do-file for Supplementary Exercise 6.140 of IPS7e * see do-file for 6.13 for more details about the commands version 13 /* see below for a better way with version 14 */ import delimited "H:\VHM\VHM801\Datasets\csv\Chapter 6\ex06_140.csv", clear summarize odor, d stem odor qnorm odor * Stata 13 cii 100000 30.6 700, level(95) ttesti 100000 30.6 700 25 * Stata 14 * the ztest command offers inference for a normal distribution with known sigma ztest odor=25, sd(7) level(95)