You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/get_started.rst
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ A convenience function is available to visualize distribution effects. This meth
81
81
:align:center
82
82
83
83
To initialize the adjusted distribution function, the base model for conditional distribution function needs to be passed.
84
-
In the following example, we use Logistic Regression. Please make sure that your base model implements ``fit`` and ``predict_proba`` methods.
84
+
In the following example, Logistic Regression is used. Please make sure that your base model implements ``fit`` and ``predict_proba`` methods.
85
85
86
86
.. code-block:: python
87
87
@@ -104,7 +104,7 @@ DTE can be computed and visualized in the following code.
104
104
:width:450px
105
105
:align:center
106
106
107
-
Confidence bands can be computed in different ways. In the following code, we use moment method to calculate the confidence band.
107
+
Confidence bands can be computed in different ways. In the following code, moment condition is used to calculate the confidence band.
108
108
109
109
.. code-block:: python
110
110
@@ -130,20 +130,22 @@ Also, an uniform confidence band is used when ``uniform`` is specified for the `
130
130
:width:450px
131
131
:align:center
132
132
133
-
To compute PTE, we can use ``predict_pte`` method.
133
+
To compute PTE, you can use ``predict_pte`` method. The ``locations`` parameter defines interval boundaries, and the method returns probability treatment effects for each interval.
134
+
For each interval, the starting point is not included but the ending point is included. For example, if the `locations` is [0, 1, 2], PTE is computed for `(0, 1]` and `(1, 2]`.
0 commit comments