pairwiseProb: Pairwise probability for differences in preference

Description Usage Arguments Details Value Author(s) Examples

Description

This function calculates the pairwise probability that preference among items differs. It provides the probability that row > column.

Usage

1
pairwiseProb(prefres = NULL, burn = 0)

Arguments

prefres

An object returned by bayesPref.

burn

A value indicating the number of burnin samples discarded.

Details

This function examines the proportion of times a certain preference parameter is ranked over an alternate preference parameter across each post burnin MCMC step. It can be interpreted as a post-hoc test to the results obtained from bayesPref.

Value

A square matrix of pairwise comparisons giving the probability that row > column.

Author(s)

Zachariah Gompert zgompert@uwyo.edu, James A. Fordyce jfordyce@utk.edu

Examples

1
2
3
4
5
6
## Not run: 
data(YGGV)
res <- bayesPref(pData=YGGV,mcmcL=1000)
pairwiseProb(prefres=res[[1]],burn=100) #pairwise probability for population 1

## End(Not run)

bayespref documentation built on May 2, 2019, 11:28 a.m.