create_labels_d function

Create labels for d

Create labels for d

This function creates labels for the model parameter d.

create_labels_d(J, ordered)

Arguments

  • J: The number (greater or equal 2) of choice alternatives.
  • ordered: A boolean, FALSE per default. If TRUE, the choice set alternatives is assumed to be ordered from worst to best.

Returns

A vector of labels for the model parameter d of length J - 2 if ordered = TRUE and NULL otherwise.

Details

Note that J must be greater or equal 3 in the ordered probit model.

Examples

RprobitB:::create_labels_d(5, TRUE)