Skip to content

Commit e98547a

Browse files
committed
update docstring make_ssm_data
1 parent 66f42b0 commit e98547a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doubleml/datasets.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,19 +1354,19 @@ def make_ssm_data(n_obs=8000, dim_x=100, theta=1, mar=True, return_type='DoubleM
13541354
13551355
.. math::
13561356
1357-
y_i &= \\theta d_i + x_i' \\beta d_i + u_i, & with Y being observed if s = 1,
1357+
y_i &= \\theta d_i + x_i' \\beta d_i + u_i,
13581358
1359-
s_i &= 1\\left\\lbrace d_i + \\gamma z_i + x_i' \\beta + v_i > 0 \\right\\rbrace, & &d_i
1360-
= 1\\left\\lbrace x_i' \\beta + w_i > 0 \\right\\rbrace,
1359+
s_i &= 1\\left\\lbrace d_i + \\gamma z_i + x_i' \\beta + v_i > 0 \\right\\rbrace,
13611360
1361+
d_i &= 1\\left\\lbrace x_i' \\beta + w_i > 0 \\right\\rbrace,
13621362
1363-
with covariates :math:`x_i \\sim \\mathcal{N}(0, \\Sigma^2_x)`, where
1363+
with Y being observed if :math:`s_i = 1` and covariates :math:`x_i \\sim \\mathcal{N}(0, \\Sigma^2_x)`, where
13641364
:math:`\\Sigma^2_x` is a matrix with entries
13651365
:math:`\\Sigma_{kj} = 0.5^{|j-k|}`.
13661366
:math:`\\beta` is a `dim_x`-vector with entries :math:`\\beta_j=\\frac{0.4}{j^2}`
13671367
:math:`z_i \\sim \\mathcal{N}(0, 1)`,
13681368
:math:`(u_i,v_i) \\sim \\mathcal{N}(0, \\Sigma^2_{u,v})`,
1369-
:math:`w_i \\sim \\mathcal{N}(0, 1)`
1369+
:math:`w_i \\sim \\mathcal{N}(0, 1)`.
13701370
13711371
13721372
The data generating process is inspired by a process used in the simulation study (see Appendix E) of Bia,

0 commit comments

Comments
 (0)