Skip to content

Commit ee95873

Browse files
committed
readme txt to md
1 parent 5e2870a commit ee95873

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pyfixest/estimation/estimation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, Union, List
1+
from typing import List, Optional, Union
22

33
import pandas as pd
44

@@ -589,7 +589,7 @@ def _estimation_input_checks(
589589
use_compression: bool,
590590
reps: Optional[int],
591591
seed: Optional[int],
592-
separation_check: List[str]=None,
592+
separation_check: List[str] = None,
593593
):
594594
if not isinstance(fml, str):
595595
raise TypeError("fml must be a string")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
## Separation Data Sets
22

33
All files in this document stem from the [pplmhdfe test suite](https://github.com/sergiocorreia/ppmlhdfe/tree/master/test/separation_datasets),
4-
published under MIT license.
4+
published under MIT license.

tests/test_poisson.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,14 @@ def test_separation():
4848
):
4949
fepois("Y ~ X1 | X2", data=example2, vcov="hetero", separation_check=["ir"]) # noqa: F841
5050

51-
5251
data_01 = pd.read_csv("data/pplmhdfe_separations_examples/data_01.csv")
5352

5453
# pplmhdfe test data sets:
5554
with pytest.warns(
56-
UserWarning, match=f"{str(data_01.sum())} observations removed because of separation."
55+
UserWarning,
56+
match=f"{str(data_01.sum())} observations removed because of separation.",
5757
):
58-
59-
pf.fepois("y ~ x1 + x2 | id1 + id2", data = data_01, separation_check = ["ir"])
58+
pf.fepois("y ~ x1 + x2 | id1 + id2", data=data_01, separation_check=["ir"])
6059

6160

6261
@pytest.mark.parametrize("fml", ["Y ~ X1", "Y ~ X1 | f1"])

0 commit comments

Comments
 (0)