Skip to content

Commit

Permalink
Docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlondschien committed Jul 18, 2024
1 parent b1333b5 commit fc74ba5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ivmodels/tests/anderson_rubin.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def anderson_rubin_test(
Regressors.
y: np.ndarray of dimension (n,)
Outcomes.
beta: np.ndarray of dimension (mx,)
beta: np.ndarray of dimension (mx + md,)
Coefficients to test.
W: np.ndarray of dimension (n, mw) or None, optional, default = None
Endogenous regressors not of interest.
Expand Down
4 changes: 2 additions & 2 deletions ivmodels/tests/conditional_likelihood_ratio.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ def conditional_likelihood_ratio_test(
----------
Z: np.ndarray of dimension (n, k)
Instruments.
X: np.ndarray of dimension (n, mx + md)
X: np.ndarray of dimension (n, mx)
Regressors.
y: np.ndarray of dimension (n,)
Outcomes.
beta: np.ndarray of dimension (mx,)
beta: np.ndarray of dimension (mx + md,)
Coefficients to test.
W: np.ndarray of dimension (n, mw) or None, optional, default = None
Endogenous regressors not of interest.
Expand Down
2 changes: 1 addition & 1 deletion ivmodels/tests/likelihood_ratio.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def likelihood_ratio_test(Z, X, y, beta, W=None, C=None, D=None, fit_intercept=T
Regressors.
y: np.ndarray of dimension (n,)
Outcomes.
beta: np.ndarray of dimension (mx,)
beta: np.ndarray of dimension (mx + md,)
Coefficients to test.
W: np.ndarray of dimension (n, mw) or None, optional, default=None
Endogenous regressors not of interest.
Expand Down
2 changes: 1 addition & 1 deletion ivmodels/tests/pulse.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def pulse_test(Z, X, y, beta, C=None, W=None, D=None, fit_intercept=True):
Regressors.
y: np.ndarray of dimension (n,)
Outcomes.
beta: np.ndarray of dimension (mx,)
beta: np.ndarray of dimension (mx + md,)
Coefficients to test.
C: np.ndarray of dimension (n, mc) or None, optional, default=None
Exogenous regressors not of interest.
Expand Down
2 changes: 1 addition & 1 deletion ivmodels/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _check_test_inputs(Z, X, y, W=None, C=None, D=None, beta=None):
Exogenous regressors not of interest.
D: np.ndarray of dimension (n, md), optional, default=None
Exogenous regressors of interest.
beta: np.ndarray of dimension (mx,), optional, default=None
beta: np.ndarray of dimension (mx + md,), optional, default=None
Coefficients.
Returns
Expand Down
2 changes: 1 addition & 1 deletion ivmodels/tests/wald.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def wald_test(
Exogenous regressors not of interest.
D: np.ndarray of dimension (n, md) or None
Exogenous regressors of interest.
beta: np.ndarray of dimension (mx,)
beta: np.ndarray of dimension (mx + md,)
Coefficients to test.
estimator: str or float, optional, default = "liml"
Estimator to use. Passed to ``kappa`` argument of ``KClass``.
Expand Down

0 comments on commit fc74ba5

Please sign in to comment.