Question

In: Statistics and Probability

3. A psychologist believed that as children get older, they engage in more “inactive activities” such...

3. A psychologist believed that as children get older, they engage in more “inactive activities” such as playing computer games, watching TV and surfing the internet. She collected data from 10 children. She recorded the age of each child and the amount of activity (in hours) the child engaged in per week. The table below gives the data for this hypothetical study (it is also available in activity.txt). Age (years) Amount of Activity (hours) 7 4.3 9 3.2 10 1.0 13 1.5 12 1.2 15 0.8 9 3.0 12 4.0 15 1.5 14 1.9

a. Using R, obtain a scatterplot of the data. Discuss the relationship between age and activity based on the scatterplot.

b. Using R, obtain the simple linear regression linear regression line predicting activity from age.

c. Interpret the intercept and slope of the regression line

d. By hand, predict the amount of activity for age = 14

e. By hand, calculate the residual for age = 14

f. Using R output, test the null hypothesis that the slope coefficient is zero using the p-value approach. Write one sentence interpreting the meaning of this result. Make sure to report the test statistic and p-value.

g. Using R, obtain and report the 95% CI for the slope coefficient. Explain how we can use it to make a decision about the null hypothesis from part (f).

h. Using R output, test the null hypothesis that the population coefficient of determination is zero using the p-value approach, and write one sentence interpreting your result. Make sure to report the test statistic and p-value.

i. How do the test statistics in (f) and (h) mathematically relate to each other?

Solutions

Expert Solution

a)

b)

y^ = 5.7912 - 0.3061 x

c)

slope as age increase by 1 year, amount of activity decreases by 0.3061 hours

intercept is not meaningful here

d)

y^ = 5.7912 - 0.3061 *14 = 1.5058

e)

residual = actual-predicted = 1.9 - 1.5058 = 0.3942

code

x <- c(7,9,10,13,12,15,9,12,15,14)
> y <- c(4.3,3.2,1,1.5,1.2,.8,3,4,1.5,1.9)
> model <- lm(y ~x)
> summary(model)

Call:
lm(formula = y ~ x)

Residuals:
     Min       1Q   Median       3Q      Max
-1.72982 -0.37719 0.06404 0.37127 1.88246

Coefficients:
            Estimate Std. Error t value Pr(>|t|)
(Intercept)   5.7912     1.4675   3.946 0.00426 **
x            -0.3061     0.1234 -2.481 0.03807 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 1.021 on 8 degrees of freedom
Multiple R-squared: 0.4348,    Adjusted R-squared: 0.3641
F-statistic: 6.154 on 1 and 8 DF, p-value: 0.03807

> plot(x,y)


Related Solutions

1. describe an instance when you supported older people to actively engage in all living activities?...
1. describe an instance when you supported older people to actively engage in all living activities? 2. describe two instances when you used reality orientation to provide reassurance? 3. describe an instance when you ensure the safety and comfort of the person while balancing autonomy and risk? 4. describe an instance when you took action to reduce the impact of persons behaviours of concern? 5. describe an instance when you provided appropriate support and guidance to families and carers of...
A set of researchers believed that the normal body temperature of children is actually more than...
A set of researchers believed that the normal body temperature of children is actually more than 98.6 degrees while sleeping. They measured the temperature in 15 randomly selected healthy adolescents and found a sample mean of 98.9 degrees with a standard deviation of 0.6 degrees with the temperatures being normally distributed. Use a t critical value of 2.14 a. Write the null and alternate hypothesis. b. Calculate the test statistic and write a conclusion for this question. c. Now suppose...
1. As children get older, they begin to understand that just because you know certain facts,...
1. As children get older, they begin to understand that just because you know certain facts, _____ a. they may not be true b. you are not always able to express them to others c. other people may not know them 2. According to your textbook, during the _____ stage of cognitive development, a child shows a greatly improved ability to mentally represent objects that are not physically present. a. concrete operations b. formal operations c. pre operational 3. According...
1. As children get older, they begin to understand that just because you know certain facts,...
1. As children get older, they begin to understand that just because you know certain facts, _____ a. they may not be true b. you are not always able to express them to others c. other people may not know them 2. According to your textbook, during the _____ stage of cognitive development, a child shows a greatly improved ability to mentally represent objects that are not physically present. a. concrete operations b. formal operations c. pre operational 3. According...
TOPIC: TEEN MOMS ARE MORE LIKELY TO GET POSTPARTUM DEPRESSION than older moms Submit an APA-formatted...
TOPIC: TEEN MOMS ARE MORE LIKELY TO GET POSTPARTUM DEPRESSION than older moms Submit an APA-formatted reference page with 10-15 references, five from PSY-452 and at least five additional scholarly articles. At least 10 of the references must be peer reviewed. Include an APA-formatted title page with your APA-formatted reference page, which includes the persistent links for all articles.
A sociologist claims that children ages 3​ - 12 spent more mean time watching television in...
A sociologist claims that children ages 3​ - 12 spent more mean time watching television in 1981 than children ages 3​ - 12 do today. A study was conducted in 1981 and a similar study was recently conducted. At   alphaα ​= 0.025, can you support the​ sociologist's claim? Sample 1 Sample 2 1981 Study 2.5 2.1 2.3 Recent Study 1.9 2.0 1.6 1.6 2.6 2.1 1.5 2.1 2.3 2.2 1.0 1.9 1.6 1.8 0.9 Calculate the Test Statistic and​ P-value....
Decision Scenario 3 ?I don?t want no more children,? Mrs. Hinson said. ?I?ve already got five,...
Decision Scenario 3 ?I don?t want no more children,? Mrs. Hinson said. ?I?ve already got five, and I can?t look after them the way they should be looked after. My husband?s been gone three years. I don?t know where he is, but I know he ain?t coming back.? After two years as a psychiatric social worker, David Rossum found Mrs. Hinson?s agitation familiar. He looked around the small living room. It was clean but crowded with second-hand furniture. Cheap dime-store...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT