"Steven_Lord" <email@example.com> wrote in message <firstname.lastname@example.org>... > > > "Ingrid " <email@example.com> wrote in message > news:firstname.lastname@example.org... > > 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 > email@example.com > 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?