Learn R Programming

lmap (version 0.2.4)

bootstrap.mrrr: Bootstrap procedure for Multinomial Reduced Rank Model

Description

Bootstrap procedure for Multinomial Reduced Rank Model

Usage

bootstrap.mrrr(object, Bsamples = 1000, myseed = 1)

Value

BBdf Bootstrap estimates of B

BVdf Bootstrap estimates of V

Arguments

object

An output object from mrrr

Bsamples

Number of Bootstrap samples to take

myseed

A seed number to make the bootstrap reproducible

Examples

Run this code
if (FALSE) {
data(dataExample_mru)
y = as.matrix(dataExample_mru[ , 1])
X = as.matrix(dataExample_mru[ , 2:6])
output = mrrr(y = y, X = X, S = 2)
boot.output = bootstrap.mrrr(output, Bsamples = 100)
plot(boot.output)
}

Run the code above in your browser using DataLab