Dyad Ratios Algorithm for Latent Variable Estimation

Implements the Dyad Ratios algorithm for estimating latent variables from time-series survey data. The algorithm estimates a latent mood dimension (or two dimensions) from a set of issue opinion series. Supports annual, quarterly, monthly, and daily aggregation intervals, optional exponential smoothing, and up to two latent dimensions. Input data can be provided as a data frame or read from delimited text files. Based on Stimson's 'MCalc' C++ program. See Stimson (2018) for more details.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("DyadRatios")

2.1 by Dave Armstrong, 5 months ago


Browse source code at https://github.com/cran/DyadRatios


Authors: James Stimson [aut] (Original C++ implementation) , Dave Armstrong [cre, aut]


Documentation:   PDF Manual  


GPL-3 license


Imports Rcpp

Suggests testthat, ggplot2, knitr, rmarkdown, dplyr, lubridate, rio, tidyr

Linking to Rcpp


See at CRAN