You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stop("lambda selection method can only be \"AIC\" or \"BIC\"")
}
the above lines do not return sub_lam (i.e., sub_lam will be numeric(0)), and subsequent codes will not work properly. This happened some of my datasets.
I would be willing to start on a PR if maintainers support the idea. I would also appreciate if you could implement a more efficient way to search lambda values.
The text was updated successfully, but these errors were encountered:
When BIC (or AIC) don't change for given lambda values (like below),
ecoCopula/R/cgr.R
Lines 101 to 108 in 277ab69
the above lines do not return
sub_lam
(i.e.,sub_lam
will be numeric(0)), and subsequent codes will not work properly. This happened some of my datasets.Currently, I put large lambda values and make completely sparse matrices (identity matrix) for those bad estimates. Because most of the case, the target matrix become completely sparse at the beginning of changing lambda.
https://github.com/mattocci27/ecoCopula/blob/4439a2f1575bcd486b641a9562780a9445932bee/R/cgr.R#L113-L116
I would be willing to start on a PR if maintainers support the idea. I would also appreciate if you could implement a more efficient way to search lambda values.
The text was updated successfully, but these errors were encountered: