Displaying 20 results from an estimated 1100 matches similar to: "System is computationally singular?"
2012 Feb 29
2
Converting a function from Splus to R
I have a function written for Splus, when I run it in R I obtain get an error
because the function has the elements "0.d0" and "2.d0". How can I change it
to run in R?
The function can be found in page 230 from
http://www.stat.wisc.edu/~mchung/teaching/stat471/stat_computing.pdf
Function is as follows:
gauher <- function(n) {# Gauss-Hermite: returns x,w so that
2007 Apr 20
8
Suggestions for statistical computing course
Dear R-helpers,
I am planning a course on Statistical Computing and Computational
Statistics for the Fall semester, aimed at first year Masters students
in Statistics. Among the topics that I would like to cover are linear
algebra related to least squares calculations, optimization and
root-finding, numerical integration, Monte Carlo methods (possibly
including MCMC), bootstrap, smoothing and
2006 Mar 09
2
TDM11B Hang up detection not working in France ?
Hello,
my config : aah 2.6 (asterisk 1.2.4) , centos 4.2, 1 TDM11B (1 Fxo / 1
fxs ), 1 phone, 1 softphone
I'm in France
When someone from PSTN calls and hangs up before the call is answered,
internal extension keeps ringing until timeout occurs. PSTN line keeps
busy. Hangup detection doesn't work.
I've played with different paremeters (callprogress, busydetect,
busycount,
2010 Aug 31
1
wavelet parameters with sowas
Hello everybody.
My name is Angela.
I'm doing wavelet using the sowas library. The problem I have is that I
don't know how to choose the paremeters to describes differnt wavelet
analysis. How I select the noctave, nvoice, w0, s0,...?
I hope my question is clear enough.
Thank you very much beforehand.
Angela
--
View this message in context:
2009 Nov 18
2
Error "system is computationally singular" by using function dmvnorm
Dear R users,
i try to use function dmvnorm(x, mean, sigma, log=FALSE)
from R package mvtnorm to calculate the probability of x
under the multivariate normal distribution with mean equal
to mean and covariance matrix sigma.
I become the following
Error in solve.default(cov, ...) :
system is computationally singular: reciprocal condition
number = 1.81093e-19
What could be the reason of it?
2008 Oct 06
0
Computationally singular [provides coefficients but not covariance matrix]
Hi,
I am estimating a regression but the summary command is unable to provide me
results, while the coefficients are available from the coefficients value. I
suppose that it cannot estimate the covariance matrix. Is there any command
that I can relax the tolerance so it can estimate the covariance matrix.
The code and the error of R is:
eq1<-rq(y~factor(year)+factor(state)+x1+x2+x3,
2013 Jan 13
1
R error: system is computationally singular when building GMM model
Dear,
I built the generalized method of moments model to estimate the sales rank
in the bookstore using plm package in R.
The equation is:
data1.gmm <- pgmm(dynformula(lnsales_rank ~ ln_price + avg_ham_rate +
avg_spam_rate + num_of_ham+ num_of_spam + ship_code2 +ship_code3
+ship_code4+ ship_code5+ ship_code6 + ship_ code7, lag = list(0, 0, 0,
0,0,0,0,0,0,0,0,0), log =FALSE), data=data,
2011 May 27
0
System is computationally singular error for plm random effects models
Dear all,
I am using the plm package for both fixed and random effects models on my
country-year panel data. However, for some of the random effects models I
get the following error:
Error in solve.default(OM) :
system is computationally singular: reciprocal condition number =
1.78233e-18
The same models work fine for fixed effects. I have also noticed that once I
remove some of my variables
2012 Feb 21
1
System is computationally singular error when using cholesky decompostion in MCMC
Hello Everyone
I have a MCMC loop to calculate a time varying hierarchical Bayesian
structure.
This requires me to use around 5-6 matrix inversions in the loop.
I use cholesky and chol2inv for the matrix decomposition.
Because of the data I am working with I am required to invert a 167 by 167
matrix twice in one iteration.
I need to run the iteration for 10000 times, but I get the error
2006 Jan 10
1
glmmPQL / "system is computationally singular"
Hi,
I'm having trouble with glmmPQL from the MASS package.
I'm trying to fit a model with a binary response variable, two fixed
and two random variables (nested), with a sample of about 200,000
data points.
Unfortunately, I'm getting an error message that is difficult to
understand without knowing the internals of the glmmPQL function.
> model <- glmmPQL(primed ~
2009 Aug 15
1
System is computationally singular and scale of covariates
Dear all,
I'm running a self-written numerical optimization routine (hazard
model) which includes computing the inverse of the outer product of
the score. I have been getting the above error message ("System is
computationally singular"), and after some tweaking, I realized that
these variables have some high numbers and the problem could be
circumvented by scaling them down (i.e.
2008 Sep 12
1
Error in solve.default(Hessian) : system is computationally singular
Hello everyone,
I'm trying to estimate the parameters of the returns series attached using the GARCH code below, but I get the following error message:
Error in solve.default(Hessian) :
system is computationally singular: reciprocal condition number = 0
Error in diag(solve(Hessian)) :
error in evaluating the argument 'x' in selecting a method for function 'diag'
Can
2008 Oct 08
1
Error in spdep: system is computationally singular
Hi all,
I am trying to run an autologistic model using the function errorsarlm from spdep package.
**I built an XY matrix extracting the two colums from matriz**
coords1<-matriz[matriz$casos1==1, c(4,5)]
coords1<-as.matrix(coords1)
**I identify neighbours of region points**
nb20<-dnearneigh(coords1,0,20,longlat=TRUE)
** I build a neighbours list with spatial weights**
2024 Apr 23
0
System GMM fails due to computationally singular system. Why?
A copy of this question can be found on Cross Validated:
https://stats.stackexchange.com/questions/645610
I am estimating a system of seemingly unrelated regressions (SUR) with
`gmm::sysGmm` in R. Each of the equations has one unique regressor and one
common regressor. The common regressor is a dummy variable indicating the
last observation (n-1 zeros followed by 1). I impose a restriction that
2005 Aug 08
2
computationally singular
Hi,
I have a dataset which has around 138 variables and 30,000 cases. I am
trying to calculate a mahalanobis distance matrix for them and my
procedure is like this:
Suppose my data is stored in mymatrix
> S<-cov(mymatrix) # this is fine
> D<-sapply(1:nrow(mymatrix), function(i) mahalanobis(mymatrix, mymatrix[i,], S))
Error in solve.default(cov, ...) : system is computationally
2006 Nov 07
4
solve computationally singular
Hi uRsers,
when inverting a 2 by 2 matrix using solve, I encountered a error message:
solve.default(sigma, tol = 1e-07) :
system is computationally singular: reciprocal condition number
= 1.7671e-017
and then I test the determinant of this matrix: 6.341393e-06.
In my program, I have a condition block that whether a matrix is
invertible like this:
if(det(sigma)<1e-7) return NULL;
2009 May 01
1
computationally singular and lack of variance parameters in SEM
Hi all,
I am trying to set up a simple path analysis in the SEM package, but I am
having some trouble. I keep getting the following error message or
something similar with my model, and I'm not sure what I'm doing wrong:
Error in solve.default(C) :
system is computationally singular: reciprocal condition number =
2.2449e-20
In addition: Warning message:
In sem.default(ram = ram, S = S,
2012 Oct 25
5
system is computationally singular: reciprocal condition number
Hi folks,
I know, this is a fairly common question and I am really disappointed that I
could not find a solution.
I am trying to calculate Mahanalobis distances in a data frame, where I have
several hundreds groups and several hundreds of variables.
Whatever I do, however I subset it I get the "system is computationally
singular: reciprocal condition number" error.
I know what it means
2009 Jun 25
2
crr - computationally singular
Dear R-help,
I'm very sorry to ask 2 questions in a week. I am using the package
'crr' and it does exactly what I need it to when I use the dataset a.
However, when I use dataset b I get the following error message:
Error in drop(.Call("La_dgesv", a, as.matrix(b), tol, PACKAGE = "base")) :
system is computationally singular: reciprocal condition number =
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
I get this error while computing partial correlation.
*Error in solve.default(Szz) :
system is computationally singular: reciprocal condition number =
4.90109e-18*
Why is it?Can anyone give me some idea ,how do i get rid it it?
This is the function i use for calculating partial correlation.
pcor.mat <- function(x,y,z,method="p",na.rm=T){
x <- c(x)
y <- c(y)