create.ccrsdata: Create a dataset for CCRS

Description Usage Arguments Details Value References See Also

View source: R/create.ccrsdata.R

Description

Creates a dataset for CCRS from a preference data matrix.

Usage

1

Arguments

X

An n by m categorical data matrix.

q

An integer indicating the maximum rating.

Details

For the difference between Mmat.q and Mmat.q1 in the resulting list, see Section 3.2 in reference paper.

Value

Returns a list with the following elements.

Fmat

An n by q-1 matrix of scaled rank-ordered boundary data.

Mmat.q1

A q-1 by 3+1 matrix of I-spline basis functions, evaluated at the boundaries. +1 indicates all 0 intercepts.

Mmat.q

A q by 3+1 matrix of I-spline basis functions, evaluated at the midpoints between boundaries.

X

An n by m categorical data matrix same as the input X.

References

Takagishi, M., Velden, M. van de & Yadohisa, H. (2019). Clustering preference data in the presence of response style bias, to appear in British Journal of Mathematical and Statistical Psychology.

See Also

correct.rs


ccrs documentation built on May 1, 2019, 10:11 p.m.