Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
|
Re: leverage / cooks distance, glmfit
Posted:
Jul 8, 2013 2:16 PM
|
|
"Ingrid " <i.charvet@ucl.ac.uk> wrote in message news:kr58s8$hn6$1@newscl01ah.mathworks.com... > Hello, > > I have been using "glmfit" to perform binomial regression and I need to be > able to get some extra diagnostics out of this namely > > the leverage values, > and / or Cook's distance. > > I see such outputs are available when using GeneralizedLinearModel.fit, I > tried to apply this as a complement to glmfit but I get the following > error: > > mdl=GeneralizedLinearModel.fit(XX,[Y > nTotal],'Distribution',binomial,'Link',logit)
You're missing single quotes around binomial and logit.
-- Steve Lord slord@mathworks.com To contact Technical Support use the Contact Us link on http://www.mathworks.com
|
|
|
|