AIC(sum.coef7) Erreur dans UseMethod("logLik") : pas de méthode applicable pour "logLik"
I tried but no usemethod("loglik")-> svyglm doesn't use Likelihood. 2010/8/3 Brad Fulton <brad.ful...@duke.edu> > Hi Rwanuza > > > > Here is the code I used to calculate the BIC score from the AIC score > > > > Model.1=svyglm(aidsprgm~numadlts_log+numvols_log+ftstaff_log > > +clergrad+leadpct+age_log > > +south+rural+suburban > > +black > > ,family=quasibinomial,data=NCSx) > > summary(Model.1) > > AIC(Model.1, k = log(nrow(NCSx))) #This generates a BIC score > > > > I hope this helps. > > > > Brad > > > > -----Original Message----- > From: rwan...@gmail.com [mailto:rwan...@gmail.com] > Sent: Wednesday, July 28, 2010 5:55 PM > To: brad.ful...@duke.edu > Subject: model fit > > > > Hi Brad, > > could you help with the calculation of the AIC,BIC score when using svyglm > for logistic regressions? I tried to follow the explanation given on the > forum unfortunately i'm getting nowhere! > > Regards, > > Rwanuza. > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.