Skip to content
Prev 297544 / 398498 Next

Cholesky decomposition error

see inline.
On Fri, Jun 15, 2012 at 4:33 AM, <nataraj at orchidpharma.com> wrote:
?What are you trying to optimize? If the objective function depends on
a matrix argument
which has to be a positive definite function, you must parametrize the
matrix such that the matrix
inside the optimizer always is positive definite. So if your positive
definite matrix is A, then, for example, represent it as
its cholesky decomposition A= L L^T where L is lower triangular with
positive diagonal. Here the stricly
upper diagonal part varies freely, but the diagonal not, so represent
the diagonal as exp( l_i)
where now the l_i varies freely. This is called the log-Cholesky
parametrization. For other ideas along this lines, see the paper by
Douglas Bates:  "Unconstrained Parameterizations for
Variance-Covariance Matrices  "
which you can find by googling.

Kjetil


 This I observed when I change the maximum iteration of the optim
function set to 1 and upto iteration no. 3 it runs , it stuck at
iteration 4 and above.