similar to: Understanding svd usage and its necessity in generalized inverse calculation

Displaying 20 results from an estimated 200 matches similar to: "Understanding svd usage and its necessity in generalized inverse calculation"

2012 Dec 12
3
R-2.15.2 changes in computation speed. Numerical precision?
Speaking of optimization and speeding up R calculations... I mentioned last week I want to speed up calculation of generalized inverses. On Debian Wheezy with R-2.15.2, I see a huge speedup using a souped up generalized inverse algorithm published by V. N. Katsikis, D. Pappas, Fast computing of theMoore-Penrose inverse matrix, Electronic Journal of Linear Algebra, 17(2008), 637-650. I was so
1999 Jun 30
1
qr and Moore-Penrose
> Date: Wed, 30 Jun 1999 11:12:24 +0200 (MET DST) > From: Torsten Hothorn <hothorn at amadeus.statistik.uni-dortmund.de> > > yesterday I had a little shock using qr (or lm). having a matrix > > X <- cbind(1,diag(3)) > y <- 1:3 > > the qr.coef returns one NA (because X is singular). So I computed the > Moore-Penrose inverse of X (just from the
2001 Oct 18
1
AW: General Matrix Inverse
Thorsten is right. There is a direct formula for computing the Moore-Penrose inverse using the singular value composition of a matrix. This is incorporated in the following: mpinv <- function(A, eps = 1e-13) { s <- svd(A) e <- s$d e[e > eps] <- 1/e[e > eps] return(s$v %*% diag(e) %*% t(s$u)) } Hope it helps. Dietrich
2004 Feb 06
1
How to get the pseudo left inverse of a singular squarem atrix?
>I'm rusty, but not *that* rusty here, I hope. > >If W (=Z*Z' in your case) is singular, it can not have >inverse, which by >definition also mean that nothing multiply by it will >produce the identity >matrix (for otherwise it would have an inverse and >thus nonsingular). > >The definition of a generalized inverse is something >like: If A is a >non-null
2005 Oct 15
1
solve() versus ginv()
Dear All, While inverting a matrix the following error appears on my console: Error in solve.default(my_matrix) : Lapack routine dgesv: system is exactly singular With this respect, I have been replacing the solve() function with ginv(): the Moore-Penrose generalized inverse of a matrix. These are the questions I would like to ask you: 1. Would you also replace solve() with ginv() in
2009 Feb 04
1
reference for ginv
?ginv provides 'Modern Applied Statistics with S' (MASS), 3rd, by Venables and Ripley as the sole reference. I happen to have this book (4th ed) on loan from our library, and as far as I can see, ginv is mentioned there twice, and it is *used*, not *explained* in any way. (It is used on p. 148 in the 4th edition.) ginv does not appear in the index of MASS. ginv is an implementation of
2009 Aug 31
2
Problem in matrix definition?
I'm implementing a function to compute the moore-penrose inverse, using a code from the article: Fast Computation of Moore-Penrose Inverse Matrices. Neural Information Processing - Letters and Reviews. Vol.8, No.2, August 2005 However, the R presents an error message when I use the geninv. The odd thing is that the error occurs for some arrays, however they have the same size. And the R
2012 Mar 14
2
Moore-Penrose Generalized determinant?
Is there a function in R to calculate the generalized determinant of a singular matrix? - similar to the ginv() used to compute the generalized inverse. I can't seem to find any R related posts at all. Thanks in advance, Sean O'Riordain Trinity College Dublin -- View this message in context: http://r.789695.n4.nabble.com/Moore-Penrose-Generalized-determinant-tp4471629p4471629.html Sent
2006 May 09
0
[LLVMdev] Fwd: [TSG-Announce] major CS department IT services outage on May 21 starting at 9pm
Just a warning that the LLVM web site and CVS server are likely to be affected by the following maintenance work on May 21. Many of our software utilities are automounted from DCSfiles. --Vikram http://www.cs.uiuc.edu/~vadve http://llvm.cs.uiuc.edu/ Begin forwarded message: > From: "Frank E Penrose" <fep at uiuc.edu> > Date: May 9, 2006 9:01:38 AM CDT > To:
2001 Oct 18
0
General Matrix Inverse
Generalised Inverse: The Moore-Penrose Generalisied Inverse is probably better defined as a pseudo-Inverse that arises in solving least squares problems. Another well known pseudo-Inverse is the so-called Drazin pseudo-Inverse. If memory serves (and it's been 10-12 years!) it can be obtained via a diagonalisation. Anyway, I dare say Prof. Ripley (among others) probably has "all the
2000 Sep 29
2
Matrix inversion
I cannot find what is the function label for matrix inversion in R. I have found 'ginv' for the moore-penrose in the MASS package, but there is probably a simple inversion operator in the base package. Where can I find it? ____________________________________________ Yvonnick Noel, PhD. University of Lille 3 Department of Psychology F-59653 Villeneuve d'Ascq Cedex (+33) 320 41 63 48
2004 Mar 25
1
g-inverse question
I am using the ginv function from MASS and have run across this problem that I do not understand. If I define the matrix A as below, its g-inverse does not satisfy the Moore-Penrose condition A %*% ginv(A) %*% A = A. The matrix A is X'WX in a quadratic regression using some very large dollar values. The much simpler matrix B does satisfy the MP condition. Am I doing something wrong? Is
2008 Feb 23
1
ginv and matlab's pinv give different results
Dear all; I'm kind of confused with the results obtained using the ginv function from package MASS and pinv function from Matlab. Accroding to the documentation both functions performs a Moore-Penrose generalized inverse of a matrix X. The problem is when I change the tolerance value, say to 1E-3. Here is some output from ginv 195.2674402 235.6758714 335.0830253 8.977515484 -291.7798965
2012 Dec 11
1
Debian packaging and openblas related crash when profiling in R
Hello R-sig-debian and (hopefully) Dirk: On Debian wheezy, I have the R packaging that CRAN (you) provide. I run into a little trouble while trying to fiddle with alternative BLAS. I know you and I went around on this last year and I think perhaps I've found something wrong in the framework, or I've just done something wrong. I installed the packages openblas-base and openblas-dev, and
1999 Sep 24
2
Announce: multilm
I uploaded the package "multilm_0.1.tar.gz", which implements multivariate linear models and test procedures (T^2 and stabilized multivariate procedures by Laeuter et. al.). The function "multilm" allows the specification of multivariate linear models Y = X B + E, parameter restrictions Z B = 0 and linear hypotheses K B = 0. The Hotelling T^2 test ist computed and also
2006 Apr 05
0
Providing limited CRUD access to arbitrary tables through a web interface.
Hi There I''m starting Rails a project for the first time (used to work with PHP). I have to provide administrator ("super-user") access to a large number of tables. The access should be available through a web interface (the tables rendered as HTML forms on the browser, probably through HTML tables inside the form). From the CRUD set mostly R(etrieve) and U(pdate) are
2006 May 16
0
Authentication Daemons
Hi ho. My name is Scott Penrose - and I am experimenting with Dovecot as an IMAP replacement in our company. I have spent some time trying to write a plugin (sort of) for authentication and come to the conclusion that our instance is a little strange. So I though I would try plan B which is to write my own authentication module. This seems to have worked fairly well to start with but I
2003 Aug 14
0
How to get the pseudo left inverse of a singular square m atrix?
I'm rusty, but not *that* rusty here, I hope. If W (=Z*Z' in your case) is singular, it can not have inverse, which by definition also mean that nothing multiply by it will produce the identity matrix (for otherwise it would have an inverse and thus nonsingular). The definition of a generalized inverse is something like: If A is a non-null matrix, and G satisfy AGA = A, then G is called
2010 Nov 25
2
Timing cable usage necessity
Hello everyone. I have a timing slips errors and I can't understand what source of the problem is. My installation has 2 digium cards: TE420 and TE220 cards in one server. There are 3 spans (E1) to PSTN and 3 spans to internal PBS stations - normal installation for transit communication. Span configuration is: span=1,1,0,ccs,hdb3 #TE420 - first port. To PSTN. span=2,0,0,ccs,hdb3 #TE420 -
1997 Sep 09
2
R-beta: "Comparison of Mathematical Programs for Analysis"
Hi, I have just seen Stefan Steinhaus' web page : http://www.uni-franfurt.de/~stst/ncrunch.html I think it would be nice to include "R" as well. I have taken Forrest Young's email on stat-lisp list and changed the stuff for "R" :) Here it is: (someone please check this so we can also send it to Stefan Steinhaus.