Skip to content

Tobit skipper rebase temp - #2139

Draft
josef-pkt wants to merge 22 commits into
statsmodels:mainfrom
josef-pkt:tobit_skipper_rebase_temp
Draft

josef-pkt wants to merge 22 commits into
statsmodels:mainfrom
josef-pkt:tobit_skipper_rebase_temp

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

Skippers branch, formerly PR #447

interactive rebase that removed two commits with the test results files.
From what I can see is that the large files are not included in any commit here

@josef-pkt

Copy link
Copy Markdown
Member Author

@jseabold You could look at this. I only did the interactive rebase of your branch, minus 2 commits and fixing a few merge conflicts.

Fair dataset is already in master.
Do we need the reparameterization decorators in here?

We would have to adjust the Stata ado file and regenerate the test data.
I haven't compared with how much overlap there is with the new heckman PR #1935

Alternative would be to copy the relevant code into a new branch and give up on the history of the tobit branch, which would avoid the scikits namespace in this PR and the redundant changes to Fair and unused (?) decorators.

@josef-pkt

Copy link
Copy Markdown
Member Author

I just realised that I didn't rebase to current master. github says no automatic merge.
Trying again.

@josef-pkt
josef-pkt force-pushed the tobit_skipper_rebase_temp branch from 91ee486 to fb79e09 Compare December 17, 2014 03:59
@josef-pkt

Copy link
Copy Markdown
Member Author

another rebase and force push, datasets, Fair changes are completely gone.

I assume TravisCI will fail because of missing test results files

@josef-pkt josef-pkt mentioned this pull request Jan 11, 2015
@josef-pkt josef-pkt added this to the 0.8 milestone Jan 11, 2015
@josef-pkt josef-pkt mentioned this pull request Jul 4, 2015
2 of 15 tasks

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is already in statsmodels, was added in another PR

@josef-pkt

Copy link
Copy Markdown
Member Author

another problem that needs rebase: two files are still in the scikits namespace

also import still need to be adjusted, e.g. in the test module
from scikits.statsmodels.regression.censored_model import Tobit

@josef-pkt

Copy link
Copy Markdown
Member Author

about the unit tests: AFAICS the predicted values are not used yet in the unit tests.
So, the tests should run without failures if we rerun the Stata do files dropping the predicted values from the python test results module.

predicted values are around 6400 values (lines) each, and can go in a csv file if we need all of them and we don't just unit test selected values.

Comment thread tools/mat2nparray.ado
file write `myfile' "class Bunch(dict):" _n
file write `myfile' " def __init__(self, **kw):" _n
file write `myfile' " dict.__init__(self, kw)" _n
file write `myfile' " self.__dict__ = self" _n _n _n

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space before “=“, also exists elsewhere.

@jseabold
jseabold marked this pull request as draft April 2, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants