Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Definefemale_heights, a set of mother and daughter heights sampled fromGaltonFamilies, as follows: set.seed( 1989 ) # if you are using R 3.5 or earlier set.seed(

Definefemale_heights, a set of mother and daughter heights sampled fromGaltonFamilies, as follows:

set.seed(1989) #if you are using R 3.5 or earlier set.seed(1989, sample.kind="Rounding") #if you are using R 3.6 or later library(HistData) data("GaltonFamilies") female_heights <- GaltonFamilies%>% filter(gender == "female") %>% group_by(family) %>% sample_n(1) %>% ungroup() %>% select(mother, childHeight) %>% rename(daughter = childHeight) 

Question 1 - Calculate the mean and standard deviation of mothers' heights, the mean and standard deviation of daughters' heights, and the correlaton coefficient between mother and daughter heights.

Mean of mothers' heights -

Standard deviation of mothers' heights -

Mean of daughters' heights -

Standard deviation of daughters' heights -

Correlation Coefficient -

Question 2 - Calculate the slope and intercept of the regression line predicting daughters' heights given mothers' heights. Given an increase in mother's height by 1 inch, how many inches is the daughter's height expected to change?

Slope of regression line predicting daughters' height from mothers' heights -

Intercept of regression line predicting daughters' height from mothers' heights -

Change in daughter's height in inches given a 1 inch increase in the mother's height -

Question 3 - What percent of the variability in daughter heights is explained by the mother's height? Report your answer as a value between 0 and 100.

Question 4 - A mother has a height of 60 inches. What is the conditional expected value of her daughter's height given the mother's height?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential Calculus Early Transcendental Functions

Authors: Ron Larson, Robert P. Hostetler, Bruce H. Edwards

1st Edition

618879188, 618879182, 978-0618879182

More Books

Students also viewed these Mathematics questions

Question

Define lying.

Answered: 1 week ago