We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
treated
RegressionDiscontinuity
When doing regression discontinuity analysis, eg.
result = cp.RegressionDiscontinuity( df, formula="y ~ 1 + x + treated + x:treated", model=cp.pymc_models.LinearRegression(sample_kwargs={"random_seed": seed}), treatment_threshold=0.5, )
it looks like treated has to be of type bool. A mysterious error arises if it is instead 0's and 1's coded as int's.
0
1
int
The text was updated successfully, but these errors were encountered:
I'd like to solve this. Can you provide a code snippet and error message? Please include definition of the df, and in particular the treated column
Sorry, something went wrong.
No branches or pull requests
When doing regression discontinuity analysis, eg.
it looks like
treated
has to be of type bool. A mysterious error arises if it is instead0
's and1
's coded asint
's.int
sThe text was updated successfully, but these errors were encountered: