Closed markpayneatwork closed 1 year ago
I think I may have fixed this already. Can you double check in brms_families vignette on github?
There is a commit from about two months ago that fixes a typo in the GEV, but I can't seen anything recently in the Frechet distribution
I see. Will look into that. thanks!
I have checked. Indeed, brmsfamily("frechet")
uses the parameterization as described in the brms_family vignette. The distribution functions of frechet (dfrechet
etc.) have a different parameterization, but the latter are not what is supposed to be described in the families vignette. As such, the provided information is correct, although I admit perhaps a bit confusing, since the location parameter is unused in the frecht family.
Is there an inconsistency in the parameterisation of the Frechet distribution in BRMS? The distribution "helper" functions are parameterised like so:
vignette("brms_families")
, however, describes the distribution as so, without a mention of the location parameter:where s=μ/Γ(1−1/ν) is a positive scale parameter and ν>1 is a shape parameter so that μ predicts the mean of the Frechet distribution.
However, the object returned by brms appears to use a different parameterisation, using mu and nu instead..
Is my assumption that there should be consistency between these different parts correct? Is it possible to get the
dfrechet
,rfrechet
functions etc in terms of the same parameters used in the rest of BRMS? Or have I misunderstood something?Mark