From tpapp at Princeton.EDU  Wed Nov 29 17:29:29 2006
From: tpapp at Princeton.EDU (Tamas K Papp)
Date: Wed, 29 Nov 2006 11:29:29 -0500
Subject: [Rd] least squares with solve: leading minor is not positive
	definite
Message-ID: <20061129162929.GA8465@pu100877.student.princeton.edu>

Hi,

I am following the "Comparing Least Squares Calculations" vignette of
the Matrix package to get a least squares solution x for

MM %*% x == mu$utility

I get the following error message:

Error in solve(crossprod(MM), crossprod(MM, mu$utility)) : 
	the leading minor of order 1079 is not positive definite

I thought that the least squares was always defined...  What can I do
about this?

Tamas



[Rd] least squares with solve: leading minor is not positive definite
Tamas K Papp