-
Beta Was this translation helpful? Give feedback.
Answered by
DomDF
Aug 29, 2022
Replies: 1 comment 3 replies
-
I no longer receive this error when the copulas are not defined as Renaming the functions as, for example, Renaming the function in the model block to Please let me know if I have misunderstood the original functions - otherwise, I hope this helps! |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
DomDF
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ofreal 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!