Question

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

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?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a)

4 1 8

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)

Add a comment
Know the answer?
Add Answer to:
3. A psychologist believed that as children get older, they engage in more “inactive activities” ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 5. Calculate the minimum required sample size. a. See number 3 above. 6. Given a set...

    5. Calculate the minimum required sample size. a. See number 3 above. 6. Given a set of ordered pair data calculate the correlation coefficient. r. calculate and interpret the coefficient of determination find the equation of the regression line, and make a prediction. a. Listed below are the budgets (in millions of dollars) and the gross receipts (in millions of dollars) for randomly selected movies. Construct a scatterplot find the value of the linear correlation coefficient r, and find the...

  • A child psychologist hypothesizes that motivation predicts locus of control in pre-adolescent children. To investigate this,...

    A child psychologist hypothesizes that motivation predicts locus of control in pre-adolescent children. To investigate this, the psychologist has a sample of pre-adolescent participants fill out a questionnaire that measures locus of control and motivation. Below are the data. What can the psychologist conclude with an α of 0.10? locus motivation 15 16 15 14 19 12 18 13 21 23 15 14 22 13 21 14 a) What is the appropriate statistic? ---Select--- na, Correlation, Slope, Chi-Square Compute the...

  • 67 7 In a sample of 167 children selected randomly from one town, it is fou...

    67 7 In a sample of 167 children selected randomly from one town, it is fou suffer from asthma. At the 0.05 significance level, test the claim that the children in the town who sufferromasthmalms, Null Hypothesis:P-0. D. 1 -Alternative Hypothesis : Test Statistic 16 /.#x ond wilsdc Critical Value(s)Zyl,- P-value Is the null hypothesis rejected? Final conclusion in a sentence 8 &c 9. Use the given data to find the equation of the regression line. Round the final values...

  • 1. A positive correlation (r = 0.52) is found between hours spent playing with other children...

    1. A positive correlation (r = 0.52) is found between hours spent playing with other children at age two and sociability in kindergarten. Answer the following questions based on this result. a. What does a positive correlation mean in this specific scenario? b. If someone concludes that requiring children to play with others at age 2 will increase sociability, what TWO common errors of interpreting correlations are being made? c. Calculate the coefficient of determination for this scenario. d. If...

  • In this exercise, you will investigate the relationship between a worker's age and earnings. (Generally, older...

    In this exercise, you will investigate the relationship between a worker's age and earnings. (Generally, older workers have more job experience, leading to higher productivity and earnings.) The following table contains data for full-time, full-years workers, age 25-34, with a high school diploma or B.A./B.S. as their highest degree. Download the data from the table by clicking the download table icon 0 . A detailed description of the variables used in the data set is available here Use a statistical...

  • A child psychologist hypothesizes that locus of control predicts motivation in pre-adolescent children. To investigate this,...

    A child psychologist hypothesizes that locus of control predicts motivation in pre-adolescent children. To investigate this, the psychologist has a sample of pre-adolescent participants fill out a questionnaire that measures locus of control and motivation. Below are the data. What can the psychologist conclude with α = 0.05? Locus Motivation 15 16 15 14 11 12 18 13 21 23 15 14 22 13 21 14 a) What is the appropriate statistic? ---Select--- na Correlation Slope Chi-Square Compute the statistic...

  • A marketing manager for a cell phone company claims that more than 35% of children age...

    A marketing manager for a cell phone company claims that more than 35% of children age 10 have cell phones. In a random sample of 5000 it is found that 1805 had cell phones. Can you conclude that the manager's claim is true? Use a significance level a=0.01. Use this scenario to answer questions 16-20. 16) State the alternative and null hypothesis. 17) Calculate the test statistic. 18) Identify the p-value. 19) Make your decision. 20) Interpret the results.

  • Problem 3: Too Much Salt? A nutritionist claims that children under the age of 10 years...

    Problem 3: Too Much Salt? A nutritionist claims that children under the age of 10 years are consuming more than the US Food and Drug Administration's recommended daily allowance of sodium, which is 2400 mg. To test this claim, she obtains a random sample of 27 US children under the age of 10 and measures their daily consumption of sodium. Use a-0.01 a) Define the population parameter of interest in one sentence. i. State the null and alternative hvoot heses...

  • A developmental psychologist believes that children raised in bilingual families will have higher verbal fluency at...

    A developmental psychologist believes that children raised in bilingual families will have higher verbal fluency at age 3 than children raised in families where only one language is spoken. She recruits 25 bilingual and 25 monolingual families with 3-year olds from her local newspaper and administers the Childhood Test of Verbal Fluency (CTVF) to each child. She finds that mean CTVF test score for bilingual children is 5 points higher than the mean CTVG score for monolingual children. She then...

  • A cereal company claims that the mean weight of the cereal in its packets is more...

    A cereal company claims that the mean weight of the cereal in its packets is more than 14 oz. The weights (in oz) of the cereal in a random sample of 8 cereal packets are listed below. You may assume the sample data comes from a population that follows a normal distribution. Using a 0.05 significance level, test the companies claim. State the null hypothesis H0. State the alternative hypothesis H1. What is the test statistic? State the alpha level....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT