Skip to content

copula functions #80

Answered by DomDF
DomDF asked this question in Q&A
Aug 29, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I no longer receive this error when the copulas are not defined as _lpdf in the functions block.

Renaming the functions as, for example, real clayton_copula() instead of real clayton_copula_lpdf so that it has the same name as used in the model block, allows me to run the Stan file.

Renaming the function in the model block to clayton_copula_lpdf() does not work because of the arguments it expects from an _lpdf function.

Please let me know if I have misunderstood the original functions - otherwise, I hope this helps!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@spinkney
Comment options

@DomDF
Comment options

@spinkney
Comment options

Answer selected by DomDF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants