Docsity

Capstone Project Solution - Probability and Statistics - Non-Calculus | MATH 1530, Study notes of Statistics

Toggle sidebar
bg1
Math 1530 Capstone Project 100 points Print Name_____________________________
1. The project is due by 11:15 am on Thursday December 9, 2010. No late projects will be accepted.
2. You should use a word processor to write up your results.
3. Start each problem on a new page.
4. I would also ask that you insert any graphs in the appropriate places (not attached as an addendum at the back or
even at the end of the problem.)
5. Only insert the relevant portions of a Minitab display used to answer a question, not everything Minitab gives you
in hoping the right information is somewhere in what you copied into the document.
6. DO YOUR OWN WORK!
Use the following data file http://math.etsu.edu/1530/surveyFall10/Q1-Q3.mtw to answer the first four questions.
The Minitab worksheet is set up as follows:
C1: Gender
C2: Tattoo
C3: Height
C4: Dvds
C5: Drink (What do you typically drink with dinner?)
Coded as 1 = Water, 2 = Soda, 3 = Milk, 4 = Alcohol, 5 =
Juice, 6 = Other
1. Variable type. Which of these questions from the class survey produced variables that are categorical and
which are quantitative? Circle your answer.
a. Gender Categorical Quantitative Neither (1)
b. Tattoo Categorical Quantitative Neither (1)
c. Height Categorical Quantitative Neither (1)
d. What do you typically drink with dinner? Categorical Quantitative Neither (1)
Note: A categorical variable places an individual into one of several groups or categories. A quantitative
variable takes numerical values for which arithmetic operations such as adding and averaging make sense.
The values for tobacco use are 0 or 1 but these numbers are just labels for the categories and have no
units of measurement. If the variable is categorical we are usually interested in the proportion or percent
of that fall into the subcategories. In other words, we may be interested in the question “What percent of
the students have tattoos?”
2. Shapes & Statistics. For each variable stated below, use appropriate graphs and summary statistics to
describe the distributions, including any outliers. Show the Minitab output that justifies your descriptions.
a. Height The distribution of the heights of the students shows possibly two peaks, which seems
reasonable since both male and female heights are combined. The distribution is somewhat
symmetric with mean 67.672 inches and standard deviation 4.480 inches. (1) There are some
outliers which can be seen on the boxplot. (1)
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Capstone Project Solution - Probability and Statistics - Non-Calculus | MATH 1530 and more Study notes Statistics in PDF only on Docsity!

Math 1530 Capstone Project 100 points Print Name_____________________________

1. The project is due by 11:15 am on Thursday December 9, 2010. No late projects will be accepted.

2. You should use a word processor to write up your results.

3. Start each problem on a new page.

4. I would also ask that you insert any graphs in the appropriate places (not attached as an addendum at the back or

even at the end of the problem.)

5. Only insert the relevant portions of a Minitab display used to answer a question, not everything Minitab gives you

in hoping the right information is somewhere in what you copied into the document.

6. DO YOUR OWN WORK!

Use the following data file http://math.etsu.edu/1530/surveyFall10/Q1-Q3.mtw to answer the first four questions.

The Minitab worksheet is set up as follows:

C1: Gender

C2: Tattoo

C3: Height

C4: Dvds

C5: Drink (What do you typically drink with dinner?)

Coded as 1 = Water, 2 = Soda, 3 = Milk, 4 = Alcohol, 5 =

Juice, 6 = Other

1. Variable type. Which of these questions from the class survey produced variables that are categorical and

which are quantitative? Circle your answer.

a. Gender Categorical Quantitative Neither (1)

b. Tattoo Categorical Quantitative Neither (1)

c. Height Categorical Quantitative Neither (1)

d. What do you typically drink with dinner? Categorical Quantitative Neither (1)

Note: A categorical variable places an individual into one of several groups or categories. A quantitative

variable takes numerical values for which arithmetic operations such as adding and averaging make sense.

The values for tobacco use are 0 or 1 but these numbers are just labels for the categories and have no

units of measurement. If the variable is categorical we are usually interested in the proportion or percent

of that fall into the subcategories. In other words, we may be interested in the question “What percent of

the students have tattoos?”

2. Shapes & Statistics. For each variable stated below, use appropriate graphs and summary statistics to

describe the distributions, including any outliers. Show the Minitab output that justifies your descriptions.

a. Height The distribution of the heights of the students shows possibly two peaks, which seems

reasonable since both male and female heights are combined. The distribution is somewhat

symmetric with mean 67.672 inches and standard deviation 4.480 inches. (1) There are some

outliers which can be seen on the boxplot. (1)

Note: I would not consider the outliers to be “strong.” I found little change in the mean and standard

deviation after removing the five outliers (i.e. mean = 67.708, standard deviation = 4.379).

Descriptive Statistics: Height

Variable N N* Mean SE Mean StDev Minimum Q1 Median Q3 Maximum Height 1306 0 67.672 0.124 4.480 50.000 64.000 67.000 71.000 84.

Height

Fr

e

q

u

e

n

cy

Histogram of Height

Note: Minitab displays an outlier on a boxplot with the symbol *. A boxplot is a graph of the five-number

summary: Minimum, Q1 (first quartile), M (median), Q3 (third quartile), Maximum. The graph below is

called a modified boxplot. When there are outliers Minitab will extend the whisker (the vertical line

drawn from the box) out to the upper limit Q3 + 1.5(Q3 – Q1) or to the lower limit Q1 – 1.5(Q3-Q1).

50 55 60 65 70 75 80 120 100 80 60 40 20 0 50 55 60 65 70 75 80 FEMALE Height Fr eq ue nc y MALE Histogram of Height by Gender Panel variable: Gender

b. Dvds The distribution has a single peak (unimodal) at the left. The distribution is strongly right

skewed with many outliers. (1) The five-number summary is probably the best way to describe

this distribution numerically. The five-number summary for the number of Dvds owned is

Minimum = 0, Q1 = 10, Median = 26.5, Q3 = 54, Maximum = 2000.(1)

Descriptive Statistics: Dvds

Variable N N* Mean SE Mean StDev Minimum Q1 Median Q Dvds 1306 0 59.93 3.41 123.40 0.00 10.00 26.50 54. Variable Maximum Dvds 2000.

Note: Interpretation of Q1: 25% of the students have 10 Dvds or less. Interpretation of Q3: 75% of the

students have 54 Dvds or less. The interquartile range IQR is the distance between the first and third

quartiles, IQR = Q3 – Q1 = 54 – 10 = 44. The interquartile range is mainly used as a basis for a rule of

thumb for identifying suspected outliers. We call an observation a suspected outlier if it falls more than

1.5 × IQR above the third quartile or below the first quartile.

Dvds Fr eq ue nc y

Histogram of Dvds

D

v ds

Boxplot of Dvds

3. Tattoos. Question 2 on the class survey asked “Do you have any tattoos?” Examine the relationship

between gender and tattoos. Does there appear to be any difference (small, large) between the sexes as far

as having a tattoo or not? Include in your analysis tables and graphs to support your conclusions. There

appears to be a very small difference between the sexes as far as having a tattoo. The percent of females

that have a tattoo is 25.52%. The percent of males that have a tattoo is 24.72%.(1)

4. Wake up sleepy head? Questions 8 & 9 from the survey asked students about bed time and wake up time.

This raises the question: “Is the length of sleep for a student related to the time that he or she goes to bed?”

In other words, can we predict the number of hours of sleep for students based on the time they went to

sleep? Analyze. Hint: Consider starting with a scatterplot.

We need to create a new variable from the ToSleep and WakeUp variables. From the menu select, Calc †

Calculator and fill in the dialog boxes as shown below.

From the menu select, Stat † Regression † Fitted Line Plot and let the response variable be Number of hours slept and

the explanatory variable be ToSleep.

ToSleep

N

u

m

b

e

r^

o

f^

h

o

u

rs

s

le

p

t

S 1. 50424 R-Sq 27. 3 % R-Sq(adj) 27. 3 %

Fitted Line Plot

Number of hours slept = 7. 657 - 0. 5732 ToSleep

The least-squares regression equation is

Number of hours slept = 7.657 – 0.5732 ToSleep (1)

There appears to be a couple of outliers but overall the fit looks okay. We see that 27.3% (R-Sq) of the

variation in the number of hours slept can be explained by the least-squares equation. So there is about

72% of the variation in the number of hours slept that the model doesn’t explain. (1)

The correlation coefficient, r = −.522, indicates a moderate negative linear relationship. (1)

For every hour later a student went to bed he/she had about 34 minutes (.5732) less of sleep on the

average.

Some observations: If a student went to bed at midnight (ToSleep = 0) then he/she got a nearly 7 hours

and 40 minutes (7.657) of sleep on the average. If a student went to bed at 11 pm (ToSleep= -1) then he/

she got about 8 hours and 14 minutes of sleep (7.657 -.5732(-1) = 8.2302).

TextDrive 750 1234 0.607780 0.584918 7.57 0.

b. What proportion of the sample survey responded “Yes” to the question? 0.60778 (1)

c. Find the P -value for the test in part a. P -value = 0.000 (1)

Test and CI for One Proportion: TextDrive

Event = YES Variable X N Sample p 95% CI TextDrive 750 1234 0.607780 (0.580538, 0.635021) Using the normal approximation.

d. Find a 95% confidence interval for the proportion of students who have texted while driving.

(0.580538, 0.635021) Anywhere from about 58% to 64% of all students have texted while

driving. (1)

e. Interpret your results relative to the survey conducted in 2008 and comment on any assumptions

that are needed for your conclusions to be accurate. There is evidence to suggest that more than

half of all college students text while driving. (1) The main concern here is the lack of a random

sample. Does this sample truly represent all college students? If we can’t argue that this sample

represents all college students then the above conclusions are invalid. (1)

Use the data file http://math.etsu.edu/1530/surveyFall10/text_messages.mtw to answer the following question.

7. Number of text messages. Is there good evidence that all female college students and all male college students

differ in their mean number of text messages sent per month? Give a 95% confidence interval and interpret your

results. What assumptions are we making about the samples for our interpretation to be valid? This is a 2-

sample t problem.

A 95% confidence interval for μF − μM (the difference in the true mean number of text messages sent per

month) is anywhere from −20.7 to 330.1. (1) Since 0 is between these two numbers there does not appear to

be good evidence to suggest that all female college students and all male college students differ in their mean

number of text messages sent per month. (1)

The students that responded to this question are not a random sample of all college students. Hence, the t-

interval may be meaningless. We may be able to argue that these samples represent a random sample from

ETSU since nearly all students need to take Math 1530. (1)

Two-Sample T-Test and CI: TextMessages, Gender

Two-sample T for TextMessages SE Gender N Mean StDev Mean Female 629 1669 1437 57 Male 443 1514 1444 69

Difference = mu (Female) - mu (Male) Estimate for difference: 154. 95% CI for difference: (-20.7, 330.1) T-Test of difference = 0 (vs not =): T-Value = 1.73 P-Value = 0.084 DF = 948

The histograms below are very skewed and the distribution of the number of text messages sent by the males

has numerous outliers. The t-procedure works fairly well for skewed distributions when the sample sizes are

large. We see that both sample sizes are large here so the condition of Normality is not a major concern here.

Female

TextMessages

Fr

e

q

u

e

n

cy

Male

Histogram of TextMessages

Panel variable: Gender

Use the data file http://math.etsu.edu/1530/surveyFall10/dinner_drink.mtw to answer the following question.

8. Drink please? Question 11 from the class survey asked “What do you typically drink with dinner?” (The

data has been coded as follows: 1 = Water, 2 = Soda, 3 = Milk, 4 = Alcohol, 5 = Juice, 6 = Other.) The null

hypothesis is that all drinks are equally probable. Do the data give significant evidence that dinner drinks

are not equally probable? Analyze. (Minitab 16 must be used to solve this problem.) Yes. The null

hypothesis H 0 : p 1 =p 2 =p 3 =p 4 =p 5 =p 6 (all drinks are equally probable during dinner) can be rejected since the

P-value = 0.000. (1) It appears that water is the favorite (618/1372) drink during dinner. (1)

Chi-Square Goodness-of-Fit Test for Categorical Variable: Drink

Test Contribution Category Observed Proportion Expected to Chi-Sq 1 618 0.166667 228.667 662. 2 372 0.166667 228.667 89. 3 93 0.166667 228.667 80. 4 20 0.166667 228.667 190. 5 124 0.166667 228.667 47. 6 145 0.166667 228.667 30.