|
| MLogit (const arma::uvec &choice, const arma::uvec &alt, const arma::uvec &id_idx, const arma::mat &z1, const arma::mat &z2, const arma::mat &x, unsigned nalt=0, arma::vec weights=arma::vec()) |
|
arma::mat | hessian (bool update=false) |
|
arma::mat | score (bool update=false, bool indiv=true) |
|
double | loglik () |
|
void | updateZX () |
|
void | updateRef (unsigned basealt) |
|
void | updatePar (arma::vec theta) |
|
arma::vec | getPar () |
|
void | updateProb () |
|
void | updateProb (arma::vec theta) |
|
const arma::vec * | Weights () |
|
double | Weights (unsigned i) |
|
const arma::uvec * | Choice () |
|
unsigned | Choice (unsigned i) |
|
const arma::uvec * | Alt () |
|
unsigned | Alt (unsigned i) |
|
const arma::mat * | X () |
|
arma::rowvec | X (unsigned row) |
|
const arma::mat * | Z1 () |
|
arma::rowvec | Z1 (unsigned row) |
|
const arma::mat * | Z2 () |
|
arma::rowvec | Z2 (unsigned row) |
|
const arma::uvec * | cluster () |
|
unsigned | cluster (unsigned index) |
|
void | updateData (const arma::uvec &choice, const arma::uvec &alt, const arma::uvec &id_idx, const arma::mat &z1, const arma::mat &z2, const arma::mat &x, const arma::vec &weights) |
|
|
unsigned | n |
|
unsigned | ncl |
|
unsigned | J |
|
unsigned | basealt = 0 |
|
arma::vec | lp |
|
arma::mat | zx |
|
arma::vec | logpr |
|
unsigned | p_z1 |
|
unsigned | p_z2 |
|
unsigned | p_x |
|
Definition at line 18 of file mlogit.hpp.
The documentation for this class was generated from the following files: