Skip to content

Commit fe573a6

Browse files
committed
Fix: Update parameter type annotations and descriptions in make_plpr_CP2025 and DoubleMLPLPR classes
1 parent 87ad89c commit fe573a6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

doubleml/plm/datasets/dgp_plpr_CP2025.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ def make_plpr_CP2025(num_id=250, num_t=10, dim_x=30, theta=0.5, dgp_type="dgp1",
5656
5757
Parameters
5858
----------
59-
num_id :
59+
num_id : int
6060
The number of units in the panel.
61-
num_t :
61+
num_t : int
6262
The number of time periods in the panel.
63-
num_x :
63+
dim_x : int
6464
The number of confounding variables.
65-
theta :
65+
theta : float
6666
The value of the causal parameter.
67-
dgp_type :
67+
dgp_type : str
6868
The type of DGP design to be used. Default is ``'dgp1'``, other options are ``'dgp2'`` and ``'dgp3'``.
69-
time_type :
69+
time_type : str
7070
The data type of the time variable. Default is ``'int'``, other options are ``'float'`` and ``'datetime'``.
7171
7272
Returns

doubleml/plm/plpr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class DoubleMLPLPR(LinearScoreMixin, DoubleML):
4444
Default is ``5``.
4545
4646
n_rep : int
47-
Number of repetitons for the sample splitting.
47+
Number of repetitions for the sample splitting.
4848
Default is ``1``.
4949
5050
score : str

0 commit comments

Comments
 (0)