Skip to content

Commit c376527

Browse files
depreceated formula general for partition functions
1 parent e7a97b2 commit c376527

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

diffxpy/testing/base.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3861,8 +3861,6 @@ def wilcoxon(
38613861

38623862
def lrt(
38633863
self,
3864-
reduced_formula: str = None,
3865-
full_formula: str = None,
38663864
reduced_formula_loc: str = None,
38673865
full_formula_loc: str = None,
38683866
reduced_formula_scale: str = None,
@@ -3877,10 +3875,6 @@ def lrt(
38773875
"""
38783876
See annotation of de.test.lrt()
38793877
3880-
:param reduced_formula: formula
3881-
Reduced model formula for location and scale parameter models.
3882-
:param full_formula: formula
3883-
Full model formula for location and scale parameter models.
38843878
:param reduced_formula_loc: formula
38853879
Reduced model formula for location and scale parameter models.
38863880
If not specified, `reduced_formula` will be used instead.
@@ -3929,8 +3923,6 @@ def lrt(
39293923
for i, idx in enumerate(self.partition_idx):
39303924
DETestsSingle.append(lrt(
39313925
data=self.X[idx, :],
3932-
reduced_formula=reduced_formula,
3933-
full_formula=full_formula,
39343926
reduced_formula_loc=reduced_formula_loc,
39353927
full_formula_loc=full_formula_loc,
39363928
reduced_formula_scale=reduced_formula_scale,
@@ -3954,7 +3946,6 @@ def wald(
39543946
self,
39553947
factor_loc_totest: str,
39563948
coef_to_test: object = None, # e.g. coef_to_test="B"
3957-
formula: str = None,
39583949
formula_loc: str = None,
39593950
formula_scale: str = None,
39603951
as_numeric: Union[List[str], Tuple[str], str] = (),
@@ -3968,8 +3959,6 @@ def wald(
39683959
This function performs a wald test within each partition of a data set.
39693960
See annotation of de.test.wald()
39703961
3971-
:param formula: formula
3972-
model formula for location and scale parameter models.
39733962
:param formula_loc: formula
39743963
model formula for location and scale parameter models.
39753964
If not specified, `formula` will be used instead.
@@ -4018,8 +4007,7 @@ def wald(
40184007
DETestsSingle.append(wald(
40194008
data=self.X[idx, :],
40204009
factor_loc_totest=factor_loc_totest,
4021-
coef_to_test=coef_to_test, # e.g. coef_to_test="B"
4022-
formula=formula,
4010+
coef_to_test=coef_to_test,
40234011
formula_loc=formula_loc,
40244012
formula_scale=formula_scale,
40254013
as_numeric=as_numeric,

0 commit comments

Comments
 (0)