Building a handrail for your deck may seem like a simple task. In many cases it is -- until the time arrives to figure out how to get the balusters or spindles evenly spaced along the handrail. Evenly spaced spindles improve the symmetry of the rails and lend a professional look to the project. But finding the right measuring formula may give the average home handyman pause.
R-squared is a statistical measurement that determines the proportion of a security's return, or the return on a specific portfolio of securities, that can be explained by variations in the stock market, as measured by a benchmark index.
Display Coefficient of Determination. This example shows how to display R-squared (coefficient of determination) and adjusted R-squared. Load the sample data and define the response and independent variables. Fit a linear regression model. The R-squared and adjusted R-squared values are 0.508 and 0.487, respectively. Model explains about 50% of the variability in the response variable. Access the R-squared and adjusted R-squared values using the property of the fitted LinearModel object.