This function performs a bootstrap analysis on the Aldmck model, providing confidence intervals for the ideal points of stimuli.
Usage
boot.aldmck(data, ..., boot.args = list(), plot = FALSE)
Arguments
- data
A dataframe containing the data to be bootstrapped.
- ...
Additional arguments passed to the aldmck
function.
- boot.args
A list of arguments to be passed to the boot
function.
- plot
Logical, whether to plot the results (default is FALSE).
Value
A list with two elements:
- sumstats
A dataframe containing the summary statistics: stimulus, ideal point, standard deviation, lower and upper bounds of the confidence interval.
- bootres
The bootstrap results from the boot
function.
Examples
if (FALSE) { # \dontrun{
data(franceEES2009)
boot.france <- boot.aldmck(franceEES2009, polarity = 2, respondent = 1,
missing = c(77, 88, 89), verbose = FALSE, boot.args = list(R = 100))
} # }