The following data indicate the number of hours per week of using the computer (X) versus the eye vision (Y), rated from 1 to 20, where 20 means the best eye vision. Suppose we want to build a linear model to predict the eye vision of a person who uses the computer 40 hours per week. Use the semiparametric approach (choose k = 3) to estimate the parameters. %3D Computer usage (hrs/wk) Eye vision 10 19 15 18 40 14 30 13 35 15 70 6 85 60 7
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.
Step by step
Solved in 3 steps