"Steven_Lord" <firstname.lastname@example.org> wrote in message <email@example.com>... > > > "Ingrid " <firstname.lastname@example.org> wrote in message > news:email@example.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 > firstname.lastname@example.org > To contact Technical Support use the Contact Us link on > http://www.mathworks.com
Thank you it is true I was missing the quotes! However I have now put them in and I still get the same error?