ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Functions
dmultinom.cpp File Reference

Multinomial distribution. More...

#include "statsLib.h"

Go to the source code of this file.

Functions

dvariable dmultinom (const dvector &x, const dvar_vector &p)
dvariable dmultinom (const dmatrix o, const dvar_matrix &p, dvar_matrix &nu, double &tau2, const double minp)
double neff (const dvector &obs, const dvar_vector &pred)

Detailed Description

Multinomial distribution.

This file contains the multinomial distribution functions

Author:
Chris Grandin, Steve Martell
Date:
12/13/2011
Remarks:

Definition in file dmultinom.cpp.


Function Documentation

dvariable dmultinom ( const dvector x,
const dvar_vector p 
)

Definition at line 15 of file dmultinom.cpp.

dvariable dmultinom ( const dmatrix  o,
const dvar_matrix p,
dvar_matrix nu,
double &  tau2,
const double  minp 
)

Definition at line 50 of file dmultinom.cpp.

double neff ( const dvector obs,
const dvar_vector pred 
)

Definition at line 28 of file dmultinom.cpp.