Skip to content
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

Error: chol(): decomposition failed when running XMAP function #1

Open
luckycns opened this issue Aug 30, 2024 · 0 comments
Open

Error: chol(): decomposition failed when running XMAP function #1

luckycns opened this issue Aug 30, 2024 · 0 comments

Comments

@luckycns
Copy link

Hello,

I encountered an error while running the XMAP function in R. The error message is chol(): decomposition failed. Below is the code snippet that caused the issue:
xmap <- XMAP(simplify2array(list(R_YY, R_LL)),
cbind(z_YY, z_LL),
n = c(median(sumstat_YY_i$n), median(sumstat_LL_i$n)),
K = 10,
Omega = OmegaHat,
Sig_E = c(c1, c2),
tol = 1e-6,
maxIter = 200,
estimate_residual_variance = FALSE,
estimate_prior_variance = TRUE,
estimate_background_variance = FALSE)
Could you please advise on how to resolve this issue?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant