Guest User

Untitled

a guest
Jun 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. strata_id category
  2. treatment category
  3. status category
  4. dtype: object
  5.  
  6. import statsmodels.formula.api as smf
  7. model = smf.logit('status ~ 0 + strata_id + treatment', data=df)
Add Comment
Please, Sign In to add comment