Answered step by step
Verified Expert Solution
Question
1 Approved Answer
which variable is the slope/regression coefficient? Console Terminal Jobs /cloud/project/ > ## Linear Regression ## > # All students vs. midparent > length(na.omit(quantgeneticsdatafile$midparent)) [1] 288
which variable is the slope/regression coefficient?
Console Terminal Jobs /cloud/project/ > ## Linear Regression ## > # All students vs. midparent > length(na.omit(quantgeneticsdatafile$midparent)) [1] 288 > length(na.omit(quantgeneticsdatafile$student)) [1] 387 > midparent.reg summary(midparent.reg) Call: 1m (formula = student ~ midparent, data = quantgeneticsdata Residuals: Min 10 -11.3557 -2.7368 Median 3Q Max -0.3475 2.4919 11.4614 Coefficients: Estimate Std. Error t value Pr(t) (Intercept) 25.03037 6.23637 4.014 7.64e-05 *** midparent 0.62602 0.09248 6.769 7.34e-11 *** Signif. codes: 0 (***) 0.001 (**) 0.01 (*) 0.05 0.1 Residual standard error: 3.653 on 286 degrees of freedom (99 observations deleted due to missingness) Multiple R-squared: 0.1381, Adjusted R-squared: 0.13 F-statistic: 45.82 on 1 and 286 DF, p-value: 7.344e-11 > plot(student-midparent, data=quantgeneticsdatafile, xla ht (inches)", pch=19, ylim=c(60,80), xlim=c(60,80)) > abline (midparent.reg, col="red", lwd=3) > hist(quantgeneticsdatafile$student[quantgeneticsdatafil "Number of Students", main="Female", col="red", ylim=cStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started