Skip to content

ENH: Treatment effect rebased - #8034

Merged
josef-pkt merged 21 commits into
statsmodels:mainfrom
josef-pkt:treatment_effect_rebased
Jun 22, 2022
Merged

josef-pkt merged 21 commits into
statsmodels:mainfrom
josef-pkt:treatment_effect_rebased

Conversation

@josef-pkt

Copy link
Copy Markdown
Member

rebased version of #2455 (2015)

rebased without merge conflicts, but I didn't look at it yet

@pep8speaks

pep8speaks commented Jan 24, 2022 •

Copy link
Copy Markdown

Hello @josef-pkt! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-06-22 01:17:48 UTC

@josef-pkt

Copy link
Copy Markdown
Member Author

examples are in statsmodels/examples/ex_treatment_effects.py
from before I started to use mainly notebooks for experiments

example file runs without problems and no assert fails

@josef-pkt

Copy link
Copy Markdown
Member Author

from what I remember:

  • needs reorganizing, clean up class structure
  • needs unit test against Stata code directly, original was based on their doc examples because my version of Stata was to old.

@lgtm-com

lgtm-com Bot commented Jan 24, 2022

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 7ba1d67 into b0b0e5f - view on LGTM.com

new alerts:

  • 1 for Module is imported more than once

@josef-pkt

Copy link
Copy Markdown
Member Author

I need to figure out which is which in my code and example

eg. matching Stata's teffects ipw with standard errors and confint

my version here does not include a moment condition for AT directly, parameters are the POMs

gmm2b = TEGMMGeneric1(endog, res_logit, mom_ols)
res_gmm2b = gmm2b.fit(start_params=start_params, optim_method='nm',
                      inv_weights=np.eye(8), maxiter=2)
r = np.concatenate(([[1, -1] + [0]*6], np.eye(2, 8)), axis=0)
r
array([[ 1., -1.,  0.,  0.,  0.,  0.,  0.,  0.],
       [ 1.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
       [ 0.,  1.,  0.,  0.,  0.,  0.,  0.,  0.]])
r
res_gmm2b.t_test(r)
<class 'statsmodels.stats.contrast.ContrastResults'>
                             Test for Constraints                             
==============================================================================
                 coef    std err          z      P>|z|      [0.025      0.975]
------------------------------------------------------------------------------
c0           230.6886     25.817      8.936      0.000     180.089     281.288
c1          3403.4627      9.571    355.586      0.000    3384.703    3422.222
c2          3172.7741     24.001    132.193      0.000    3125.733    3219.815
==============================================================================

. teffects ipw (bweight) (mbsmoke mmarried c.mage##c.mage fbaby medu, probit)

Iteration 0:   EE criterion =  4.622e-21  
Iteration 1:   EE criterion =  9.068e-26  

Treatment-effects estimation                    Number of obs     =      4,642
Estimator      : inverse-probability weights
Outcome model  : weighted mean
Treatment model: probit
----------------------------------------------------------------------------------------
                       |               Robust
               bweight |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
ATE                    |
               mbsmoke |
(smoker vs nonsmoker)  |  -230.6886   25.81524    -8.94   0.000    -281.2856   -180.0917
-----------------------+----------------------------------------------------------------
POmean                 |
               mbsmoke |
            nonsmoker  |   3403.463   9.571369   355.59   0.000     3384.703    3422.222
----------------------------------------------------------------------------------------

@josef-pkt

Copy link
Copy Markdown
Member Author

It looks like vce(robust) is HC0 in Stata teffects ra
teffects ra (bweight prenatal1 mmarried mage fbaby) (mbsmoke), pomeans aequations

I have hardcoded hc1, but if I reestimate with HC0, then I get a good match with Stata's bse
print(ra.result1.model.fit(cov_type="hc0").summary())

ra from the example file in this PR

mod_ra01 = sm.OLS.from_formula('bweight ~ prenatal1_ + mmarried_ + mage + fbaby_', dta_cat)
ra = RegAdjustment(mod_ra01, tind)

AFAIR, GMM defaults to HC0, but in "ra" we use 2 OLS models, and WLS in weighted IPW cases

@josef-pkt

Copy link
Copy Markdown
Member Author

Still bugs in RegAdjustment method

based on example file

ra.ipw_ra(prob)
(-230.36389012580457, 3403.7324514980937, 3173.368561372289)
res_ipwra
array([-229.96707794, 3403.33563931, 3173.36856137])

the second is the explicit computation in the example file and corresponds to Stata.
The ra.ipw_ra method does not replicate this.

The other methods match Stata, based on brief checking.

Aside:
stata allows to either compute the two POM or ATE plus POM0.
It does not allow including ATE and both POMs.
I guess this is to avoid perfect colinearity of GMM moment conditions.

@josef-pkt

josef-pkt commented Jan 28, 2022 •

Copy link
Copy Markdown
Member Author

plan for basic design:

  • generalize RegAdjustment class as main starting point
    takes binary Results instance and exog_outcome in arguments
  • keep existing methods but expand
    • current code for start_params
    • add a GMM class for each method, or one class with optional moment condition argument
    • return GMMResults and later subclass of GMMResults with additional treatment effects summary and methods (or possibly delegate to GMMResults instance)
  • need functions for the moment conditions, or GMM subclasses, initially with (ATE, POM0) version
  • ATT: I have not yet looked at how to compute those

target in first round, params_table for ATE, POM0 and POM1, with linear outcome model
generalizing to other outcome models will require score_obs, e.g. GLM Gaussian, Binomial/Logit, Poisson
(based on quick readings: Wooldridge says double robustness applies to LEF with canonical link)

res_mag_ra.t_test(constr)
<class 'statsmodels.stats.contrast.ContrastResults'>
                             Test for Constraints                             
==============================================================================
                 coef    std err          z      P>|z|      [0.025      0.975]
------------------------------------------------------------------------------
c0          -239.6395     23.824    -10.059      0.000    -286.334    -192.945
c1          3403.2423      9.525    357.288      0.000    3384.573    3421.911
c2          3163.6028     21.864    144.698      0.000    3120.751    3206.455
==============================================================================

example:
new GMM class to get bse for RA

add_pom0 = True
class RAAugGMM(GMM):
    
    
    def momcond(self, params):
        if add_pom0:
            ppom = params[1]
            mask = np.arange(len(params)) != 1
            params = params[mask]
        k = (len(params) - 1) // 2
        pm = params[0]
        p0 = params[1:k+1]
        p1 = params[-k:]
        mod0 = ra.result0.model
        mod1 = ra.result1.model
        exog = np.concatenate((mod0.exog, mod1.exog), axis=0)
        
        fitted0 = mod0.predict(p0, exog)
        mom0 = mom_olsex(p0, model=mod0)
        
        fitted1 = mod1.predict(p1, exog)
        mom1 = mom_olsex(p1, model=mod1)
        
        momout = block_diag(mom0, mom1)
        
        mm = fitted1 - fitted0 - pm
        if add_pom0:
            mpom = fitted0 - ppom
            mm = np.column_stack((mm, mpom))
            
        moms = np.column_stack((mm, momout))
        return moms

where mom_olsex is used because OLS, WLS don't have score_obs

def mom_olsex(params, model=None, exog=None, scale=None):
    exog = exog if exog is not None else model.exog
    fitted = model.predict(params, exog)
    resid = model.endog - fitted
    if scale is not None:
        resid /= scale
    mom = resid[:, None] * exog
    return mom

@josef-pkt

josef-pkt commented Jan 28, 2022 •

Copy link
Copy Markdown
Member Author

I'm not sure what references I used for the different methods in RegAdjustment class.
The computation don't look like anything in the Stata manual for teffects.

The computation look more like formulas from the original articles or from survey articles.
e.g. Lunceford Davidian is often cited by articles for Stata user programs
(my local copy has creation date June ‎7, ‎2015)

Lunceford, J. K., and M. Davidian. 2004. Stratification and weighting via the propensity
score in estimation of causal treatment effects: a comparative study. Statistics in
Medicine 23: 2937–2960.

update
I found some of my old notes again. My implementation did not follow a single article, it's a mix of similar presentations in several articles.
My AIPW computation uses just rearranged terms, there are different versions (rearrangements of terms) in the literature.

update2
Tan 2007 (comment to Kang and Shafer) in section 2 has AIPW POM estimator in the same form as I coded, It's a good article that with theoretical comparison of estimators (I had read it for my implementation)

Tan, Zhiqiang. 2007. “Comment: Understanding OR, PS and DR.” Statistical Science 22 (4): 560–68. https://doi.org/10.1214/07-STS227A.

@josef-pkt

Copy link
Copy Markdown
Member Author

Note, GLM score_factor and consequently score_obs include iweights (freq_weights * var_weights)

For GMM outcome moment conditions I need numerical derivative of GLM.score_obs w.r.t weights, i.e. I cannot include fixed weights.

If I want to delegate to and reuse models, then I will need several models, i.e. it will not be low memory,
The advantage will be that we can easily switch families. in outcome model.
Similarly GLM Binomial treatment model will be more flexible than just using discrete Logit, Probit.

@josef-pkt

Copy link
Copy Markdown
Member Author

another decision: rearranged observations (by group) or original order of observations

The regression methods use the outcome model split by treatment group.
In the RA model we can stack outcome models and target statistics by groups.
In double robust models we need to use also the selection/treatment model. So far I have it in the original order, but then score_obs/moment conditions are not ordered in the same way as the stacked my group moment conditions.

AFAICS, in the current RegAdjustment methods, the inconsistent ordering is irrelevant because we only use averages over observations when combining different terms, e.g. predicted mean for the exog in original order.
subset (grouped) regression uses the appropriate subset of the treatment prediction `prob[~treat_mask].

However for cov_params/bse with GMM, we need consistent moment conditions.


I have not looked at what Stata has in predict

We need at least to predict POMs conditional on treatment level (and other exog), i.e. predict of outcome models (with two sets of params if treated or not, and corresponding cov_params).


another possibility:
instead of using two outcome submodels by group, we could stack them into one large outcome model, with block/kronecker exog.
disadvantage: we will have common parameters, e.g. scale/sigma_residual, but for residual variance, heteroscedasticity we use HC cov_type anyway.
advantage: we could impose common parameters or hyper parameters, e.g. penalization, or extra distribution parameters.

Related: if we use different models by groups, then we need separate exog e.g. we use different number of knots in splie basis functions.
This might be useful if sample sizes have a large difference between treated group and untreated group.

@josef-pkt

josef-pkt commented Jan 31, 2022 •

Copy link
Copy Markdown
Member Author

optimization problems
GMM fit method nm works but needs large number of iterations (maxiter exceeded if start_params in not good. bfgs does not converge
IPWRA GMM, using unweighted OLS params as start_params for outcome model is not close enough for "nm" to converge in 1000 iter. WLS start_params work.
reproduces Stata but not high precision, still 3 to 4 digits.

update:
bfgs works after clipping prob used as inverse weight

prob_sel = np.asarray(res_logit.model.predict(ps))
prob_sel = np.clip(prob_sel, 0.001, 0.999)

my current result versus Stata for IPWRA:

p 0         -229.9656     26.692     -8.616      0.000    -282.280    -177.651
p 1         3403.3356      9.578    355.342      0.000    3384.564    3422.107
ATE                 
(smoker vs nonsmoker)  |  -229.9671   26.62668    -8.64   0.000    -282.1544   -177.7798
-----------------------+----------------------------------------------------------------
POmean        
            nonsmoker  |   3403.336    9.57126   355.58   0.000     3384.576    3422.095

@lgtm-com

lgtm-com Bot commented Feb 1, 2022

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 2e6c2fa into 2891644 - view on LGTM.com

new alerts:

  • 1 for Module is imported more than once

@josef-pkt
josef-pkt force-pushed the treatment_effect_rebased branch from 2e6c2fa to 59c4c67 Compare February 4, 2022 17:20
@lgtm-com

lgtm-com Bot commented Feb 4, 2022

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 59c4c67 into 053dcc1 - view on LGTM.com

new alerts:

  • 1 for Module is imported more than once

@josef-pkt

Copy link
Copy Markdown
Member Author

style check only fails in statsmodels/examples/ex_treatment_effects.py which will be deleted before merge
unit tests pass

ipw is missing as a method in TreatmentEffect.

@lgtm-com

lgtm-com Bot commented Feb 5, 2022

Copy link
Copy Markdown

This pull request introduces 1 alert when merging 48727ad into 053dcc1 - view on LGTM.com

new alerts:

  • 1 for Module is imported more than once

@josef-pkt

Copy link
Copy Markdown
Member Author

The core computation should be finished now
5 methods with inference based on GMM, with results replicating Stata, but some results do not agree at very good precision

no cleanup or refactoring yet, separate GMM class for each method (as I wrote the prototype version)

@josef-pkt

Copy link
Copy Markdown
Member Author

still no ATT

a bit surprising:
when I add atet option in Stata, then POM0 also changes.
POM might do the same adjustment as atet, i.e. POMT0 potential outcome of the treated ???

. teffects ipw (bweight) (mbsmoke mmarried c.mage##c.mage fbaby medu, probit), atet aequations

Iteration 0:   EE criterion =  4.637e-21  
Iteration 1:   EE criterion =  8.791e-27  

Treatment-effects estimation                    Number of obs     =      4,642
Estimator      : inverse-probability weights
Outcome model  : weighted mean
Treatment model: probit
----------------------------------------------------------------------------------------
                       |               Robust
               bweight |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------------+----------------------------------------------------------------
ATET                   |
               mbsmoke |
(smoker vs nonsmoker)  |  -225.1773   23.66458    -9.52   0.000     -271.559   -178.7955
-----------------------+----------------------------------------------------------------
POmean                 |
               mbsmoke |
            nonsmoker  |   3362.837   14.20149   236.79   0.000     3335.003    3390.671
-----------------------+----------------------------------------------------------------
TME1                   |
              mmarried |  -.6484821   .0554173   -11.70   0.000     -.757098   -.5398663
                  mage |   .1744327   .0363718     4.80   0.000     .1031452    .2457202
                       |
         c.mage#c.mage |  -.0032559   .0006678    -4.88   0.000    -.0045647   -.0019471
                       |
                 fbaby |  -.2175962   .0495604    -4.39   0.000    -.3147328   -.1204595
                  medu |  -.0863631   .0100148    -8.62   0.000    -.1059917   -.0667345
                 _cons |  -1.558255   .4639691    -3.36   0.001    -2.467618   -.6488926
----------------------------------------------------------------------------------------

. teffects ipw (bweight) (mbsmoke mmarried c.mage##c.mage fbaby medu, probit), pomeans aequations

Iteration 0:   EE criterion =  4.622e-21  
Iteration 1:   EE criterion =  6.333e-26  

Treatment-effects estimation                    Number of obs     =      4,642
Estimator      : inverse-probability weights
Outcome model  : weighted mean
Treatment model: probit
-------------------------------------------------------------------------------
              |               Robust
      bweight |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
--------------+----------------------------------------------------------------
POmeans       |
      mbsmoke |
   nonsmoker  |   3403.463   9.571369   355.59   0.000     3384.703    3422.222
      smoker  |   3172.774   23.99981   132.20   0.000     3125.735    3219.813
--------------+----------------------------------------------------------------
TME1          |
     mmarried |  -.6484821   .0554173   -11.70   0.000     -.757098   -.5398663
         mage |   .1744327   .0363718     4.80   0.000     .1031452    .2457202
              |
c.mage#c.mage |  -.0032559   .0006678    -4.88   0.000    -.0045647   -.0019471
              |
        fbaby |  -.2175962   .0495604    -4.39   0.000    -.3147328   -.1204595
         medu |  -.0863631   .0100148    -8.62   0.000    -.1059917   -.0667345
        _cons |  -1.558255   .4639691    -3.36   0.001    -2.467618   -.6488926
-------------------------------------------------------------------------------

@josef-pkt

Copy link
Copy Markdown
Member Author

I think I will return just a simple results/Holder instance instead of GMMresults, and attach the gmm results instance as attribute.

basic summary table/dataframe should be just ATT, POM0 and POM1 with inference, basically return from t_test

GMMResults does not have mle_retvals and related.
I need to have access to start_params used in GMM, it should be the same as the gmm results params.
GMM is only used for inference, optimization is still too fragile in the examples.

We need some overlap diagnostic, but that is based only on the selection/treatment model for propensity score.
What about measures for overlap in outcome exog?

@josef-pkt

Copy link
Copy Markdown
Member Author

ATT:
Stata

AIPW, including wnls version, does not have atet (raises option atet not allowed)

ipwra requires changing weights in outcome regression, and not just moments for effects, target statistics. (ATT, POMT)

ra: ATT, POMT is just computing averages for subsample, i.e. treated group

ipw: ATT, POMT effects are computed as sample averages using probability being in subgroup, i.e. probability of being treated for ATT.

Looks like we need to do the same computation as for ATE, POM0, but with adjusted weights. It doesn't look like we can reuse moment conditions nor just add the ATT, POMT versions to the existing moments.
Need option for methods in TreatmentEffect class and adjustments in the GMM classes.

In an article by Wooldridge, he allows for separate group membership probabilities, where group membership is not necessarily related to treatment status.
If it's not related to treatment, then we would need moment conditions for the group membership model, unless it's takes as fixed and exogenous.

Here we have only 3 cases, ATE, ATT and effect on nontreated ATNT (?). Stata doesn't have an atent version. (ATUT untreated ?)
With 3 cases, a boolean option will not work.
I have not checked how Stata handles categorical treatment, more than two levels.
option: effect_group="all" with alternative 1 or treated, and possibly 0 or untreated.

stratification:
e.g. splitting on an exogenous binary variable, like gender, would not have a group selection probability.
(unless we are in survey sampling ?)

let user do this: i.e. run two TreatmentEffect estimates groupby gender.
(joint inference in that case? not available for now)

@josef-pkt

Copy link
Copy Markdown
Member Author

API: prob keyword, e.g
def ipw_ra(self, prob=None, return_results=True):

providing a prob only makes sense if we don't use inference, i.e. return_results=False.
GMM needs the momcond for the selection model, which requires using the prob from it.

The only usecase I can think of would be a very limited bootstrap with parametric bootstrap for the selection model, with unchanged outcome and outcome model. (plain IPW is the only one that does not have an outcome model/exog)
or maybe some sensitivity analysis of ATE with respect to changes in prob, not looking at inference.

We could compute numdiff of ATE w.r.t prob.
That might be useful if we want influence function. But we might need also contribution to ATE of individual observations, i.e. ate_obs. (*)

we still have a backdoor to change prob because the preliminary computation of ATE and POMs use an attribute self.prob_select

-> remove prob keyword

(*) brief google search does not find much on outlier influence for treatment effect
(getting to outlier influence diagnostic for this will not be a quick work. We get some from the individual models, i.e. selection and outcome models, and eventually we might have something for GMM)

Canavire-Bacarreza, Gustavo, Luis Castro Peñarrieta, and Darwin Ugarte Ontiveros. 2021. “Outliers in Semi-Parametric Estimation of Treatment Effects.” Econometrics 9 (2): 19. https://doi.org/10.3390/econometrics9020019.

Harada, Kazuharu, and Hironori Fujisawa. 2021. “Outlier-Resistant Estimators for Average Treatment Effect in Causal Inference.” ArXiv:2106.13946 [Stat], June. http://arxiv.org/abs/2106.13946.

@josef-pkt

Copy link
Copy Markdown
Member Author

I'm returning now a subclass or ContrastResults

example from unit test case

teff = TreatmentEffect(mod, tind, results_select=res_probit)
​
for m, _ in methods:
    res = getattr(teff, m)()
    print("\n", m)
    print(res.summary_frame())

 ra
             coef    std err           z         P>|z|  Conf. Int. Low  Conf. Int. Upp.
ATE   -239.639211  23.824021  -10.058722  8.408247e-24     -286.333435      -192.944988
POM0  3403.242272   9.525207  357.288006  0.000000e+00     3384.573209      3421.911335
POM1  3163.603060  21.863509  144.697867  0.000000e+00     3120.751371      3206.454750

 ipw
             coef    std err           z         P>|z|  Conf. Int. Low  Conf. Int. Upp.
ATE   -230.688638  25.816745   -8.935621  4.048989e-19     -281.288528      -180.088748
POM0  3403.462709   9.571412  355.586256  0.000000e+00     3384.703085      3422.222332
POM1  3172.774071  24.001048  132.193145  0.000000e+00     3125.732880      3219.815261

 aipw
             coef    std err           z         P>|z|  Conf. Int. Low  Conf. Int. Upp.
ATE   -230.989648  26.214445   -8.811541  1.234375e-18     -282.369017      -179.610280
POM0  3403.355674   9.568514  355.682783  0.000000e+00     3384.601731      3422.109616
POM1  3172.366025  24.427402  129.869153  0.000000e+00     3124.489197      3220.242854

 aipw_wls
             coef    std err           z         P>|z|  Conf. Int. Low  Conf. Int. Upp.
ATE   -227.195618  27.372036   -8.300282  1.038645e-16     -280.843822      -173.547414
POM0  3403.250651   9.596571  354.631943  0.000000e+00     3384.441717      3422.059585
POM1  3176.055033  25.654642  123.800406  0.000000e+00     3125.772859      3226.337206

 ipw_ra
             coef    std err           z         P>|z|  Conf. Int. Low  Conf. Int. Upp.
ATE   -229.967078  26.629411   -8.635830  5.830196e-18     -282.159765      -177.774391
POM0  3403.335639   9.571288  355.577620  0.000000e+00     3384.576260      3422.095018
POM1  3173.368561  24.871955  127.588224  0.000000e+00     3124.620425      3222.116697

@josef-pkt

Copy link
Copy Markdown
Member Author

based on coverage report:

  • mom_ols, mom_ate and mom_atm not used, they are for different effect combinations for IPW.
  • TEGMM not used
  • method momcond_aipw in TEGMMGeneric1 is not used (delete it)
    method is incomplete, not separate effect moments, or assumes that outcome momcond include effect momcond as in IPW
  • TEGMMGeneric1 and it's momcond is only used for IPW

used for outcome model: mom_ols_te (in IPW), mom_olsex (all others, not for ipw)

function ate_ipw is used as preliminary estimator in TreatmentEffects.ipw

mom_ols_te is used for IPW
However, in GMM subclasses it is an unused dummy argument -> should be deleted there
GMM subclasses _XXXGMM are hardcoding all momcond for outcome and effect,
only score_obs of selection model is directly used

other:
I still have In gmm momcond

add_pom0 = True
        if add_pom0:

that can be removed now

effects are now always (ATE, POM0) POM1 = ATE + POM0 is a linear combination of them
I don't run separate GMM for (POM0, POM1) effect anymore, like Stata seems to do.

@josef-pkt

Copy link
Copy Markdown
Member Author

I'm adding ATT

  • separate moment conditions are messier to change
    • ipw uses _mom_ols_te with _TEGMMGeneric1: to get group selection probability into the momcond, I would have to add and transmit extra keywords through _TEGMMGeneric1 to _mom_ols_te
    • changing the momcond in subclasses like _RAGMM is simpler
  • having observations in both original order and groupby order is messy. It took me a while to debug when I had used a wrongly ordered array

-> I will add new subclass also for ipw _IPWGMM, and
keep _TEGMMGeneric1 as prototype for GLMGMM or other GMM that merge moment conditions

@josef-pkt
josef-pkt force-pushed the treatment_effect_rebased branch from 8defbb2 to 70b8aa0 Compare June 21, 2022 19:08
@josef-pkt

Copy link
Copy Markdown
Member Author

rebased to get new PR checks

My pytest is broken since the rebase :(
` ``
raise _OptionError("invalid module name: %r" % (module,)) from None
warnings._OptionError: invalid module name: 'statsmodels.tools.sm_exceptions'


see if the PR checks work

@josef-pkt

josef-pkt commented Jun 21, 2022 •

Copy link
Copy Markdown
Member Author

very annoying: checking out an old PR and rebasing deletes the _version file and things are even more broken

update
pytest failure was because of missing _version.py file

I still don't like pip, it's annoying, using setup.py directly was much much easier and faster
:(

@josef-pkt
josef-pkt force-pushed the treatment_effect_rebased branch from 70b8aa0 to 0535620 Compare June 21, 2022 21:21
@josef-pkt

Copy link
Copy Markdown
Member Author

not added to any api.py yet

merging, docstring need rendering checks

@josef-pkt
josef-pkt merged commit 25473b2 into statsmodels:main Jun 22, 2022
@josef-pkt
josef-pkt deleted the treatment_effect_rebased branch October 19, 2022 19:10
@josef-pkt josef-pkt added this to the 0.14 milestone Feb 3, 2023
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.

2 participants