Question

In: Math

I'm doing a stats project on the correlation between the amount of hours a person sleeps...

I'm doing a stats project on the correlation between the amount of hours a person sleeps and their weight; proving there is no correlation between sleep and weight gain. I have voluntary samples of people's weight and the hours they slept, and I need to list if the level of measurement is nominal or ordinal, confidence interval, and linear correlation test. how do I do this?

Solutions

Expert Solution

Sol:

label x as hours slep

y as weight

perform cor.test in R(which tests whethe the relationship is significant or not)

if p>0.05

relationship i s significant.

ex: i am taking hours as

2,3,4,5,7

weight as

54,45,67,78.34

my null hypothesis:

THere is no relationship between hours slept and weight

alternative hypothesis:

There is a negative relationship between hours slept and weight.

Rcode is:

hourssslept <- c(2,3,4,5,7)
weight <- c(54,45,67,78,34)
cor.test(hourssslept,weight)

ouptut:

Pearson's product-moment correlation

data: hourssslept and weight
t = -0.3784, df = 3, p-value = 0.7303
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
-0.9220699 0.8239945
sample estimates:
cor
-0.2134366

here corr coefficient is r=-0.2134366

p=0.7303

p>0.05

Fail to reject H0.

Accept H0

THere is no relationship

to find confidenc einterval in R

Rcode is

t.test(hourssslept,weight)

Welch Two Sample t-test

data: hourssslept and weight

t = -6.5596, df = 4.0976, p-value = 0.002567

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval 95 percent confidence interval::

-72.9529 -29.8471

sample estimates:

mean of x mean of y

4.2 55.6

output:

95 percent confidence interval: s from 4.2 to 55.6


Related Solutions

I'm doing a stats project and we had to survey students and now we have to...
I'm doing a stats project and we had to survey students and now we have to make graphs based on the data we collected. My question is what is the best graph to use for each one. Age Cumulative GPA What make of car you drive (or none) What social media site/app do you use most frequently? What is the highest level of education you plan to pursue after graduation? What is your favorite breakfast food? What is your favorite...
A doctor finds that there is a positive correlation between the amount of hours slept and...
A doctor finds that there is a positive correlation between the amount of hours slept and memory performance. What is the best way to show the results? Group of answer choices a.scatterplots b.line graphs c.bar graphs d.pie charts
I'm doing a project on Wild Horse Population, versus the amount of adoptions each year. What...
I'm doing a project on Wild Horse Population, versus the amount of adoptions each year. What are some ways that the data could relate to each other statistically? working on some H0 and H1 hpotheses
I am currently doing research and I need to find the correlation between "HOURS OF SLEEP"...
I am currently doing research and I need to find the correlation between "HOURS OF SLEEP" and "LPI SCORES" I want a table to look as below how would I achieve this on Excel. In short I want to find out what the average score someone gets when they get a certain amount of sleep. I have all the data in a spreadsheet but cannot get the table right. SLEEP HOURS                               LPI SCORES 4                                                      ?? 5 6 7 8 9...
. A study was conducted to examine the correlation between number of study hours and students...
. A study was conducted to examine the correlation between number of study hours and students grads in exam. Study hours for students: 2, 3, 5, 6, 8, 10, 10, 2, 5, 6, 5, 3, 7, 6, 2, 7, 6, 8, 2, 5 Grads in exam for students: 3, 4, 6, 7, 8, 10, 9, 8, 3, 6, 5, 4, 6, 6, 3, 7, 6, 3, 4, 5 1- as ungrouped data find the frequency, accumulated relative frequency, and accumulative...
. A study was conducted to examine the correlation between number of study hours and students...
. A study was conducted to examine the correlation between number of study hours and students grads in exam. Study hors for students: 2, 3, 5, 6, 8, 10, 10, 2, 5, 6, 5, 3, 7, 6, 2, 7, 6, 8, 2, 5 Grads in exam for students: 3, 4, 6, 7, 8, 10, 9, 8, 3, 6, 5, 4, 6, 6, 3, 7, 6, 3, 4, 5 1- as ungrouped data find the frequency, accumulated relative frequency, and accumulative...
If a researcher found a Person correlation of r = 0.32 between aggression and frequency of...
If a researcher found a Person correlation of r = 0.32 between aggression and frequency of binge drinking in a sample of n = 52 undergraduate students. Therefore, he can conclude that __________. A. there is no significant relationship between these variables with either, p <.05 and p <.01 B. there is a significant positive relationship between these variables with p <.05 but not with p <.01. C. there is a significant positive relationship between these variables with both, p...
I'm doing a project on %seaweed coverage in tide pools (based on tide pool height w.r.t....
I'm doing a project on %seaweed coverage in tide pools (based on tide pool height w.r.t. chart datum), There is a negative correlation between the two on running the stat based on data I was provided. My question is, how does tide pool height wrt chart datum affect their exposure to factors like the sun (consider desiccation), salinity due to rainfall, etc. Any help will be great! I'm on a major time crunch.
Claim: There is a significant correlation between test 1 scores and the hours a student spent...
Claim: There is a significant correlation between test 1 scores and the hours a student spent studying. Use the data-analysis add-in to complete the hypothesis test for the correlation coefficient using level of significance of 0.05. Hours Spent Studying Test 1 Scores 8 91 6 83 6 75 12 85 4 90 6 80 7 67 7 82 5 88 9 87 5 95 3 91 2 73 13 80 4 83 10 92 12 94 0 68 3 75...
If a researcher found a significant correlation of .83 between years of education and hours spent...
If a researcher found a significant correlation of .83 between years of education and hours spent attending Golden State Warriors' basketball games, what would it mean? a. People with more education spend more time attending Warriors' basketball games. b. People with more education spend less time attending Warriors' basketball games. c. People hate Warriors d. People with less education spend less time attending Warriors' basketball games. e. People with less education spend more time attending Warriors' basketball games.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT