www.delorie.com/gnu/docs/mcsim/mcsim_33.html   search  
 
Buy GNU books!


MCSim User' Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.3.5 Distrib() specification

This specification indicates which variable to sample, and its sampling distribution. One Distrib() specification must be included for each variable to sample. The specification file can include any number of these commands at the global level, or within any Level section in the case of Markov chain Monte Carlo sampling (see section 6.5 Specifying a statistical model). The syntax is:

 
Distrib(<identifier>, <iType>, [<shape parms>]);

The iType field specifies the sampling distribution to use and can be one of following:

The corresponding shape parameters (Bernardo and Smith, 1994; Gelman et al., 1995) (see section Bibliographic References) are as follow:

The shape parameters of the above distribution specifications can reference other parameters, provided than distributions for these have already been defined. For example:

 
Distrib(A, Normal, 0, 1);
Distrib(B, Normal, A, 2);


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003