X: numeric; a vector containing the quantities to be transformed according to the log-barycentric transformation.
Y: numeric; a vector containing the log fractions.
Details
Parameter transformations can be used in many cases to recast constrained optimization problems as unconstrained problems. Although there are no limits to the transformations one can implement using the parameter_trans facilty, pomp provides a few ready-built functions to implement some very commonly useful ones.
The logit transformation takes a probability p to its log odds, log(p/(1−p)). It maps the unit interval [0,1] into the extended real line [−∞,∞].
The inverse of the logit transformation is the expit transformation.
The log-barycentric transformation takes a vector Xinthenon−negativeconeofRn, to a vector YinRn, where
Yi=log∑jXjXi.Yi=log(Xi/sum(X)).
The transformation is not one-to-one. However, for each c>0, it maps the simplex sum(X)=c bijectively onto n-dimensional Euclidean space Rn.
The inverse of the log-barycentric transformation is implemented as inv_log_barycentric. Note that it is not a true inverse, in the sense that it takes Rn to the unit simplex, sum(X)=1. Thus,