Repository navigation
Open
Labels
Description
(It's the first time I go over the R glm documentation, and understand enough.)
We are close to having essentially all the features that are in R glm. A few things are missing:
several extra functions in R have methods that work with glm results objects.
- anova: anova (3 versions stats, car and MASS) work also for glm and either do Wald or LR tests. stats anova also has
raoscore test.
status: type 3 wald is available, compare_xxx is not, score_test is not advertised and still experimental
my loglinear notebook has examples but no helper functions, - diagnostics: lmtest has several tests that work with glm objects. I didn't see any specialized tests yet, like Hosmer-Lemeshow gof
http://stat.ethz.ch/R-manual/R-patched/library/stats/html/influence.measures.html also handles glm
status: we have residuals and all/most basics but no unit tested diagnostic functions (some might work already, I haven't checked). We are not yet holding on to the last irls-WLS results for diagnostics - quasi: dispersion and "foreign" variance functions
status: we have sandwiches and some things work or may work by "misusing" current implementation, but no official API nor unit tests
see SUMM/ENH: dispersion modelling in GLM, exponential family #2889 for general dispersion modelling e.g. double exponential - more families, links: we have what's in R stats, some difficult ones in packages like Tweedie are missing. we have cloglog but not loglog (which R misnames cloglog)
- weights: R glm has variance weights, but I didn't see frequency or case weights
- effects/margins: I haven't checked yet what R has available. our margins follow Stata
- ... ?
Todo: add links to open issues
- tool/utility functions:
- I'm missing some helper functions for looking at dispersion, e.g. calculate negativebinomial coefficient from poisson or negbin residuals.
- parameter conversion functions, e.g. to scipy distributions (for simulation)
Activity
josef-pkt commentedon Jan 11, 2016
about weights in R glm
variance weights: http://stats.stackexchange.com/questions/121694/weight-input-in-glm-and-lm-functions-in-r
not clear, frequency or survey weights or exposure weights
http://stats.stackexchange.com/questions/121763/r-large-glm-with-sample-weights
It looks like there is svyglm in R for survey weights
http://stats.stackexchange.com/questions/57107/use-of-weights-in-svyglm-vs-glm
some general issue about usages for weights
http://www.r-bloggers.com/linear-models-with-weighted-observations/