| get_halton_normals | R Documentation |
Create halton normal draws in appropriate format for mixed logit estimation
get_halton_normals(S, N, K_w)
S |
Number of draws for each choice situation |
N |
number of choice situations |
K_w |
dimension of random coefficients (number of columns in W matrix) |
K_w x S x N array with halton standard normal draws
draws <- get_halton_normals(S = 50, N = 10, K_w = 2)
dim(draws) # 2 x 50 x 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.