ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
dmultinom.cpp File Reference

(Last Changed on March 27, 2014 for git-revision 5f61a99736a5c5bd615c7fed4a37508dd7cdf20c.)

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.