Package: prefmod 0.8-36

prefmod: Utilities to Fit Paired Comparison Models for Preferences

Generates design matrix for analysing real paired comparisons and derived paired comparison data (Likert type items/ratings or rankings) using a loglinear approach. Fits loglinear Bradley-Terry model (LLBT) exploiting an eliminate feature. Computes pattern models for paired comparisons, rankings, and ratings. Some treatment of missing values (MCAR and MNAR). Fits latent class (mixture) models for paired comparison, rating and ranking patterns using a non-parametric ML approach.

Authors:Reinhold Hatzinger [aut], Marco Johannes Maier [cre]

prefmod_0.8-36.tar.gz
prefmod_0.8-36.zip(r-4.5)prefmod_0.8-36.zip(r-4.4)prefmod_0.8-36.zip(r-4.3)
prefmod_0.8-36.tgz(r-4.4-x86_64)prefmod_0.8-36.tgz(r-4.4-arm64)prefmod_0.8-36.tgz(r-4.3-x86_64)prefmod_0.8-36.tgz(r-4.3-arm64)
prefmod_0.8-36.tar.gz(r-4.5-noble)prefmod_0.8-36.tar.gz(r-4.4-noble)
prefmod_0.8-36.tgz(r-4.4-emscripten)
prefmod.pdf |prefmod.html
prefmod/json (API)
NEWS

# Install 'prefmod' in R:
install.packages('prefmod', repos = c('https://maiermarco.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • fortran– Runtime library for GNU Fortran applications
Datasets:
  • baseball - Data (paired comparisons): Baseball Games
  • carconf - Data (partial rankings): Car Configurator
  • cemspc - Data
  • dat4 - Data (paired comparisons): dat4
  • euro55.2.des - Design data frame for a paired comparison pattern model for rankings
  • immig - Data (paired comparisons with undecided and forced 'NA's): Negative Attitudes towards Immigrants
  • issp2000 - Data (Likert items): ISSP 2000 Survey on Environmental Issues
  • music - Data
  • salad - Data
  • tennis - Data (paired comparisons): Preferred Interview Partner
  • trdel - Data (paired comparisons): Training delivery modes
  • xmpl - Data (Likert items): Example Data Set

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.42 score 1 packages 53 scripts 1.7k downloads 18 exports 8 dependencies

Last updated 1 years agofrom:33d8401d75. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 11 2024
R-4.5-win-x86_64NOTENov 11 2024
R-4.5-linux-x86_64NOTENov 11 2024
R-4.4-win-x86_64OKNov 11 2024
R-4.4-mac-x86_64OKNov 11 2024
R-4.4-mac-aarch64OKNov 11 2024
R-4.3-win-x86_64OKNov 11 2024
R-4.3-mac-x86_64OKNov 11 2024
R-4.3-mac-aarch64OKNov 11 2024

Exports:checkMISexpand.matllbt.designllbt.fitllbt.worthllbtPC.fitpatt.designpatt.worthpattL.fitpattLrep.fitpattnpml.fitpattPC.fitpattR.fitpattRrep.fitplot.wmatplotworthsimPCsimR

Dependencies:colorspacegnmlatticeMASSMatrixnnetqvcalcrelimp

Readme and manuals

Help Manual

Help pageTopics
'prefmod': Utilities to Fit Paired Comparison Models for Preferencesprefmod-package prefmod
Data (paired comparisons): Baseball Gamesbaseball
Data (partial rankings): Car Configuratorcarconf
Data (paired comparisons with undecided): CEMS (Community of European management schools)cemspc
Function to check/report missing values in paired comparison studiescheckMIS
Data (paired comparisons): dat4dat4
Design data frame for a paired comparison pattern model for rankings (Eurobarometer 55.2)euro55.2.des
Utility function to expand aggregated dataexpand.mat
Data (paired comparisons with undecided and forced 'NA's): Negative Attitudes towards Immigrantsimmig
Data (Likert items): ISSP 2000 Survey on Environmental Issuesissp2000
Loglinear Bradley-Terry Model (LLBT) - Design Matrix Generationllbt.design
Function to fit an LLBTllbt.fit
Function to calculate and print worth parameters from LLBT model resultsllbt.worth
Function to fit a loglinear Bradley-Terry model for paired comparisonsllbtPC.fit
Data (ratings): Music (US General social survey 1993)music
Paired Comparison Patterns - Design Matrix Generationpatt.design
Function to calculate and print worth parameters from pattern model resultspatt.worth
Function to fit a pattern model for ratings (Likert items)pattL.fit
Function to fit a pattern model for repeated ratings (Likert items)pattLrep.fit
NPML estimation for paired comparison modelspattnpml.fit
Function to fit a pattern model for paired comparisonspattPC.fit
Function to fit a pattern model for (partial) rankingspattR.fit
Function to fit a pattern model for repeated rankings)pattRrep.fit
Method to plot worth or model parameters from LLBT or pattern modelsplot.wmat
Defunct Functions in Package 'prefmod'plotworth prefmod-defunct
Print methods for pattern modelsprint.pattMod
Data (ranks): Salad Dressings (Critchlow and Fligner)salad
Utility function to simulate paired comparison or rankings datasimPC simR
Summarizing finite mixture regression fitsBIC.pattNPML print.pattNPML summary.pattNPML
Data (paired comparisons): Preferred Interview Partnertennis
Data (paired comparisons): Training delivery modestrdel
Data (Likert items): Example Data Setxmpl