@@ -102,8 +102,8 @@ def feols(
102102 >>> x1 = rng.normal(size=n)
103103 >>> y = 1.0 + 0.5 * x1 + 0.1 * firm + 0.2 * year + rng.normal(0, 0.5, n)
104104 >>> df = pd.DataFrame({"y": y, "x1": x1, "firm": firm, "year": year})
105- >>> res = sp.feols("y ~ x1 | firm + year", data=df, vcov={"CRV1": "firm"})
106- >>> "x1" in res.params.index
105+ >>> res = sp.feols("y ~ x1 | firm + year", data=df, vcov={"CRV1": "firm"}) # doctest: +SKIP
106+ >>> "x1" in res.params.index # doctest: +SKIP
107107 True
108108
109109 Multiple estimation (``csw0`` returns a list, one fit per FE set):
@@ -203,8 +203,8 @@ def fepois(
203203 >>> x1 = rng.normal(size=n)
204204 >>> mu = np.exp(0.3 + 0.5 * x1 + 0.1 * firm)
205205 >>> df = pd.DataFrame({"y": rng.poisson(mu), "x1": x1, "firm": firm})
206- >>> res = sp.fepois("y ~ x1 | firm", data=df)
207- >>> "x1" in res.params.index
206+ >>> res = sp.fepois("y ~ x1 | firm", data=df) # doctest: +SKIP
207+ >>> "x1" in res.params.index # doctest: +SKIP
208208 True
209209 """
210210 pf = _check_pyfixest ()
@@ -278,8 +278,8 @@ def feglm(
278278 >>> p = 1.0 / (1.0 + np.exp(-(0.2 + 0.8 * x1)))
279279 >>> y = (rng.random(n) < p).astype(int)
280280 >>> df = pd.DataFrame({"y": y, "x1": x1, "firm": firm})
281- >>> res = sp.feglm("y ~ x1 | firm", data=df, family="logit")
282- >>> "x1" in res.params.index
281+ >>> res = sp.feglm("y ~ x1 | firm", data=df, family="logit") # doctest: +SKIP
282+ >>> "x1" in res.params.index # doctest: +SKIP
283283 True
284284 """
285285 pf = _check_pyfixest ()
@@ -341,9 +341,9 @@ def etable(
341341 With ``sp.feols`` fits (requires the ``fixest`` extra), pyfixest's
342342 native styled table is returned instead:
343343
344- >>> f1 = sp.feols("wage ~ x1 | firm", data=df)
345- >>> f2 = sp.feols("wage ~ x1 + x2 | firm", data=df)
346- >>> tab = sp.etable(f1, f2)
344+ >>> f1 = sp.feols("wage ~ x1 | firm", data=df) # doctest: +SKIP
345+ >>> f2 = sp.feols("wage ~ x1 + x2 | firm", data=df) # doctest: +SKIP
346+ >>> tab = sp.etable(f1, f2) # doctest: +SKIP
347347 """
348348 pf_fits = [
349349 getattr (r , "_pyfixest_fit" ) for r in results
0 commit comments