boot {eba}R Documentation

Bootstrap for Elimination-by-aspects models

Description

Performs a bootstrap by resampling the individual data matrices.

Usage

  boot(D, R = 100, A = 1:I, s = rep(1/J, J))

Arguments

D a 3d array consisting of the individual paired comparison matrices
R the number of bootstrap samples
A a list of vectors consisting of the stimulus aspects; the default is 1:I, where I is the number of stimuli
s the starting vector with default 1/J for all parameters, where J is the number of parameters

Details

The bootstrap function eba.boot is called automatically by boot.

Value

p the matrix of bootstrap vectors
stat the matrix of bootstrap statistics, including parameter means, standard errors, and confidence limits

Author(s)

Florian Wickelmaier wickelmaier@web.de

See Also

OptiPt.

Examples

data(pork)  # pork tasting data, 10 individual paired comparison matrices
eba = OptiPt(apply(pork,1:2,sum))  # fit a BTL model
b = boot(pork,200)  # resample 200 times

plot(eba$estimate,b$stat[,'mean'],log='xy')
abline(0,1,lty=3)

[Package Contents]