Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve patsy interface support #52

Open
jburos opened this issue Jan 16, 2017 · 2 comments
Open

Improve patsy interface support #52

jburos opened this issue Jan 16, 2017 · 2 comments

Comments

@jburos
Copy link
Member

jburos commented Jan 16, 2017

To better support joint modeling work, would be nice to integrate the outcome data specification (currently captured as event_col, time_col, etc) into the patsy formula.

Currently, formula takes a RHS-formula only, ie: formula = "~ X1 + X2".

The plan is to extend this to support: formula = "surv(time_col, event_col) ~ X1 + X2".

This is useful for joint models since we can then more naturally support a list of formulas, one per submodel of the joint model.

@jburos jburos self-assigned this Jan 16, 2017
@jburos
Copy link
Member Author

jburos commented Jan 16, 2017

An example/prototype for this syntax is available here

@jburos
Copy link
Member Author

jburos commented Feb 24, 2017

Work in progress on this is occurring in the feature/add-patsy-formulas branch

@jburos jburos modified the milestone: v0.1.3 release Mar 9, 2017
@jburos jburos removed their assignment Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant