For methods such as plotResiduals or devianceTest, or properties of the GeneralizedLinearModel object, see GeneralizedLinearModel. After training a model, you can generate C/C++ code that predicts responses for new data. Generating C/C++ code requires MATLAB Coder™. For details, see Introduction...
mdl = Generalized linear regression model: log(y) ~ 1 + x5 + x10 + x15 Distribution = Poisson Estimated Coefficients: Estimate SE tStat pValue ___ ___ ___ ___ (Intercept) 1.0115 0.064275 15.737 8.4217e-56 x5 0.39508 0.066665 5.9263 3.0977e-09 x10 0.18863 0.05534 3.4085 0.0006532 x15...
This MATLAB function creates a generalized linear regression model for the variables in the table tbl using stepwise regression to add or remove predictors, starting from a constant model.
For methods such asplotResidualsordevianceTest, or properties of theGeneralizedLinearModelobject, seeGeneralizedLinearModel. After training a model, you can generate C/C++ code that predicts responses for new data. Generating C/C++ code requiresMATLAB Coder™. For details, seeIntroduction to Code ...
A regression object is, mathematically, a function that estimates the relationship between the response and predictors. The feval function enables an object to behave like a function in MATLAB®. You can pass feval to another function that accepts a function input, such as fminsearch and integra...
Create three plots of a fitted generalized linear regression model: a histogram of raw residuals, a normal probability plot of raw residuals, a normal probability plot of Anscombe type residuals. Generate sample data using Poisson random numbers with two underlying predictors X(:,1) and X(:,2)...
This MATLAB function computes the p-value for an F test that all coefficient estimates in mdl, except the intercept term, are zero.
Train a regression GAM that contains both linear and interaction terms. Specify to train the interaction terms for a small number of iterations. After training the interaction terms for more iterations, compare the resubstitution loss. Load the carbig data set, which contains measurements of cars ...
This MATLAB function returns a generalized additive model Mdl trained using the sample data contained in the table Tbl.
Local likelihood regression in generalized linear single-index models with applications to microarray data - Lambert-Lacroix, Peyre - 2006 () Citation Context ...h is available as a ready to go Matlab tool box [10] that has already been tested and verified. Other work related to the analysis...