KidsFeet Regression Analysis Code The KidsFeet dataframe contains data collected on 39 fourth grade students in Ann Arbor, MI, in October 1997. Two of the measurements taken on the children were the length in centimeters, (length), and width in centimeters, (width), of their longest foot. This data could be used to answer the following Research Question: How is the width of a fourth-grade student's foot related to the length? Which of the following lines of code resulted in the following plot and regression analysis? Hint: More than one choice may be correct. ## ## Simple Linear Regression ## ## Correlation coefficient r = 0.6411 ## ## Equation of Regression Line: ## ## length = 9.817 + 1.658 * width ## ## Residual Standard Error: s = 1.025 ## R^2 (unadjusted): R^2 = 0.411 ( ) KidsFeetMod<-lmGC(length~width,data=KidsFeet) KidsFeetMod ( ) lmGC(width~length,data=KidsFeet,graph=TRUE) ( ) KidsFeetMod<-lmGC(width~length,data=KidsFeet) KidsFeetMod ( ) lmGC(length~width,data=KidsFeet,graph=TRUE) ( ) lmGC(width~length,data=KidsFeet) ( ) KidsFeetMod<-lmGC(width~length,data=KidsFeet,graph=TRUE) KidsFeetMod ( ) lmGC(length~width,data=KidsFeet) ( ) KidsFeetMod<-lmGC(length~width,data=KidsFeet,graph=TRUE) KidsFeetMod
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
KidsFeet Regression Analysis Code
The KidsFeet dataframe contains data collected on 39 fourth grade students in Ann Arbor, MI, in October 1997. Two of the measurements taken on the children were the length in centimeters, (length), and width in centimeters, (width), of their longest foot. This data could be used to answer the following
Research Question: How is the width of a fourth-grade student's foot related to the length?
Which of the following lines of code resulted in the following plot and regression analysis? Hint: More than one choice may be correct.
##
## Simple Linear Regression
##
##
##
## Equation of Regression Line:
##
## length = 9.817 + 1.658 * width
##
## Residual Standard Error: s = 1.025
## R^2 (unadjusted): R^2 = 0.411
( ) KidsFeetMod<-lmGC(length~width,data=KidsFeet)
KidsFeetMod
( ) KidsFeetMod<-lmGC(width~length,data=KidsFeet)
KidsFeetMod
( ) KidsFeetMod<-lmGC(width~length,data=KidsFeet,graph=TRUE)
KidsFeetMod
( ) KidsFeetMod<-lmGC(length~width,data=KidsFeet,graph=TRUE)
KidsFeetMod
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 3 images