(cls)
| 147 | class TestGradLogit(CheckGradLoglikeMixin): |
| 148 | @classmethod |
| 149 | def setup_class(cls): |
| 150 | data = sm.datasets.spector.load() |
| 151 | data.exog = sm.add_constant(data.exog, prepend=False) |
| 152 | #mod = sm.Probit(data.endog, data.exog) |
| 153 | cls.mod = sm.Logit(data.endog, data.exog) |
| 154 | #res = mod.fit(method="newton") |
| 155 | cls.params = [np.array([1,0.25,1.4,-7])] |
| 156 | ##loglike = mod.loglike |
| 157 | ##score = mod.score |
| 158 | ##hess = mod.hessian |
| 159 | |
| 160 | |
| 161 | class CheckDerivativeMixin: |
no test coverage detected