
That include a penalty for complexity (specifically, the number of parameters).ĭifferent information criteria are distinguished by the form of the penalty. These criteria are likelihood-based measures of model fit Information criteria are model selection tools that you can use to compare multiple AICc = AIC + (2*m*(m + 1))/(n – m – 1),ĬAIC - Consistent Akaike information criterion. Loglikelihood and m is the number of estimatedĪICc - Akaike information criterion corrected for For example, obtain the delete-1 variance vector in the model To obtain any of these columns as an array, index into the property using dot S2_i, and CovRatio columns and zeros in the ObservationInfo.Excluded) contain NaN values ObservationInfo.Missing) or excluded values (in Rows not used in the fit because of missing values (in For more details, see Hat Matrix and Leverage, Cook’s Distance, and Delete-1 Statistics. Result from excluding each observation in turn from the fit. Delete-1 diagnostics capture the changes that Projection matrix to compute fitted from observedįitted is the vector of fitted response values.ĭiagnostics contains information that is helpful in finding Values greater than 3/sqrt(N) inĪbsolute value indicate that the observation has a significant influence Valuesĭelete-1 scaled differences in coefficient estimatesĬhange in the coefficient estimates that results from excluding each
Matlab regress function full#
The determinant of the covariance matrix for the full model.

These estimates can beĬompared with the mean squared error (MSE) value, stored in theĭelete-1 ratio of determinant of covarianceĬovRatio is the ratio of the determinant of theĬoefficient covariance matrix, with each observation deleted in turn, to Obtained by deleting each observation in turn. S2_i is a set of residual variance estimates Values greater than 2*sqrt(P/N) in absolute Greater than three times the mean Cook's distance can be an outlier.ĭelete-1 scaled differences in fitted valuesĭffits is the scaled change in the fitted valuesįor each observation that results from excluding that observation from Observations, the average value of Leverage isĬooksDistance is a measure of scaled change inįitted values. A value close to 0 indicates that theįit is largely determined by the other observations. A valueĬlose to 1 indicates that the fit is largelyĭetermined by that observation, with little contribution from the other Leverage for each observation indicates to whatĮxtent the fit is determined by the observed predictor values. Fit Linear Model Using Stepwise Regression.

Linear Regression with Categorical Predictor.Fit Linear Regression Using Data in Matrix.Visualize Linear Model and Summary Statistics.Statistics and Machine Learning Toolbox.
