search for: posdefify

Displaying 7 results from an estimated 7 matches for "posdefify".

2011 Feb 04
2
always about positive definite matrix
...as replacements for anything I wrote where appropriate. Any apparent conflict is a result of his superior knowledge. 2. 'eigen' returns the eigenvalue decomposition assuming the matrix is symmetric, ignoring anything in m[upper.tri(m)]. 3. The basic idea behind both posdefify and nearPD is to compute the eigenenvalues and vectors, then replace any eigenvalues that are small or negative with some suitable small positive number and reconstruct the matrix from this modified eigenvalue decomposition. posdefify and nearPD implement modifications of this basic idea....
2004 Dec 13
0
Re: Help : generating correlation matrix with a particula r
...*********************************** Important: We would draw your attention to the notices at the bottom of this e-mail, particularly before opening and reviewing any file attachment(s). ************************************************************ Martin, Thank you for letting us know about posdefify. It does do exactly what the Rebonato paper recommended and gives the same result as our code, but it will be much better behaved in the wild than ours will. BTW Troels Ring [tring at gvdnet.dk] found the Rebonato paper at http://www.quarchome.com/correlationmatrix.pdf Thank you Troels. Best r...
2007 Jul 13
2
nearest correlation to polychoric
Dear all, Has someone implemented in R (or any other language) Knol DL, ten Berge JMF. Least-squares approximation of an improper correlation matrix by a proper one. Psychometrika, 1989, 54, 53-61. or any other similar algorithm? Best regards Jens Oehlschl?gel Background: I want to factanal() matrices of polychoric correlations which have negative eigenvalue. I coded Highham 2002
2004 Dec 13
1
Re: Help : generating correlation matrix with a particular
************************************************************ Important: We would draw your attention to the notices at the bottom of this e-mail, particularly before opening and reviewing any file attachment(s). ************************************************************ Here is some code we have used. a<-array(c(1,.9,.7,.9,1,.3,.7,.3,1),dim=c(3,3)) a s<-eigen(a)$vectors
2006 Jul 21
3
positive semi-definite matrix
I have a covariance matrix that is not positive semi-definite matrix and I need it to be via some sort of adjustment. Is there any R routine or package to help me do this? Thanks, Roger [[alternative HTML version deleted]]
2008 Apr 10
2
QP.solve, QPmat, constraint matrix, and positive definite
hello all, i'm trying to use QPmat, from the popbio package. it appears to be based on solve.QP and is intended for making a population projection matrix. QPmat asks for: nout, A time series of population vectors and C, C constraint matrix, (with two more vectors, b and nonzero). i believe the relevant code from QPmat is: function (nout, C, b, nonzero) { if (!"quadprog" %in%
2007 Dec 05
1
Calculating large determinants
I apologise for not including a reproducible example with this query but I hope that I can make things clear without one. I am fitting some finite mixture models to data. Each mixture component has p parameters (p=29 in my application) and there are q components to the mixture. The number of data points is n ~ 1500. I need to select a good q and I have been considering model selection methods