starting.vals.PPO | R Documentation |
Used by metaSDTreg
to calculate starting values using the partial proportional odds model as implemented in ordinal. Internal function.
starting.vals.PPO(formula0, data0, control0, L0, K0, n.covar0)
formula0 |
See |
data0 |
Data frame. |
control0 |
See |
L0 |
Number of levels in ordinal type 2 response. |
K0 |
Number of levels of ordinal response 'A'. |
n.covar0 |
Number of covariates aside from the 'signal' variable. |
The function calls the clm
function using all.vars(update(formula0, . ~ . - signal))
as the formula argument and using ~ signal
as the nominal argument (also see metaSDTreg
for the meaning of the signal variable).
The coefficients of the signal variable are weighted together within the noise- and signal-specific type 2 responses using their inverse standard errors as weights.
A named vector of starting values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.