Sponsored Links
-->

Saturday, October 6, 2018

r - How to apply splom() function in order to create multiple ...
src: i.stack.imgur.com

In statistics, the coefficient of multiple correlation is a measure of how well a given variable can be predicted using a linear function of a set of other variables. It is the correlation between the variable's values and the best predictions that can be computed linearly from the predictive variables.

The coefficient of multiple correlation takes values between 0 and 1; a higher value indicates a better predictability of the dependent variable from the independent variables, with a value of 1 indicating that the predictions are exactly correct and a value of 0 indicating that no linear combination of the independent variables is a better predictor than is the fixed mean of the dependent variable.

The coefficient of multiple correlation is computed as the square root of the coefficient of determination, but under the particular assumptions that an intercept is included and that the best possible linear predictors are used, whereas the coefficient of determination is defined for more general cases, including those of nonlinear prediction and those in which the predicted values have not been derived from a model-fitting procedure.


Video Multiple correlation



Definition

The coefficient of multiple correlation, denoted R, is a scalar that is defined as the Pearson correlation coefficient between the predicted and the actual values of the dependent variable in a linear regression model that includes an intercept.


Maps Multiple correlation



Computation

The square of the coefficient of multiple correlation can be computed using the vector c = ( r x 1 y , r x 2 y , ... , r x N y ) ? {\displaystyle \mathbf {c} ={(r_{x_{1}y},r_{x_{2}y},\dots ,r_{x_{N}y})}^{\top }} of correlations r x n y {\displaystyle r_{x_{n}y}} between the predictor variables x n {\displaystyle x_{n}} (independent variables) and the target variable y {\displaystyle y} (dependent variable), and the correlation matrix R x x {\displaystyle R_{xx}} of correlations between predictor variables. It is given by

R 2 = c ? R x x - 1 c , {\displaystyle R^{2}=\mathbf {c} ^{\top }R_{xx}^{-1}\,\mathbf {c} ,}

where c ? {\displaystyle \mathbf {c} ^{\top }} is the transpose of c {\displaystyle \mathbf {c} } , and R x x - 1 {\displaystyle R_{xx}^{-1}} is the inverse of the matrix

R x x = ( r x 1 x 1 r x 1 x 2 ... r x 1 x N r x 2 x 1 ? ? ? ? r x N x 1 ... r x N x N ) . {\displaystyle R_{xx}=\left({\begin{array}{cccc}r_{x_{1}x_{1}}&r_{x_{1}x_{2}}&\dots &r_{x_{1}x_{N}}\\r_{x_{2}x_{1}}&\ddots &&\vdots \\\vdots &&\ddots &\\r_{x_{N}x_{1}}&\dots &&r_{x_{N}x_{N}}\end{array}}\right).}

If all the predictor variables are uncorrelated, the matrix R x x {\displaystyle R_{xx}} is the identity matrix and R 2 {\displaystyle R^{2}} simply equals c ? c {\displaystyle \mathbf {c} ^{\top }\,\mathbf {c} } , the sum of the squared correlations with the dependent variable. If the predictor variables are correlated among themselves, the inverse of the correlation matrix R x x {\displaystyle R_{xx}} accounts for this.

The squared coefficient of multiple correlation can also be computed as the fraction of variance of the dependent variable that is explained by the independent variables, which in turn is 1 minus the unexplained fraction. The unexplained fraction can be computed as the sum of squared residuals--that is, the sum of the squares of the prediction errors--divided by the sum of the squared deviations of the values of the dependent variable from its expected value.


Multiple Correlation and Regression Analysis in SPSS - YouTube
src: i.ytimg.com


Properties

With more than two variables being related to each other, the value of the coefficient of multiple correlation depends on the choice of dependent variable: a regression of y {\displaystyle y} on x {\displaystyle x} and z {\displaystyle z} will in general have a different R {\displaystyle R} than will a regression of z {\displaystyle z} on x {\displaystyle x} and y {\displaystyle y} . For example, suppose that in a particular sample the variable z {\displaystyle z} is uncorrelated with both x {\displaystyle x} and y {\displaystyle y} , while x {\displaystyle x} and y {\displaystyle y} are linearly related to each other. Then a regression of z {\displaystyle z} on y {\displaystyle y} and x {\displaystyle x} will yield an R {\displaystyle R} of zero, while a regression of y {\displaystyle y} on x {\displaystyle x} and z {\displaystyle z} will yield a strictly positive R {\displaystyle R} . This follows since the correlation of y {\displaystyle y} with its best predictor based on x {\displaystyle x} and z {\displaystyle z} is in all cases at least as large as the correlation of y {\displaystyle y} with its best predictor based on x {\displaystyle x} alone, and in this case with z {\displaystyle z} providing no explanatory power it will be exactly as large.


R Companion: Multiple Logistic Regression
src: rcompanion.org


References


Chapter 13 Multiple Regression - ppt download
src: slideplayer.com


Further reading

  • Allison, Paul D. (1998). Multiple Regression: A Primer. London: Sage Publications. ISBN 9780761985334
  • Cohen, Jacob, et al. (2002). Applied Multiple Regression: Correlation Analysis for the Behavioral Sciences. ISBN 0805822232
  • Crown, William H. (1998). Statistical Models for the Social and Behavioral Sciences: Multiple Regression and Limited-Dependent Variable Models. ISBN 0275953165
  • Edwards, Allen Louis (1985). Multiple Regression and the Analysis of Variance and Covariance. ISBN 0716710811
  • Keith, Timothy (2006). Multiple Regression and Beyond. Boston: Pearson Education.
  • Fred N. Kerlinger, Elazar J. Pedhazur (1973). Multiple Regression in Behavioral Research. New York: Holt Rinehart Winston. ISBN 9780030862113
  • Stanton, Jeffrey M. (2001). "Galton, Pearson, and the Peas: A Brief History of Linear Regression for Statistics Instructors", Journal of Statistics Education, 9 (3).

Source of article : Wikipedia