search for: spsarlm

Displaying 1 result from an estimated 1 matches for "spsarlm".

Did you mean: psalm
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
...data=boston.c, nb2listw(boston.soi), method="SparseM") matrix.csr Error in chol(tmp1) : non-numeric argument to chol (this is the error message in chol.R in base). tmp1 is of class "matrix.csr", but is being sent to the S3 class (error in function sar.lag.mix.f.sM() in R/lag.spsarlm.R). sar.lag.mix.f.sM <- function(rho, W, e.a, e.b, e.c, n, quiet) { SSE <- e.a - 2*rho*e.b + rho*rho*e.c s2 <- SSE/n tmp1 <- asMatrixCsrIrW(W, rho) cat(class(tmp1), "\n") tmp2 <- chol(tmp1) # tmp2 <- .cholMatrixCsr(tmp1) cat(class(tmp2), "\n") tmp3 <-...