Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

how to generate predicted value from the output of Generalize​dLinearMod​el.stepwis​e

1 Ansicht (letzte 30 Tage)
Calvin Cheung
Calvin Cheung am 30 Jan. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi there,
I am trying to use GeneralizedLinearModel.stepwise to predict some observation dataset (time series).
let's say, X is the matrix of my predictors, Y is the observation data
mdl = GeneralizedLinearModel.stepwise(X,Y,'constant','upper','linear','Distribution','poisson')
The model file, mdl, consist of some datasets and matrix (e.g. Residuals, Coefficients etc.), and I am wondering how to reconstruct the time series?
In the past I use glmfit, that provide an array (b), where I can produce the predicted value from the function glmval. (But I don't know how to produce the same under GeneralizedLinearModel.stepwise)
Thank you!!
Regards,
Calvin

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by