*! version 1.0.0 03May2017
help alogit_sim

Title

alogit_sim -- Simulate data for alogit

Syntax

alogit_sim
,
b0(numlist)
{g0(numlist)|d0(numlist)}
[sim_options]

Model parameters
b0(numlist) Parameters for utility.

g0(numlist) Parameters for attention.

d0(numlist) Parameters for extra attention variables.

Simulation parameters
N(int) Number of individuals.

j(numlist) Number of goods or range of goods.

xs(real) Variance for normal or range for uniform (utility).

zs(real) Variance for normal or range for uniform (attention).

xmu(real) Mean for normal or lower bound for uniform (utility).

zmu(real) Mean for normal or lower bound for uniform (attention).

constant Value of constant term in attention equation.

Simulation Options
debug Print parameters and save utility, attention variables.

dsc Simulate for DSC instead of alogit.

normal Utility and attention variables are random normal.

uniform Utility and attention variables are random uniform.

Description

alogit_sim is a very simple wrapper simulate data for alogit

Examples

Basic use

. alogit_sim, n(200) j(4 8) b0(3.8 1.5) g0(0.6 -0.1) d0(-2.3 -1.1) zs(2)

. alogit_sim, n(200) j(4 8) b0(3.8 1.5) g0(0.6 -0.1) d0(-2.3 -1.1) zs(2) dsc