New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing PLE #8
Comments
@schuemie Could you please check this issue on the Truven dataset? |
Someone within JnJ has reported the same problem (on a different study). I'm trying to work with her to reproduce this problem, but so far no luck (it runs fine in my environment). I'll keep trying. |
Note that it's the positive control synthesis that is causing the problem, so if you're pressed for time you could try disabling that. |
I think I found the cause: there appear to not be enough negative controls with sufficient outcome count to fit the outcome models for the positive control synthesis. I've modified MethodEvaluation to give a meaningful error message in this case. Please try installing the latest version (from the develop branch). You'll also need to have the latest version of SqlRender: install.packages("SqlRender")
devtools::install_github("ohdsi/MethodEvaluation", ref="develop") |
So no negative control has enough outcomes during the time-at-risk to fit a model. The only thing you can do is turn off positive control synthesis alltogether. Likely your entire study will prove to be underpowered though. |
@schuemie , would this be a situation where we'd recommend doing CI calibration using on the negative controls? And if so, where can we find the documentation to explain how to do CI calibration without positive control synthesis? |
Good point @pbr6cornell ! As Patrick mentioned, you can still perform CI calibration even without positive controls if you're willing to make the assumption systematic error does not change as a function of true effect size. The biggest challenge to that assumption would be bias towards the null, which arguably is less of a threat in a comparative cohort analysis. The instructions for doing this are here. |
Closing since this question appears to be answered by the information provided by @schuemie. |
Getting error with folder location in combination with cohortMethods lib in R
Attached Study in JSON format
Graham replication.json.zip
The text was updated successfully, but these errors were encountered: