176398 - MATH221_W2_Lab_Excel_Your Name Here
docx
keyboard_arrow_up
School
Kolej Poly-Tech Mara Kuala Lumpur *
*We aren’t endorsed by this school
Course
INORGANIC
Subject
Mathematics
Date
Nov 24, 2024
Type
docx
Pages
7
Uploaded by ProfessorEnergyRedPanda22
1
MATH 221 Statistics for Decision Making
Week 2 iLab
Name:_______________________
Statistical Concepts that you will learn after completing this iLab:
Using Excel for Statistics
Graphics
Shapes of Distributions
Descriptive Statistics
Empirical Rule
Week 2 iLab Instructions-BEGIN
Data have already been formatted and entered into an Excel worksheet.
Obtain the data file for this lab from your instructor.
The names of each variable from the survey are in the first row of the Worksheet.
This row has a background color of gray to identify it as the variable names. All other
rows of the Worksheet represent a certain students’ answers to the survey questions.
Therefore, the rows are called observations and the columns are called variables. On
page 6 of this lab, you will find a code sheet that identifies the correspondence
between the variable names and the survey questions.
Follow the directions below and then paste the graphs from Excel in the grey areas
for question 1 through 3. Type your answers to questions 4 through 11 where noted in
the grey areas.
When asked for explanations, please give thorough, multi-sentence or
paragraph length explanations.
PLEASE NOTE that various versions of Excel may have slightly different formula
commands.
For example, some versions use =STDEV.S while other versions would
use =STDEVS (without the dot before the last “S”).
The completed iLab Word Document with your responses to the 11 questions will be
the ONE and only document submitted to the dropbox. When saving and submitting
the document, you are required to use the following format: Last Name_ First
Name_Week2iLab.
Week 2 iLab Instructions-END
2
Creating Graphs
1.
Create a pie chart for the variable Car Color: Select the column with the Car
variable, including the title of Car Color.
Click on
Insert
, and then
Recommended Charts
.
It should show a clustered column and click
OK
.
Once
the chart is shown, right click on the chart (main area) and select
Change Chart
Type
.
Select
Pie
and
OK
.
Click on the pie slices, right click
Add Data Labels
,
and select
Add Data Callouts
.
Add an appropriate title.
Copy and paste the
chart here. (4 points)
black; 14.29%
blue; 17.14%
dark blue; 2.86%
green; 8.57%
orange; 5.71%
red; 31.43%
silver; 17.14%
white; 2.86%
Pie Chart for Car Color
black
blue
dark blue
green
orange
red
silver
white
2.
Create a histogram for the variable Height. You need to create a frequency
distribution for the data by hand.
Use 5 classes, find the class width, and then
create the classes.
Once you have the classes, count how many data points fall
within each class. It may be helpful to sort the data based on the
Height
variable
first.
Create a new worksheet in Excel by clicking on the + along the bottom of
the screen and type in the categories and the frequency for each category.
Then
select the frequency table, click on
Insert
, then
Recommended Charts
and
choose the column chart shown and click
OK
.
Right click on one of the bars and
select
Format Data Series
.
In the pop up box, change the
Gap Width
to 0.
Add
an appropriate title and axis label.
Copy and paste the graph here. (4 points)
3
61-63
64-66
67-69
70-72
73-75
0
2
4
6
8
10
12
Histogram for Height
3.
Type up a stem-and-leaf plot chart in the box below for the variable Money, with
a space between the stems and the group of leaves in each line.
Use the tens value
as the stem and the ones value for the leaves.
It may be helpful to sort the data
based on the Money variable first.
An example of a stem-and-leaf plot would look like this:
1
4
5
6
9
3
2
5
6
3
6
3
9
2
The stem-and-leaf plot shown above would be for data 4, 5, 6, 9, 3, 15, 16, 13, 16,
29, and 22. (4 points)
The steam-and-leaf plot for the variable Money:
0
1 3 5 5 5 7 7 7 9
1
0 6
2
0 0 1 3 9
3
1 2 4 7
4
0 0 1 3 3 4 5 5 6 7 7 8
5
2 3 3
Calculating Descriptive Statistics
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
4
4.
Calculate descriptive statistics for the variable Height by Gender.
Click on
Insert
and then
Pivot Table
.
Click in the top box and select all the data (including
labels) from
Height
through
Gender
.
Also click on “new worksheet” and then
OK
.
On the right of the new sheet, click on
Height
and
Gender
, making sure
that
Gender
is in the
Rows
box and
Height
is in the
Values
box.
Click on the
down arrow next to
Height
in the
Values
box and select
Value Field Settings
.
In
the pop up box, click
Average
then
OK
.
Type in the averages below.
Then click
on the down arrow next to
Height
in the
Values
box again and select
Value Field
Settings
.
In the pop up box, click on
StdDev
then
OK
.
Type the standard
deviations below. (3 points)
Mean
Standard deviation
Females
65.56
2.79
Males
69.65
3.16
Short Answer Writing Assignment
All answers should be complete sentences.
5.
What is the most common color of car for students who participated in this
survey? Explain how you arrived at your answer. (5 points)
According to the pie chart from the question #1, the most common color of car for
students who participated in this survey is red.
We are able to see, that 31% (or 11 people) of students who participated in this survey
have red car color and it is the highest percentage (and amount of students) among all the
car colors:
1.
Red color: 31% or 11 students.
2.
Blue and Silver colors: 17% or 6 students (for each color).
3.
Black color: 14% or 5 students.
4.
Green color: 9% or 3 students.
5.
Orange color: 6% or 2 students.
6.
Dark blue and White color: 3% or 1 student (for each color).
6.
What is seen in the histogram created for the heights of students in this class
(include the shape)? Explain your answer.
(5 points)
The histogram created for the heights of students in this class is bell-shaped and skewed
to the right (positive skew).
The histogram shows that the height of students in this class vary from 61 to 75 inches. It
shows that the most common height for this class is in the interval 64 – 66 inches (10
5
students).
We are able to see, that there are:
-
5 students with height from 61 to 63 inches;
-
10 students with height from 64 to 66 inches;
-
9 students with height from 67 to 69 inches;
-
8 students with height from 70 to 72 inches;
-
3 students with height from 73 to 75 inches.
7.
What is seen in the stem and leaf plot for the money variable (include the shape)?
Explain your answer.
(5 points)
The steam-and-leaf plot is bell-shaped and skewed to the left (negative skew). The plot
shows that the most common money amount is from $40 to $49 (12 students).
8.
Compare the mean for the heights of males and the mean for the heights of
females in these data. Compare the values and explain what can be concluded
based on the numbers.
(5 points)
The mean height is:
-
65.56 inches for females;
-
69.65 inches for males.
As we are able to see, the average height of a female students is 65.56 inches and it is
more than 4 inches lower than the average height of a male student in this class (69.65
inches). We can conclude that an average boy in this class is taller than an average girl in
the class by 4.09 inches.
9.
Compare the standard deviation for the heights of males and the standard
deviation for the heights of females in the class. Compare the values and explain
what can be concluded based on the numbers.
(5 points)
The standard deviation for Height is:
-
2.79 inches for a female student;
-
3.16 inches for a male student.
As we are able to see, the standard deviation for height of a female student in this class is
lower than the standard deviation for height of a male student in this class. It means that
the male’s height varies more than females height (i.e. boys have more different heights).
10. Using the empirical rule, 95% of female heights should be between what two
values? Either show work or explain how your answer was calculated.
(5 points)
6
According the Empirical Rule, the 95% of female heights should be within two standard
deviations from the mean. Thus, we have, that the 95% of females should be between
59.98 inches and 71.14 inches:
Lowerbound
=
65.56
−
2
∙
2.79
=
59.98
Upperbound
=
65.56
+
2
∙
2.79
=
71.14
Thus, 95% CI for the female heights is
(
59.98,71.14
)
.
11. Using the empirical rule, 68% of male heights should be between what two
values? Either show work or explain how your answer was calculated.
(5 points)
According the Empirical Rule, the 68% of male heights should be within one standard
deviations from the mean. Thus, we have, that the 68% of males should be between 66.86
inches and 72.44 inches:
Lowerbound
=
69.65
−
1
∙
3.16
=
66.86
Upperbound
=
69.65
+
1
∙
3.16
=
72.44
Thus, 68% CI for the male heights is
(
66.86,72.44
)
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
7
Code Sheet
Do
NOT
answer these questions.
The Code Sheet just lists the variables name and the question used by the researchers on
the survey instrument that produced the data that are included in the data file. This is just
information. The first question for the lab is after the code sheet.
Variable Name
Question
Drive
Question 1 – How long does it take you to drive to the school on
average (to the nearest minute)?
State
Question 2 – What state/country were you born?
Temp
Question 3 – What is the temperature outside right now?
Rank
Question 4 – Rank all of the courses you are currently taking. The
class you look most forward to taking will be ranked one, next two,
and so on. What is the rank assigned to this class?
Height
Question 5 – What is your height to the nearest inch?
Shoe
Question 6 – What is your shoe size?
Sleep
Question 7 – How many hours did you sleep last night?
Gender
Question 8 – What is your gender?
Race
Question 9 – What is your race?
Car
Question 10 – What color of car do you drive?
TV
Question 11 – How long (on average) do you spend a day watching
TV?
Money
Question 12 – How much money do you have with you right now?
Coin
Question 13 – Flip a coin 10 times. How many times did you get tails?
Die1
Question 14 – Roll a six-sided die 10 times and record the results.
Die2
Die3
Die4
Die5
Die6
Die7
Die8
Die9
Die10