Learn R Programming

cds (version 1.0.4)

Constrained Dual Scaling for Detecting Response Styles

Description

This is an implementation of constrained dual scaling for detecting response styles in categorical data, including utility functions. The procedure involves adding additional columns to the data matrix representing the boundaries between the rating categories. The resulting matrix is then doubled and analyzed by dual scaling. One-dimensional solutions are sought which provide optimal scores for the rating categories. These optimal scores are constrained to follow monotone quadratic splines. Clusters are introduced within which the response styles can vary. The type of response style present in a cluster can be diagnosed from the optimal scores for said cluster, and this can be used to construct an imputed version of the data set which adjusts for response styles.

Copy Link

Version

Install

install.packages('cds')

Monthly Downloads

231

Version

1.0.4

License

GPL (>= 2)

Maintainer

Pieter Schoonees

Last Published

April 15th, 2025

Functions in cds (1.0.4)

indmat

Create an Indicator Matrix
createcdsdata

Create a cdsdata Object
rcovmat

Construct a Structured Covariance Matrix for Simulations
create.ind

Create Indicator Matrix
create.rs

Create a response style
clean.scales

Impute Optimal Scores for Rating Categories
ispline

Quadratic monotone spline basis function for given knots.
print.cdsdata

Print dsdata Objects
sensory.aux

Auxiliary Information for sensory Data
sensory

sensory Data
rcormat

Randomly Generate Low-Rank Correlation Matrix
trRnorm

Truncated Normal Sampling
trQnorm

Truncated Normal Quantiles
print.cds

Print cds Object
plot.cdslist

Plot a cdslist Object
orthprocr

Orthogonal Procrustes Analysis
updateG

Update the Grouping Matrix
gen.cop

Generate a Copula
datsim

Simulate Data for a Single Response Style
plot.cds

Plot cds Objects
simpca

Simulate Data with a Specific Principal Components Structure and Response Style Contamination
calc.wt.bubbles

Calculate the Weights for Bubble Plots
addbounds

Augment with Boundaries Between Rating Scale Categories and Rank
cl_class_ids.cds

S3 Methods for Integration into clue Framework
approxloads

Low Rank Approximation LL' of a Square Symmetrix Matrix R
cds-package

Constrained Dual Scaling for Successive Categories
cds

Constrained Dual Scaling for Successive Categories with Groups
G.start

Constrained Dual Scaling for a Single Random G Start
Lfun

Calculate Constrained Dual Scaling Loss
Lfun.G.upd

Calculate Loss for G Update
cds.sim

Grouped Simulation with Response Styles
genPCA

Generate PCA data and Calculates Correlation Matrices
group.ALS

Alternating Least Squares with Groups for Constrained Dual Scaling