llbt.worth {prefmod}R Documentation

Function to calculate and print worth parameters from LLBT model results

Description

Worth parameter are calculated from the results of an LLBT model fit, i.e., from llbtPC.fit. The resulting estimates for all groups are based on the subject covariates as specified in the model formula (formel) of the LLBT model.

Usage

llbt.worth(obj, obj.names = NULL, outmat = "worth")

Arguments

obj Object of class llbtMod obtained from an LLBT model fit, i.e., llbtPC.fit.
obj.names names for the objects. If NULL, the names as specified in obj are used.
outmat a matrix of estimated worth parameters (outmat = "worth", the default) or LLBT model parameters (outmat = "lambda").

Value

llbt.worth returns a matrix of worth or model parameters. If subject covariates have been specified, each column represents a groups defined by the crossclassification of the subject covariates.
The function plotworth gives a plot of the estimates.

Author(s)

Reinhold Hatzinger

See Also

llbtPC.fit, plotworth

Examples

    ## fit only first three objects with SEX effect
    data(cemspc)
    m2<-llbtPC.fit(cemspc, nitems=3, formel=~SEX, elim=~SEX, undec=TRUE)

    ## calculate and print worth parameters
    m2worth<-llbt.worth(m2)
    m2worth

[Package prefmod version 0.8-18 Index]