In an imaginary survey, we wanted to find out if there is a connection between morning sickness and sleeping position. A random sample of 400 people was selected for the survey. The respondent had to define himself as either a morning person or a non-morning person and tell the position in which he typically sleeps. 186 respondents classified themselves as morning timers and 214 respondents as non-morning timers. Of the morning owls, 127 reported that they usually sleep on their side, 24 on their stomach and 35 on their back.
In an imaginary survey, we wanted to find out if there is a connection between morning sickness and sleeping position. A random sample of 400 people was selected for the survey. The respondent had to define himself as either a morning person or a non-morning person and tell the position in which he typically sleeps.
186 respondents classified themselves as morning timers and 214 respondents as non-morning timers.
Of the morning owls, 127 reported that they usually sleep on their side, 24 on their stomach and 35 on their back.
Of the non-morning people, 156 reported that they usually sleep on their side, 29 on their stomach and 29 on their back.
Use the chisq.test()
Trending now
This is a popular solution!
Step by step
Solved in 7 steps with 9 images