Log-CCDF of the discrete normal distribution with free location, for truncated fits
Source:R/family.R
dnorm2_lccdf_stanvars.RdReturns a brms::stanvar() defining dnorm2_lccdf, the log
complementary CDF of the discrete Normal(mu, sigma) distribution:
dnorm2_lccdf(y, mu, sigma) = log P(Z > y). dnorm2_lccdf_stanvars() is
used in the same way as dnorm1_lccdf_stanvars(), and likewise takes no
threshold argument.
Value
A brms::stanvars object defining the dnorm2_lccdf Stan
function, for combining with dnorm2_stanvars() via +.
See also
dnorm2() for the family itself; dnorm1_lccdf_stanvars() for the
fixed-mean version.