| MidTerm Stat 160 | Spring Term 2003 | Feb. 27 th | NAME: |
|---|---|---|---|
| FORM A |
Rweb:> # CUMULATIVE POISSON DISTRIBUTION Rweb:> ppois(10, 11) [1] 0.4598887 Rweb:> # POISSON PROBABILIY Rweb:> dpois(10, 11) [1] 0.1193781
Number of trials = 10 Minimum value = 1 Maximum value = 20 Number to sample = 1 With Replacement Trial 1 13 Trial 2 20 Trial 3 18 Trial 4 10 Trial 5 7 Trial 6 5 Trial 7 7 Trial 8 13 Trial 9 19 Trial 10 1
**********************************************For the next three problems:
**********************************************
**********************************************For the next four problems: The 1980 EPA 49-state (all except California) combined mileage rating and engine volume are listed in the following table for nine standard-transmission, four cylinder, gasoline-fueled, subcompact cars. The engine sizes are in total cubic inches of cylinder volume.
| cylinder volume(x) | combined mpg(y) |
| 97 | 24 |
| 85 | 29 |
| 98 | 26 |
| 105 | 24 |
| 120 | 24 |
| 151 | 22 |
| 140 | 23 |
| 134 | 23 |
| 146 | 21 |
Suppose we are interested in prediciting mpg in terms of cylinder volume.
The least squares procedure gave
and
R2=74.8
**********************************************
**********************************************The next four questions pertain to the following information:
The commuting time to campus for a typical WMU student is normally distributed with a mean of 27 minutes and standard deviation of 8 minutes. Use the class code results from RWEB to answer the questions given below. For example, letting X denote the student's commuting time P(X<30) is displayed as:
Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(30, 27, 8) [1] 0.6461698If the value of k is desired such that P(X<k)= .75, then the result is displayed as:
Rweb:> # NORMAL PERCENTAGE POINT Rweb:> qnorm(.75, 27, 8) [1] 32.39592 RWEB Results: Rweb:> # NORMAL PERCENTAGE POINT Rweb:> qnorm(.95, 27, 8) [1] 40.15883 Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(30, 27, 8) [1] 0.6461698 Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(15, 27, 8) [1] 0.0668072 Rweb:> # NORMAL PERCENTAGE POINT Rweb:> qnorm(.05, 27, 8) [1] 13.84117 Rweb:> # NORMAL PERCENTAGE POINT Rweb:> qnorm(.15, 27, 8) [1] 18.70853 Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(.15, 27, 8) [1] 0.0003950356 Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(30, 27, .8) [1] 0.9999116 Rweb:> # CUMULATIVE NORMAL DISTRIBUTION Rweb:> pnorm(27, 30, .8) [1] 0.00008841729
**********************************************
Number of trials = 100 Minimum value = 1 Maximum value = 6 Number to sample = 5 With Replacement
Number of trials = 10 Minimum value = 1 Maximum value = 6 Number to sample = 5 With Replacement
Number of trials = 100 Minimum value = 1 Maximum value = 6 Number to sample = 5 Without Replacement
Number of trials = 100 Minimum value = 1 Maximum value = 6 Number to sample = 1 With Replacement