Lab 2-Graphing Data and Numerical Summaries_TRAN
docx
keyboard_arrow_up
School
Purdue University *
*We aren’t endorsed by this school
Course
301
Subject
Statistics
Date
Feb 20, 2024
Type
docx
Pages
5
Uploaded by ChiefComputerHorse27
Name: Tam Tran
T.A. name: Chanhui Liu
Lab 2: Graphing Data and Numerical Summaries
NOTE: SPSS outputs are necessary to show full completion of the lab. Please paste all SPSS outputs into your lab report and submit the completed reports including all requested tables and graphs via Brightspace (under the "Lab" folder) by 11:59 pm Friday.
Two points will be deducted for each SPSS requested output that is not included in the submitted lab document.
Also, 30% points will be deducted for late submission, up to 24 hours.
Dataset
: This lab uses the dataset (
SleepPatterns
), located on Brightspace under Lab in the Datasets submodule. Instructions for opening the dataset in SPSS are found as follows.
SPSS installed on a computer: Reference page 4 of the SPSS Instruction Manual
SPSS running remotely: Reference the slide “Opening your Dataset Remotely in SPSS via Go Remote” in the document “SPSS using Citrix access guidelines” on Brightspace.
Two hundred fifty college students in Indiana participated in a study examining the
associations among sleep habits, sleep quality and physical/emotional factors.
Participants completed an online survey about sleep habits that included the Pittsburgh
Sleep Quality Index (PSQI), the Epworth Sleepiness Scale (ESS), the Horne-Ostberg
Morningness Eveningness Scale (MES), the Subjective Units of Distress Scale (SUDS),
and questions about academic performance and physical health. 1.
(2 points) Fill in the chart below. In the second column, record whether the variable is
quantitative
or categorical, based on the data in the lab dataset
. In the third column
record whether a bar graph
or a histogram
correctly shows the distribution of the
data.
Variable Name
Type of variable
Type of graph
Sleep_time_week
Quantitative
Histogram
Gender
Categorical
Bar graph
Weight
Quantitative
Histogram
Class
Categorical
Bar graph
Age
Quantitative
Histogram
1
2.
(2 points) Use SPSS to make a bar graph
for the variable Gender
. Copy and paste
the graph into this document here
. 3.
(2 points) Use SPSS to make a histogram
for the variable Sleep_time_week
. Copy
and paste the graph into this document here
.
2
4.
(2 points) Use SPSS to find the mean
and standard deviation
of Sleep_time_week
.
Record the values rounded to
two decimal places below. Copy and paste
t
he SPSS
output into this document here.
Sleep_time_week: Mean: 7 Standard deviation: 0.50
Descriptive Statistics
N
Minimum
Maximum
Mean
Std. Deviation
Sleep_time_week
250
5.48
8.29
6.9994
.49930
Valid N (listwise)
250
5.
(4 points) SPSS is not used in this course to find quartiles because the program’s
default method yields an unbiased estimate of the population quartiles. Rather, in this
course, the interest is to find quartiles associated with the sample. 3
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
BY HAND
, find the 5-number summary
of
Sleep_time_week
. Show your work on
how to find the location of Q1, Median and Q3. (You can use SPSS to sort the data
from smallest to largest first, and use the row number on the left of the Data View tab
to make the job easier).
Min Q
1
Median
Q
3
Max
5.48
6.67 7.01
7.33
8.29
5# summary for Sleep_time_week
:
6.
(2 points) Inspect the histogram for the variable Sleep_time_week
created in
Question 3. Is the graph approximately symmetric, skewed left, or skewed right
?
Explain how the graph’s shape is related to the Mean and Median calculated in
Questions 4 and 5.
The histogram is approximately symmetric. If the histogram was skewed, then
our mean would not have been an accurate measure of the center of distribution.
We would then use the median of the histogram to determine the center of
distribution. When the graph is skewed it means that the size of the data was too
small or too large depending on if it is skewed left or right. A symmetric histogram
would mean that the variables occur often at the same time and that the graph is
almost split mirror image of its other half. 7.
(2 points) BY HAND
, use the 1.5*IQR Rule to determine if there are any suspected
outliers for the variable Sleep_time_week
. Show your work. State and explain why
there are or not suspected outliers. If there are suspected outliers, identify the values.
4
There are two outliers in the data sheet. The values are 5.48 and 5.59. These values
are outliers because they are out of the range. 8.
(2 points) Use SPSS to make a boxplot
or modified boxplot
for the variable
Sleep_time_week.
Copy and paste the graph into this document here
. In the space
below, explain where the numbers calculated in Question 5 appear.
The maximum is the horizontal line at the top of the boxplot. The minimum is the
horizontal line at the bottom of the boxplot. The median is the line splitting the
rectangle in half in the boxplot. Q1 is in the bottom half of the rectangle around the
half point, while Q3 is in the top half of the rectangle around the half point.
9.
(2 points) For the variable Sleep_time_week
, explain if the mean and standard
deviation
are appropriate to describe the distribution. If not, what should be used
instead?
The standard deviation seems appropriate. A large standard deviation would
mean a large spread. We also must consider that the standard deviation is
affected by any outliers. Since the data is not spread out largely, it would make
sense that the standard deviation is not large as well. 5
Related Documents
Related Questions
Create a side-by-side boxplot for vitamin D level vs. NewAge and a side-
by-side boxplot for vitamin D level vs. country.
Create a scatterplot to show the relationship between vitamin D level
and Age.
Compare these two side-by-side boxplots and the scatterplot and explain
your findings.
• Note: Write appropriate captions for the tables, graphs, and outputs.
arrow_forward
Now monitor the process. An additional ten days of data have been collected, see table labeled “1st 10 Days of Monitoring Reservation Processing Time” in the Data File.
Develop Xbar and R charts for the 1st 10 days of monitoring. Plot the data for the 1st 10 days on the Xbar and R charts.
Is the process in control? If the control chart indicates an out-of-control process, note which days, the pattern, and whether it is the Xbar or R chart.
Based on the X-bar and R Charts that you developed for the 1st 10 days of data, is the process in control?
Group of answer choices
No. The X-bar and R Charts are both out of control.
No. The X-bar Chart is in control, but the R Chart is out of control.
No. The R Chart is in control, but the X-bar Chart is out of control.
Yes. The X-bar and R Charts are both in control.
arrow_forward
List an advatge of microdata, and of aggregated data
Answer in a few sentences thank you.
arrow_forward
Briefly describe the methods of collecting primary data
arrow_forward
Describe the three primary charts and graphs used to organize and display data.
arrow_forward
tion 2 of 15
Last summer, the Smith family drove through seven different states and visited various popular landmarks. The prices of gasoline
in dollars per gallon varied from state to state and are listed below.
$2.34, $2.75, $2.48, $3.58, $2.87, $2.53, $3.31
Click to download the data in your preferred format.
CrunchIt! CSV Excel JMP Mac Text Minitab PC Text R SPSS TI Calc
Calculate the range of the price of gas. Give your solution to the nearest cent.
range:
dollars per gallon
DELL
&
4.
7
8.
arrow_forward
A group of people at the park were asked their ages, and the results can be downloaded from the data file Ages.
In StatKey, which menu option would you select under "Descriptive Statistics and Graphs" to graph the data?
One Quantitative
One Categorical
One Quantitative and One Categorical
A group of people at the park were asked their ages, and the results can be downloaded from the data file Ages.
Summarize this data by creating a histogram with StatKey, and submit your graph as a PDF. When creating your graph, please make sure the number of buckets is set to 10.
arrow_forward
Install RStudio: Begin by installing RStudio on your computer. If you haven't done so, please refer to the official RStudio website for download and installation instructions.
Watch the Tutorial Video: Watch the provided video tutorial that explains how to run RStudio. Pay close attention to the steps for opening and managing data files. https://www.youtube.com/watch?v=RhJp6vSZ7z0
Open RStudio: Once RStudio is installed, open the application.
Load the Dataset: In RStudio, open a data file named "mtcars". To do this, type the command mtcars in the script editor and run the command.
Attach the Data: Next, attach the dataset using the command attach(mtcars).
Examine the Variables: Carefully review and note the names of all variables in the dataset. Examples of these variables include:
Mileage (mpg)
Number of Cylinders (cyl)
Displacement (disp)
Horsepower (hp)
Research: Google to understand these variables.
Statistical Analysis: Select mpg variable, and perform the following…
arrow_forward
An business reviews data on the daily amount of calls it receives. Are the data discrete or continous?
arrow_forward
Define effect size
in your own words please
arrow_forward
Describe about the three positive relationships of Scatterplots?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill

College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning

Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt
Related Questions
- Create a side-by-side boxplot for vitamin D level vs. NewAge and a side- by-side boxplot for vitamin D level vs. country. Create a scatterplot to show the relationship between vitamin D level and Age. Compare these two side-by-side boxplots and the scatterplot and explain your findings. • Note: Write appropriate captions for the tables, graphs, and outputs.arrow_forwardNow monitor the process. An additional ten days of data have been collected, see table labeled “1st 10 Days of Monitoring Reservation Processing Time” in the Data File. Develop Xbar and R charts for the 1st 10 days of monitoring. Plot the data for the 1st 10 days on the Xbar and R charts. Is the process in control? If the control chart indicates an out-of-control process, note which days, the pattern, and whether it is the Xbar or R chart. Based on the X-bar and R Charts that you developed for the 1st 10 days of data, is the process in control? Group of answer choices No. The X-bar and R Charts are both out of control. No. The X-bar Chart is in control, but the R Chart is out of control. No. The R Chart is in control, but the X-bar Chart is out of control. Yes. The X-bar and R Charts are both in control.arrow_forwardList an advatge of microdata, and of aggregated data Answer in a few sentences thank you.arrow_forward
- Briefly describe the methods of collecting primary dataarrow_forwardDescribe the three primary charts and graphs used to organize and display data.arrow_forwardtion 2 of 15 Last summer, the Smith family drove through seven different states and visited various popular landmarks. The prices of gasoline in dollars per gallon varied from state to state and are listed below. $2.34, $2.75, $2.48, $3.58, $2.87, $2.53, $3.31 Click to download the data in your preferred format. CrunchIt! CSV Excel JMP Mac Text Minitab PC Text R SPSS TI Calc Calculate the range of the price of gas. Give your solution to the nearest cent. range: dollars per gallon DELL & 4. 7 8.arrow_forward
- A group of people at the park were asked their ages, and the results can be downloaded from the data file Ages. In StatKey, which menu option would you select under "Descriptive Statistics and Graphs" to graph the data? One Quantitative One Categorical One Quantitative and One Categorical A group of people at the park were asked their ages, and the results can be downloaded from the data file Ages. Summarize this data by creating a histogram with StatKey, and submit your graph as a PDF. When creating your graph, please make sure the number of buckets is set to 10.arrow_forwardInstall RStudio: Begin by installing RStudio on your computer. If you haven't done so, please refer to the official RStudio website for download and installation instructions. Watch the Tutorial Video: Watch the provided video tutorial that explains how to run RStudio. Pay close attention to the steps for opening and managing data files. https://www.youtube.com/watch?v=RhJp6vSZ7z0 Open RStudio: Once RStudio is installed, open the application. Load the Dataset: In RStudio, open a data file named "mtcars". To do this, type the command mtcars in the script editor and run the command. Attach the Data: Next, attach the dataset using the command attach(mtcars). Examine the Variables: Carefully review and note the names of all variables in the dataset. Examples of these variables include: Mileage (mpg) Number of Cylinders (cyl) Displacement (disp) Horsepower (hp) Research: Google to understand these variables. Statistical Analysis: Select mpg variable, and perform the following…arrow_forwardAn business reviews data on the daily amount of calls it receives. Are the data discrete or continous?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- Big Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin Harcourt

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill

College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning

Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt