In the main directory from which you start MINITAB session put first the following MTB files: pinf.MTB pinft.MTB pinft1.MTB pinft2.MTB pinft3.MTB Start minitab and exec macros. The mtb session should look like: MTB > exec 'pinf' Executing from file: pinf.MTB Please enter the confidence LEVEL that you're interested in. (For example, you would enter 95 if you want to produce a 95% c.i.) DATA> 95 Please enter the SAMPLE SIZE (n) and then the number of "yes" responses (or "successes") on the same line. DATA> 700 294 The sample proportion is p-hat = 0.4200 The critical value is z-star = 1.960 The half-width of the 95.00% confidence interval is 0.037 The 95.00% confidence interval for theta is ( 0.383, 0.457) MTB > exec 'pinft' Executing from file: pinft.MTB Please enter the HYPOTHESIZED value of the population proportion (theta_0). DATA> 0.45 Please enter the code to specify the ALTERNATIVE hypothesis H_a: enter 1 if H_a has the form: theta < theta_0 enter 2 if H_a has the form: theta > theta_0 enter 3 if H_a has the form: theta - theta_0 DATA> 3 Please enter the SAMPLE SIZE (n) and then the number of "yes" responses (or "successes") on the same line. DATA> 700 294 The sample proportion is p-hat = 0.4200 Executing from file: pinft3.MTB For testing the null hypothesis H_0: theta = 0.4500 vs. the alternative hypothesis H_a: theta - 0.4500 The test statistic is z = -1.595 The p-value of the test is 0.1106 MTB > exit *** Minitab Release 9.1 *** Minitab Inc. *** Worksheet size: 100000 cells