close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of OfficialTolArchiveNetworkBysPrior


Ignore:
Timestamp:
Dec 24, 2010, 12:54:36 PM (14 years ago)
Author:
Víctor de Buen Remiro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OfficialTolArchiveNetworkBysPrior

    v1 v1  
     1[[PageOutline]]
     2
     3= Package BysPrior =
     4
     5BysPriorInf stands for Bayesian Prior Information and allows to define prior
     6information handlers to be used in estimation systems (max-likelihood and
     7bayesian ones).
     8
     9A prior is a distribution function over a subset of the total set of variables
     10of a model that expresses the knowledge about the phenomena behind the model.
     11
     12The effect of a prior is to add the logarithm of its likelihood to the
     13logarithm of the likelihood of the global model. So it can be two or
     14more priors over some variables. For example, in order to stablish a
     15truncated normal we can define a uniform over the feasible region and
     16an unconstrainined normal.
     17
     18In order to be estimated with NonLinGloOpt (max-likelihood) and BysSampler
     19(Bayesian sampler), each prior must define methods to calculate the logarithm
     20of the likelihood (except an additive constant), its gradient and its hessian,
     21and an optional set of constraining inequations, in order to define the feasible
     22region. Each inequation can be linear or not and the gradient and hessian must
     23be also calculated. Note that this implies that priors should be continuous and
     24two times differentiable but this an admisible restricion in almost all cases.
     25
     26== Non informative priors ==
     27
     28Let [[LatexEquation( \beta )]] a uniform random variable in a region
     29[[LatexEquation(\Omega\in\mathbb{R}^{n} )]] which likelihood function is [[BR]]
     30
     31[[LatexEquation(lk\left(\beta\right) \propto 1 )]]
     32
     33Since the logarithm of the likelihood but a constant is zero, when
     34log-likelihood is not defined for a prior, the default assumed will be the
     35uniform distribution, also called non informative prior.
     36
     37=== Domain prior ===
     38The easiest way, but one of the most important, to define non informative
     39prior information is to stablish a domain interval for one or more variables.
     40
     41In this cases, you mustn't to define the log-logarithm nor the constraining
     42inequation functions, but simply it's needed to fix the lower and upper
     43bounds:[[BR]][[BR]]
     44
     45[[LatexEquation( \beta\in\Omega\Longleftrightarrow l_{k}\leq\beta\leq u_{k}\wedge-\infty\leq l_{k}<u_{k}\leq\infty )]]
     46
     47=== Polytope prior ===
     48A polytope is defined by a system of arbitrary linear inequalities
     49
     50[[LatexEquation( A\beta\leq a\wedge A\in\mathbb{R}^{r\times n}\wedge a\in\mathbb{R}^{r} )]]