Lab 5- One and Two Way ANOVA_Final
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
7
Uploaded by ChefSpiderPerson390
Name:
Miranda Yount T.A. name: Zhengming Li
Lab 5: One and Two- Way ANOVA
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. Part 1
Use SPSS to create a
side-by-side box plot, descriptive statistics table and run the One-Way
ANOVA for Morningness Eveningness Scale (MES) by the different levels of sleep
quality(Sleep_quality) (Please
refer to page 15 in the SPSS Instruction Manual, section 2 of
One-Way ANOVA/Bonferroni). Use the output to answer the following questions (make sure
you upload all
outputs to Brightspace as part of your work
).
The column Sleep_quality
_
num
contains the numerical values corresponding to each group.
While the boxplot allows categorical groups, the ANOVA in SPSS requires categorical values be
represented by numbers. This has already been done for you. Note: “
Sleep_quality
_
num
”: 1 = optimal, 2 = borderline, 3 = poor
1.
(1 point) Looking at the side-by-side boxplot, are there any outliers? Discuss between what
groups you would expect to see significant differences, and why. Be sure to state whether the
side-by-side boxplot displays sample or population
data.
There are no outliers represented on the side-by-side boxplot. The plot displays population data.
1
2.
(1 points) Is it reasonable to pool the variances for One-Way ANOVA? Why or why not?
Show your work. Note: You should have already run the One-Way ANOVA in SPSS, which
gives you the descriptive statistics table. Make sure your descriptive statistics table output
screenshot is pasted below.
2
Because the largest standard deviation value (3: 14.029) is less than twice the smallest standard
deviation value (1: 11.655), it is indicated that there is not
a significant variation in the data and it
is reasonable to pool variances.
3.
(1 points) State your hypotheses relating to the One-Way ANOVA test for this story.
Ho: μ1 = μ2 = μ3
Ha: μ1 ≠ μ2≠ μ3
4.
(1 points) Identify the following from your One-Way ANOVA output.
F = 9.075
P-value = < .001
5.
(2 points) What are your conclusions in terms of the story
(using a significance level of
0.05)? Be sure to state whether your results refer to the sample
or the population
.
Because the significance value is less than the significant threshold 0.05 the null hypothesis is
rejected.
6.
(1 point) Discuss whether, in this particular case, sample observations point in the same
direction as the conclusions reached for the population means.
Since the null hypothesis is rejected, it suggests that the sample observations do not point
in the
same direction as the conclusions reached for the population means.
7.
(2 points) Report the R-squared and the pooled estimate of the standard deviation. These
calculations should be done by hand using information from the SPSS output. Show all your
calculations. Round to 3 decimal places.
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
R
2
= .066
s
p
= 88.295
Sp2 =(n1 - 1)S12 + (n2 - 1)S2^2 / n1 + n2 - 2
Sp2 =(250 - 1)*0.7942 + (250 - 1)*13.2652 / 250 + 250 – 2 = 88.295
8.
(1 points) Is it legitimate to use Bonferroni to establish which means are different (at a
significance level of 0.05)? Give your reason why or why not. If you believe it is legitimate,
please identify which means are significantly different. Please include the output from the
multiple comparisons procedure.
Because the results of the multiple comparisons test shows the means are the same for Turkey and Bonferroni, it isn’t appropriate to utilize the Bonferroni to determine which means are different
Part 2
4
Some researchers have mentioned that Gender might affect their Morningness Eveningness Scale
(MES), and thus we should also investigate the interaction between Gender and sleep_quality.
Now re-run the analysis for MSE using the variables Sleep_quality (or Sleep_quality _num)
and Gender in a Two-Way ANOVA, make a means plot and descriptive statistics table. 9.
(1 points) Using your output, is it reasonable to pool the variances? Why or why not?
Because the largest standard deviation is less than twice the smallest deviation, it is indicated that
there is not
a significant variation in the data and it is reasonable to pool variances.
10.
(1 points) Looking at your means plot (“Estimated Marginal Means” in your SPSS output),
what does it tell you about each of the main effects and their interaction? Please explain
how the plot tells you this.
There is a significant interaction effect between sleep_quality num 1 and 2 because they do not
run parallel. This direction and degree difference can be seen by examining the slopes or
deviations in the plot. The plot shows sleep quality 1 is less pronounced in males than sleep
quality 2 while the opposite is true for females. Sleep quality 1 and 3 however run parallel so
there is less of a significant interaction between males and females.
5
11.
(3 points) State the hypotheses (including variable names) for the Two-Way ANOVA tests.
a.
Ho: (gender); ufemale=umale
Ha (gender: ufemale =/= umale
b.
Ho: (sleep_quality_num); u1 = u2= u 3
Ha: (sleep_quality_num) u1=/= u2 =/= u3
c.
Ho (gender x sleep_qual_num)
Sleep_qual_num does not depend on gender
Ha (gender x sleep_qual_num)
Sleep_qual_num does depend on gender
6
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
12.
(3 points) Report the F-test statistics and p-values (include outputs showing these values).
a.
Gender F = ___
2.412
_____
P-value = ____
0.122
____
b.
Sleep_qual F = __
9.296
______
P-value = ___
<.001
_____
c.
Gender x sleep_qual F = __
2.127
______
P-value = ___
.121
_____
13.
(2 points) State your conclusion to the hypotheses tested above in terms of the story.
Assume α=0.05. Be sure to state whether your results refer to the sample
or the population
.
a.
In our gender hypothesis, we fail to reject the null hypothesis because there is not a
significant difference in the population means at the .05% threshold.
b.
In our gender hypothesis, we reject the null hypothesis because there is a significant
difference in the population means at the .05% threshold.
c.
In our gender * sleep_qual_num hypothesis, we fail to reject the null hypothesis because
there is not a significant difference in the population means at the .05% threshold.
7
Related Documents
Related Questions
Assume that you work in the Planning Department of LTG National Bank and report to Miss G.
You will need to do some data analysis and prepare a short-written report. The written part of the
report should not exceed a page in length. Remember, Mr. K is the President of the bank, so you will
want to ensure that your report is complete and accurate. A copy of the data appears in page 3.
The LTG National Bank has offices in several areas of Metro Manila. Mr. K, President and CEO,
would like to know the characteristics of his checking account customers. What is the balance of a
typical customer? How many other bank services do the checking account customers use? Do the
customers use the ATM service and if so how often? What about debit cards? Who uses them, and how
often are they used?
To better understand the customers, Mr. K asked Miss G, Director of Planning to select a sample
of customers and prepare a report. To begin, she has appointed a team from her staff. You are the
head of the…
arrow_forward
draw the rough sketch of three types of charts representing statistical data.
arrow_forward
Belinda Hatfield is interested in the occurrence of notches in the ears of wild hogs in the Big Sandy River area of West Virginia. Over the span of 6 weeks, Belinda traps 23 wild hogs and records the number and shape of notches in the ears of wild hogs. What is the population of this study?
arrow_forward
Lung cancer is the second most common cancer among men and women in the USA. You are hired as a manager-planner by one of the hospitals. The organization is interested in establishing a community outreach program promoting smoking cessation and lung cancer screening. The Board of Directors requested your services in processing the data collected through the prospective cohort study among male and female population visiting local gym. The data set is attached. Please use Excel or Epi Info to process the data. Chose the correct epi tool, provide a graphic representation of the processed data set and offer a conclusion as to the causative relationship between smoking and death. List the potential biases and provide a recommendation as to the study validity and reliability. Inform the Board of Directors (and your peers) about your findings.
OUTCOME
SMOKE
Death
1. Smoke
Death
1. Smoke
Death
1. Smoke
Death
1. Smoke
Death
1. Smoke
Death
1. Smoke
Death
1. Smoke
Death
1.…
arrow_forward
In order to determine if there was a relationship between living near power lines and a rare disease,
what type of study design could be used?
Edit View Insert Format
Tools Table
arrow_forward
Define effect size
in your own words please
arrow_forward
Background: You just finished teaching your first PSYCH 248 lab section, and it’s time to calculate the grades. Your wonderful teaching assistant created an Excel file with all of the students’ exam grades, homework grade, and lab grade as well as their gender. Your next steps are to calculate each student’s final grade, convert those scores to letter grades, and describe the distribution of scores.
Data Management Steps:
1. Download the CA1_Dataset.csv file from Blackboard.
2. In Excel, calculate the final Number Grade, Letter Grade, and Z-score for each student.
a. To calculate the Number Grade, type a numerical equation after an = sign in a cell or use the =AVERAGE() formula; however, keep in mind that the =AVERAGE() formula will always give you the regular mean, not the weighted mean. Grades for this course are comprised of three parts: lecture exams (60%), homework (20%), and lab (20%).
b. To calculate the Letter Grade, use the =IF() formulawith a series of logic statements…
arrow_forward
I have attached the screenshot of the question and the screenshot of the data that is in shuttlemission file. Please answer the questions and provide the screenshots of the outputs as well. Please briefly explain your answers. And provide step to step screenshot of the JASP. Thanks
arrow_forward
Write an example of a research study that would be most appropriate for a within subjects ANOVA
arrow_forward
A'6
arrow_forward
List an advatge of microdata, and of aggregated data
Answer in a few sentences thank you.
arrow_forward
A researcher wants to analyse whether there is a relationship between country of origin of International students in Sydney and the suburb they currently live in.
Suggest data collection approach for the researcher.
arrow_forward
Aplicaciones
M Gmail
YouTube
Maps
Noticias G Traducir
T&content_id%3D
* Question Completion Status:
The following set of data represents the number of orders filled by a national-chain restaurant during a two week period. Construct a five number summary
for the the data.
66, 75, 68, 89, 86, 73, 67, 75, 75, 82, 85, 74, 67, 61
(Round to the nearest hundredth, if needed).
Min
Lower Quartile
Median
Upper Quartile
Maximum
What is the range and the interquartile range (IQR)?
Range
Interquartile Range (1QR)
local, family-owned restaurant also gathered data for two weeks of orders. The following set of data represents the number of orders filled by this
Save All Ans
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Relative
Reading - Mapp.pdf
ANY
Worksheet - Py....docx
W
Worksheet - W....docx
* MLK Letter -2.pdf
ACIC
四国07A|
útv
DIC.
11
arrow_forward
How to determine the number of observation in the model?
arrow_forward
The Ministry of Tourism in Trinidad and Tobago is interested in developing a campaign to increase the number of visitors to the island. The Ministry in collaboration with the island’s hotels collected data to be used as a guide to determine what steps should be taken going forward. Using the data in the Microsoft Excel file attached you are required to use the knowledge you have acquired during the semester to answer the following question. Ensure that your responses are detailed and all the necessary steps are clearly outlined.
Please note that JASP should only be used if stated in the question.
The Description of the variables in the data set is given below
Name
Description
ID
Visitor Number (1-150)
Length_stay
Length of stay in the island (days)
Age_years
Age of visitor (years)
Return_pct
Average estimated probability of returning to the island
Attraction
Number of attractions visited in the island
Trip_ratio
Number of trips taken off…
arrow_forward
Please help to answer the control chart - case 2 as attached.
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

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

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
- Assume that you work in the Planning Department of LTG National Bank and report to Miss G. You will need to do some data analysis and prepare a short-written report. The written part of the report should not exceed a page in length. Remember, Mr. K is the President of the bank, so you will want to ensure that your report is complete and accurate. A copy of the data appears in page 3. The LTG National Bank has offices in several areas of Metro Manila. Mr. K, President and CEO, would like to know the characteristics of his checking account customers. What is the balance of a typical customer? How many other bank services do the checking account customers use? Do the customers use the ATM service and if so how often? What about debit cards? Who uses them, and how often are they used? To better understand the customers, Mr. K asked Miss G, Director of Planning to select a sample of customers and prepare a report. To begin, she has appointed a team from her staff. You are the head of the…arrow_forwarddraw the rough sketch of three types of charts representing statistical data.arrow_forwardBelinda Hatfield is interested in the occurrence of notches in the ears of wild hogs in the Big Sandy River area of West Virginia. Over the span of 6 weeks, Belinda traps 23 wild hogs and records the number and shape of notches in the ears of wild hogs. What is the population of this study?arrow_forward
- Lung cancer is the second most common cancer among men and women in the USA. You are hired as a manager-planner by one of the hospitals. The organization is interested in establishing a community outreach program promoting smoking cessation and lung cancer screening. The Board of Directors requested your services in processing the data collected through the prospective cohort study among male and female population visiting local gym. The data set is attached. Please use Excel or Epi Info to process the data. Chose the correct epi tool, provide a graphic representation of the processed data set and offer a conclusion as to the causative relationship between smoking and death. List the potential biases and provide a recommendation as to the study validity and reliability. Inform the Board of Directors (and your peers) about your findings. OUTCOME SMOKE Death 1. Smoke Death 1. Smoke Death 1. Smoke Death 1. Smoke Death 1. Smoke Death 1. Smoke Death 1. Smoke Death 1.…arrow_forwardIn order to determine if there was a relationship between living near power lines and a rare disease, what type of study design could be used? Edit View Insert Format Tools Tablearrow_forwardDefine effect size in your own words pleasearrow_forward
- Background: You just finished teaching your first PSYCH 248 lab section, and it’s time to calculate the grades. Your wonderful teaching assistant created an Excel file with all of the students’ exam grades, homework grade, and lab grade as well as their gender. Your next steps are to calculate each student’s final grade, convert those scores to letter grades, and describe the distribution of scores. Data Management Steps: 1. Download the CA1_Dataset.csv file from Blackboard. 2. In Excel, calculate the final Number Grade, Letter Grade, and Z-score for each student. a. To calculate the Number Grade, type a numerical equation after an = sign in a cell or use the =AVERAGE() formula; however, keep in mind that the =AVERAGE() formula will always give you the regular mean, not the weighted mean. Grades for this course are comprised of three parts: lecture exams (60%), homework (20%), and lab (20%). b. To calculate the Letter Grade, use the =IF() formulawith a series of logic statements…arrow_forwardI have attached the screenshot of the question and the screenshot of the data that is in shuttlemission file. Please answer the questions and provide the screenshots of the outputs as well. Please briefly explain your answers. And provide step to step screenshot of the JASP. Thanksarrow_forwardWrite an example of a research study that would be most appropriate for a within subjects ANOVAarrow_forward
- A'6arrow_forwardList an advatge of microdata, and of aggregated data Answer in a few sentences thank you.arrow_forwardA researcher wants to analyse whether there is a relationship between country of origin of International students in Sydney and the suburb they currently live in. Suggest data collection approach for the researcher.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALBig 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

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