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

Distribution logis not handled #274

Closed
njaalf opened this issue Apr 20, 2024 · 1 comment
Closed

Distribution logis not handled #274

njaalf opened this issue Apr 20, 2024 · 1 comment

Comments

@njaalf
Copy link

njaalf commented Apr 20, 2024

Hi, I have problems with the logistic marginal (part of stats::Distributions).

This code runs fine:
margins <- list(list(distr="norm"), list(distr="norm"))
bicop <- bicop_dist("bb1", 90, c(3, 2))
pcs <- list(list(bicop))
vv <- vine_dist(margins, pcs, dvine_structure(1:2) )

However:
margins <- list(list(distr="logis"), list(distr="norm"))
vv <- vine_dist(margins, pcs, dvine_structure(1:2) )

yields: Error in sum(sapply(margins, get_npars_distr)) :
invalid 'type' (list) of argument

@tnagler
Copy link
Collaborator

tnagler commented Apr 22, 2024

Fixed in #275, thanks!

@tnagler tnagler closed this as completed Apr 22, 2024
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

2 participants