> I have now finished the Python/statsmodels implementation of all the code
> that is provided in R or Stata in the book
>
> Dobson AJ & Barnett AG: "An Introduction to Generalized Linear Models"
> 3rd ed
> CRC Press(2008)
>
> You can find the results on
>
https://github.com/thomas-haslwanter/dobson
>
> As far as I can tell, there are three points where the statsmodels results
> are inconsistent with the results provided in the book.
> An additional three problems can not be solved with the current functions in
> statsmodels. Solutions seem to be in progress/planned for the missing
> functions.
> One point in the book is unclear to me, so I was not sure what should be
> implemented there.
> Also missing are systematic tests, which should be added before this code
> goes into a book.
>
> As for asking Annette Dobson if she would be willing to include the
> Python/statsmodels code into the next version of her book, I think the three
> "Errors" below should first be fixed, or the differences at least logically
> justified (if they represent different assumptions for the underlying
> functions.)
>
> - [Error 1] cloglog values in "logistic_regression" are wrong
my guess is that loglog is missing (and cloglog is right)
>
> - [Unclear] in "senility_and_WAIS" I don't understand what the "grouped
> response"
> is supposed to mean
I don't have the book, so I don't know what this is.
>
> - [Error 2] the signs of the paramters in "nominal_logistic_regression" are
> incorrect
not incorrect, they don't match because of different reference category
needs work around until we have an option to choose the reference category
>
> - [Missing 1] "ordinal_logistic_regression" is not yet implemented in
> statsmodels
needs volunteers
>
> - [Error 3] the standard errors in "poisson_regression" are wrong
see thread, need to use exposure as Skipper showed
>
> - [Missing 2] Cox proportional hazards are not yet implemented in
> statsmodels
Is in a branch in a refactoring queue
>
> - [Missing 3] Repeated measures models are not yet implemented in
> statsmodels
big gap that hopefully will be closed within half a year (at least for
the basic models)
Thanks again
Josef
>
>