Skip to main content

Extract Worth Parameters

Description

Generic functions for extracting worth parameters from paired comparison models.

Usage

  worth(object, ...)

Arguments

object an object.
… arguments passed to methods.

Details

Since version 0.3-0, calls to worth are internally passed over to itempar.

See Also

btmodel, raschmodel

Examples

library("psychotools")

o <- options(digits = 4)

## data
data("GermanParties2009", package = "psychotools")

## Bradley-Terry model
bt <- btmodel(GermanParties2009$preference)

## worth parameters
worth(bt)
Bradley-Terry model parameters (btmodel):
   none   Linke  Gruene     SPD CDU/CSU     FDP 
 0.0768  0.0604  0.3658  0.2520  0.1332  0.1118 
## or
itempar(bt)
Bradley-Terry model parameters (btmodel):
   none   Linke  Gruene     SPD CDU/CSU     FDP 
 0.0768  0.0604  0.3658  0.2520  0.1332  0.1118 
options(digits = o$digits)