Re: [R] Cholesky decomposition error

2012-06-20 Thread nataraj
:22 PM To: Nataraj B (ORLL-Biotech) Cc: kjetilbrinchmannhalvor...@gmail.com; r-help@r-project.org Subject: Re: [R] Cholesky decomposition error On Jun 20, 2012, at 06:17 , wrote: > Dear Peter, > > Thanks for your reply, as per my last post; my current problem is not on > posit

Re: [R] Cholesky decomposition error

2012-06-19 Thread peter dalgaard
al Message- > From: peter dalgaard [mailto:pda...@gmail.com] > Sent: Tuesday, June 19, 2012 8:07 PM > To: Nataraj B (ORLL-Biotech) > Cc: kjetilbrinchmannhalvor...@gmail.com; r-help@r-project.org > Subject: Re: [R] Cholesky decomposition error > > > On Jun 19, 2012,

Re: [R] Cholesky decomposition error

2012-06-19 Thread nataraj
:07 PM To: Nataraj B (ORLL-Biotech) Cc: kjetilbrinchmannhalvor...@gmail.com; r-help@r-project.org Subject: Re: [R] Cholesky decomposition error On Jun 19, 2012, at 10:31 , wrote: > Dear Kjetil, thanks for your time to detail the code. Sorry, I am still not > able to grasp why you are cr

Re: [R] Cholesky decomposition error

2012-06-19 Thread peter dalgaard
value since the function is for maximization > return(-logl) > } > > Is there anything missing in my approach of function optimization for > variable estimation of a multivariate normal distribution? I looking forward > your valuable comments. > > Regards, > B.Nataraj >

Re: [R] Cholesky decomposition error

2012-06-19 Thread nataraj
aj -Original Message- From: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] Sent: Monday, June 18, 2012 10:07 PM To: Nataraj B (ORLL-Biotech) Cc: r-help@r-project.org Subject: Re: [R] Cholesky decomposition error see inline! On Mon, Jun 18, 2012 at 12:38 AM, wrote: > Thanks Kjeti

Re: [R] Cholesky decomposition error

2012-06-18 Thread Kjetil Halvorsen
to implements log-Cholesky in my > situation, but I am simply not able to see where is the Choleksy > decomposition to be implemented in this my workflow. > > Regards, > B.Nataraj > > > > > -Original Message----- > From: Kjetil Halvorsen [mailto:kjetilbrinchmannh

Re: [R] Cholesky decomposition error

2012-06-17 Thread nataraj
his my workflow. Regards, B.Nataraj -Original Message- From: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] Sent: Sunday, June 17, 2012 4:10 AM To: Nataraj B (ORLL-Biotech) Cc: r-help@r-project.org Subject: Re: [R] Cholesky decomposition error see below. On Fri,

Re: [R] Cholesky decomposition error

2012-06-16 Thread Kjetil Halvorsen
rom: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] > Sent: Friday, June 15, 2012 11:09 PM > To: Nataraj B (ORLL-Biotech) > Cc: gunter.ber...@gene.com; r-help@r-project.org > Subject: Re: [R] Cholesky decomposition error > > see inline. > > On Fri, Jun

Re: [R] Cholesky decomposition error

2012-06-15 Thread nataraj
om: Kjetil Halvorsen [mailto:kjetilbrinchmannhalvor...@gmail.com] Sent: Friday, June 15, 2012 11:09 PM To: Nataraj B (ORLL-Biotech) Cc: gunter.ber...@gene.com; r-help@r-project.org Subject: Re: [R] Cholesky decomposition error see inline. On Fri, Jun 15, 2012 at 4:33 AM, wrote: > Thanks for you

Re: [R] Cholesky decomposition error

2012-06-15 Thread Kjetil Halvorsen
and if possible please help me to do > that. > > Regards, > B.Nataraj > > > -Original Message- > From: Bert Gunter [mailto:gunter.ber...@gene.com] > Sent: Friday, June 15, 2012 1:51 PM > To: Nataraj B (ORLL-Biotech) > Cc: r-help@r-project.org > Subj

Re: [R] Cholesky decomposition error

2012-06-15 Thread nataraj
the iteration process and if possible please help me to do that. Regards, B.Nataraj -Original Message- From: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Friday, June 15, 2012 1:51 PM To: Nataraj B (ORLL-Biotech) Cc: r-help@r-project.org Subject: Re: [R] Cholesky decomposition error

Re: [R] Cholesky decomposition error

2012-06-15 Thread Bert Gunter
am confused and I am looking for some hints to introspect the > problem further. > > Regards, > B.Nataraj > > > > > > -Original Message- > From: Bert Gunter [mailto:gunter.ber...@gene.com] > Sent: Thursday, June 14, 2012 6:18 PM > To: Nataraj B (ORLL-Biotech)

Re: [R] Cholesky decomposition error

2012-06-14 Thread nataraj
am confused and I am looking for some hints to introspect the problem further. Regards, B.Nataraj -Original Message- From: Bert Gunter [mailto:gunter.ber...@gene.com] Sent: Thursday, June 14, 2012 6:18 PM To: Nataraj B (ORLL-Biotech) Cc: r-help@r-project.org Subject: Re: [R] Cholesky dec

Re: [R] Cholesky decomposition error

2012-06-14 Thread Rui Barradas
Hello, Hello, If the input matrix is symmetric, positive definite then the Cholesky decomposition algorithm is stable. That's why it is so used in statistics, where many times the matrices meet those conditions. Therefore, the matrix isn't symmetric, positive definite to begin with. Rui Barr

Re: [R] Cholesky decomposition error

2012-06-14 Thread Bert Gunter
Your matrix is not symmetric, positive definite. If you don't know what this means, you shouldn't be using chol() This may be because it isn't to begin with, or due to numerical error, it doesn't behave as one in the decomposition. My relative ignorance of numeric methods for linear algebra preven

[R] Cholesky decomposition error

2012-06-14 Thread nataraj
Dear friends, When I do Cholesky decomposition for a 15x15 matrix using the function chol(), I get the following error for which I do not understand the meaning of the error Error in chol.default(M_cov) : the leading minor of order 10 is not positive definite When I searched online for simila