ml_draw_betas: Draw random coefficients of individuals for an estimated...

View source: R/draw_betas.R

ml_draw_betasR Documentation

Draw random coefficients of individuals for an estimated mixed logit model

Description

Note that the function is still restricted and does not yet work for all sorts of random parameter distributions that mlogit supports.

Usage

ml_draw_betas(mod, num.draws = 100, use.halton = FALSE, scale = NA)

Arguments

mod

the estimated models

num.draws

the number of individuals for which random coefficients shall be drawn

use.halton

shall Halton sequences be used instead of psedudo-random numbers?

Value

A matrix with num.draws rows and one column for each explanatory variable that has random coefficients


skranz/mlogitExtras documentation built on July 5, 2023, 4:30 p.m.