Revision 1618 trunk/contrib/statslib/statsLib.h

statsLib.h (revision 1618)
40 40
dvariable dbinom(const prevariable& x,const dvar_vector& n,const dvar_vector& p);
41 41
dvariable dbinom(const dvar_vector& x,const prevariable& n,const dvar_vector& p);
42 42
dvariable dbinom(const dvar_vector& x,const dvar_vector& n,const prevariable& p);
43
df1b2variable dbinom( const df1b2variable& x,const double& n,const double& p );
44
df1b2variable dbinom( const df1b2variable& x,const df1b2variable& n,const double& p );
45
df1b2variable dbinom( const df1b2variable& x,const df1b2variable& n,const df1b2variable& p );
46
df1b2variable dbinom(const df1b2vector& x,const df1b2vector& n,const df1b2vector& p);
47
df1b2variable dbinom(const df1b2variable& x,const df1b2vector& n,const df1b2vector& p);
48
df1b2variable dbinom(const df1b2vector& x,const df1b2variable& n,const df1b2vector& p);
49
df1b2variable dbinom(const df1b2vector& x,const df1b2vector& n,const df1b2variable& p);
43 50

  
44 51
// Negative binomial distribution
45
dvariable dnbinom(const double& x,const prevariable& mu, const prevariable& size);
52
dvariable dnbinom(const double& x,const prevariable& mu, const prevariable& k);
46 53
df1b2variable dnbinom(const double& x, const df1b2variable& mu, const df1b2variable& k);
47 54
df1b2variable dnbinom(const dvector& x, const df1b2vector& mu, const df1b2variable& k);
48 55
df1b2variable dnbinom(const dvector& x, const df1b2vector& mu, const df1b2vector& k);
49 56
dvariable dnbinom(const dvector& x, const dvar_vector& mu, const prevariable& k);
50 57
dvariable dnbinom(const dvector& x, const dvar_vector& mu, const dvar_vector& k);
51 58

  
59
// Negative binomial distribution (other parametarization)
60
dvariable dnbinom_tau(const double& x,const prevariable& mu, const prevariable& tau);
61
df1b2variable dnbinom_tau(const double& x, const df1b2variable& mu, const df1b2variable& tau);
62
df1b2variable dnbinom_tau(const dvector& x, const df1b2vector& mu, const df1b2variable& tau);
63
df1b2variable dnbinom_tau(const dvector& x, const df1b2vector& mu, const df1b2vector& tau);
64
dvariable dnbinom_tau(const dvector& x, const dvar_vector& mu, const prevariable& tau);
65
dvariable dnbinom_tau(const dvector& x, const dvar_vector& mu, const dvar_vector& tau);
66

  
52 67
// Zero Inflated Negative binomial distribution
53 68
df1b2variable dzinbinom(const double& x, const df1b2variable& mu, const df1b2variable& k, const df1b2variable& p);
54 69
dvariable dzinbinom(const double& x, const prevariable& mu, const prevariable& k, const prevariable& p);

Also available in: Unified diff