Hi everyone,
Currently I'm using statsmodel version 0.13.2. When I add the offset specification to the model following the instruction in , there will be no error/warning.
However, the model will not take the offset variable into account at all. In other words, the following two specifications output the same result.
For data with columns [ 'y', 'x', 'offset' ] (assume the coefficient of offset is 1), we run:
log_reg = smf.logit("y ~ x", data=data).fit(disp=0)
log_reg = smf.logit("y ~ x", data=data, offset=data['offset']).fit(disp=0)
Besides, after checking the document of the current version of statsmodel, the logit model does not have the offset parameter at all.
So shall I use this parameter in a different way or is this is a bug or is this a new feature which hasn't been updated?
Best wishes,
Cedric