Two friends find themselves in a huge debate. One claims that if a regression model is to be constructed for demand for a good, price should be the independent variable, and quantity demanded should be the dependent variable. Hence, the regression should be as: 9. = 0, + 0,p, + u, where Q is quantity demanded and P stands for price. The other friend, on the other hand, states that the demand will affect the price; therefore the true regression should be formed as: P: = a, +a,9; +u, a) Show that 6,â =r², where r is the sample correlation coefficient between price and quantity. b) Show that the goodness of fit of the two fitted regressions is the same.
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 2 steps