Hi!

The bernoulli continuous version has parameter that ranges between 0 and 1. I am looking to model that parameter with covariates. Can you suggest the preferred function to bound the modeled parameter between 0 and 1 for stan fitting?

Thank you!

We often use the inverse logit (inv_logit) to transform a linear predictor (i.e. coefficients * covariates) from unconstrained to (0, 1).

inv_logit