-
Notifications
You must be signed in to change notification settings - Fork 7
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
estimate_cov for subset and subset infinity sometimes returns complex number #138
Comments
I'll investigate. |
Next time please just paste the code here instead of uploading a zip file. |
Turns out the issue here is using a sample size where number_of_seeds = Int64(max(1, ceil(sim.n * sim.target)))
samples_per_seed = Int64(floor(sim.n / number_of_seeds)) here 21 seeds and 9 chains = 189 != 205. However the sample size passed to the cov estimation is always This is easily fixed by computing |
Performing convergence study for MC, subset, and subset infinity.
Sometimes (randomly)
estimate_cov
is trying to take the sqrt of a complex number. Script for the studyThe text was updated successfully, but these errors were encountered: