Description Usage Arguments Details References
Set y transformations for an MBM object
1 | setup_y_transform(x, link, eps = 0.001)
|
x |
an MBM object |
link |
character, link function to use |
eps |
Constant to add to avoid infinite values for probit |
Sets up y transformations to use instead of a link function for probit links. When the y-data include zeros and ones, an additional step is necessary to squeeze the data from [0,1], (0,1], or [0,1) to the open interval (0,1). In the [0,1] case, the smithson lemon-squeezer is used: yō°' = [yō°(N ā 1) + 1/2]/N. Otherwise, eps is first added or subtracted from all values.
Smithson, M. and Verkuilen, J. 2006. A Better Lemon Squeezer? Maximum-Likelihood Regression With Beta-Distributed Dependent Variables. Psychological Methods 11(1): 54-71.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.