How to exclude warnings from simulation study?
Posted on
Veronica_echo
Joined: 02/23/2018
Forums
Hi everyone,
I am conducting a simulation study for my model and one aim of the simulation study is to obtain the coverage probability of bootstrap CI (here I am using 1000 bias-corrected and accelerated bootstrap). I think I should use repeat loop with "try()" function and "try-error" statement to exclude replications reporting errors (mainly error code 5), but how could I exclude warnings (error code 5, 6, and sometimes 10)? Additionally, if the main model runs well (without any errors or warnings), does it guarantee all its jackknife models and bootstrap models work well? I appreciate any advice!
mxBootstrap?
Log in or register to post comments
bootstrapping
mxBootstrap()
, correct? If your script makes repeated direct calls tomxRun()
, then pass argumentsuppressWarnings=TRUE
tomxRun()
.A "guarantee" is too much to ask; taking this question at face value, the answer would have to be "no." In the case of jackknifing, though, I'd expect that if the main model runs well, then much of the time (maybe even most of the time) the jackknife models will run well, too.
I'm curious--how are you calculating the acceleration coefficients?
Edit: duh, you mentioned jackknifing, so I guess you're using the jackknife results to calculate the acceleration coefficients?
Log in or register to post comments
In reply to bootstrapping by AdminRobK
Thanks for your kind response
Log in or register to post comments
In reply to Thanks for your kind response by Veronica_echo
Yes, I get it now. It may
Log in or register to post comments