Learn R Programming

⚠️There's a newer version (1.0.4) of this package.Take me there.

cds (version 1.0.3)

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

292

Version

1.0.3

License

GPL (>= 2)

Maintainer

Pieter Schoonees

Last Published

January 5th, 2016

Functions in cds (1.0.3)

group.ALS

Alternating Least Squares with Groups for Constrained Dual Scaling
cds-package

Constrained Dual Scaling for Successive Categories
simpca

Simulate Data with a Specific Principal Components Structure and Response Style Contamination
plot.cds

Plot cds Objects
trQnorm

Truncated Normal Quantiles
Lfun.G.upd

Calculate Loss for G Update
createcdsdata

Create a cdsdata Object
create.ind

Create Indicator Matrix
sensory.aux

Auxiliary Information for sensory Data
print.cdsdata

Print dsdata Objects
indmat

Create an Indicator Matrix
datsim

Simulate Data for a Single Response Style
cl_class_ids.cds

S3 Methods for Integration into clue Framework
create.rs

Create a response style
cds

Constrained Dual Scaling for Successive Categories with Groups
sensory

sensory Data
G.start

Constrained Dual Scaling for a Single Random G Start
rcormat

Randomly Generate Low-Rank Correlation Matrix
rcovmat

Construct a Structured Covariance Matrix for Simulations
approxloads

Low Rank Approximation LL' of a Square Symmetrix Matrix R
orthprocr

Orthogonal Procrustes Analysis
updateG

Update the Grouping Matrix
plot.cdslist

Plot a cdslist Object
clean.scales

Impute Optimal Scores for Rating Categories
trRnorm

Truncated Normal Sampling
ispline

Quadratic monotone spline basis function for given knots.
genPCA

Generate PCA data and Calculates Correlation Matrices
addbounds

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

Grouped Simulation with Response Styles
gen.cop

Generate a Copula
calc.wt.bubbles

Calculate the Weights for Bubble Plots
Lfun

Calculate Constrained Dual Scaling Loss
print.cds

Print cds Object