View source: R/model_sdt_rating.R
| sdt_rating_logmu | R Documentation |
R companion to the Stan sdt_rating_logmu function. It returns
log(p_k) for rating category cat, which the sdt_rating() multinomial
formula uses as the category logit (so softmax recovers the SDT category
probabilities). brms evaluates the non-linear formula in R for
posterior_predict() and posterior_epred(), so this function must be on
the search path; it is exported for that reason and is not called directly.
sdt_rating_logmu(
cat,
K,
dist,
thresh,
anchor,
d,
criterion,
spacing,
sdratio,
stimulus,
...
)
sdt_dpsdt_logmu(
cat,
K,
dist,
thresh,
anchor,
d,
criterion,
spacing,
sdratio,
Ro,
Rn,
stimulus,
...
)
sdt_metad_logmu(
cat,
K,
dist,
thresh,
anchor,
d,
criterion,
spacing,
sdratio,
logmratio,
stimulus,
...
)
cat |
Integer rating category index. |
K |
Integer number of rating categories. |
dist |
Integer noise-distribution id (see the |
thresh |
Integer threshold-parameterization id. |
anchor |
Integer: 1 when |
d, criterion, spacing, sdratio |
Model parameters (draws-by-observation
matrices supplied by brms). |
stimulus |
Stimulus covariate (0 = noise, 1 = signal). |
... |
Threshold |
Ro, Rn |
Recollection parameters of the |
logmratio |
Log M-ratio for the |
log(p_cat), matching the shape of d.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.