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...
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.
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...
. 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...
A person wants to see if there is correlation between and person's height (x) has any...
A person wants to see if there is correlation between and person's height (x) has any factor on their foot/shoe size (y). The data is: Height (X): Foot/shoe Size (Y): 6'3" 12.5 U.S. 6'4" 11.5 U.S. 5'10" 12 U.S. 5'7" 9.5 U.S. 6'7" 15 U.S. 5'3" 7 U.S. 6'0" 10.5 U.S. 6'3" 13 U.S. discuss why a regression analysis could be appropriate for this problem. Specifically, what statistical questions are you asking? Why would you want to predict the value...
If a person randomly picks two different months, what is the probability that the correlation between...
If a person randomly picks two different months, what is the probability that the correlation between the two months is negative?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT