Displaying 20 results from an estimated 900 matches similar to: ""Ran out of iterations and did not converge""
2007 May 11
0
Tobit model and an error message
Dear R users:
I am using survreg for modeling left censored longitudinal data. When I am using the following code for fitting the tobit model I am getting some output with an warning message(highlighted with red color):
> survreg(Surv(y, y>=0, type='left')~x + frailty(id), cytokine.data, weight=w, dist='gaussian', scale=1)
Call:
survreg(formula = Surv(y, y >= 0, type
2007 Jun 27
0
error message survreg.fit
Dear All,
I am doing a parametric survival analysis with:
fit <- survreg(Surv(xyz$start, xyz$stop, xyz$event, type="interval") ~
1, dist='loglogistic')
At this point I do not want to look into covariates, hence the '~1' as
model formulation. As event types I have exact, interval, and right
censored lifetime data. Everything works fine.
For reasons that are
2007 Jun 26
1
survreg error
Hello,
I am using survreg for a simulation where data is randomly generated from a
Weibull distribution and the model parameters estimated. When this is
embedded within a loop and the process repeated for different datasets, the
program aborts after a few runs in most cases giving the following message:
Error in survreg.fit(X, Y, weights, offset, init = init, controlvals =
control, :
2011 Mar 10
2
tobit regression model
Hi,
I'm trying to fit a tobit regression model to some data. When fitting the
exact same data in Stata, I have no problems at all, however R won't
converge. Its not a maxiters thing, since I've tried increasing this
already. I need to be able to fit the model in R since there are users of
the code that don't have a Stata license.
The code is:
require(AER)
left = 3.218476
x =
2018 May 29
1
Excel Add-Ins Not Loaded When Using excel.link & RDCOM
Dear All,
I am using excel.link package to open and modify Excel files.
When I manually open Excel, all my add-ins are loaded without a problem.
But when I open Excel using excel.link package, like:
xls<-xl.get.excel()
xl.workbook.open("MyFile.xlsx")
some Excel add-ins are (installed but) not loaded.
Since the problem is related to local add-ins at my side, I cannot
reproduce the
2004 Dec 14
0
Should echo cancellation be a "science" oran"art"?
I noticed I get echo on line when my internet connection is congested
(during file downloads, for instance).
Can you verify this isn't your problem?
> -----Original Message-----
> From: Doug Reid - Stormcorp [mailto:doug@stormcorp.co.za]
> Sent: Tuesday, December 14, 2004 3:06 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users]
2008 Jan 29
1
The standalone Rmath library and VC++ 2003
Linking my VC++ application with the standalone Rmath library yields the
following;
------ Build started: Project: Complex plugin, Configuration: Debug
Win32 ------
Linking...
Creating library .\../Debug/complex_plugin.lib and object
.\../Debug/complex_plugin.exp
libRmath.a(mlutils.o) : warning LNK4217: locally defined symbol __iob
imported in function _REprintf
libRmath.a(dbeta.o) :
2018 Feb 14
0
How to turn off warnings about class name conflicts
On 2/13/2018 11:47 PM, Ayhan yuksel wrote:
> Hi,
>
> I am using two packages (quantmod and FRAPO)
>
> Quantmod and FRAPO both have a class names "zoo"
>
> R is displaying the following warning when I manipulate an object of class
> zoo:
>
> Found more than one class "zoo" in cache; using the first, from namespace
> 'quantmod'
>
2012 Jul 31
0
Fixed Point AGC
Hi, James,
I've tested the AGC function, and I want it for fixed-point version, would
you please tell me where can get the patch file of the AGC function, for
fixed-point??
thank you very much
Brs
Oran Huang
oranhuang at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2004 May 05
0
Lme4 error
What's happening?
> Celpe.Mixed <- lme(Nota~Tarefa + Corretor %in%
Tarefa,random=~1|ID,data=Celpe.Dados11)
Error in "EMsteps<-"(`*tmp*`, value = controlvals) :
error code 6 from Lapack routine dtrtri
>
I've trying to fit a Mixed model using lme from package lme4 and the error
above has occourred. What Should I Do to solve this?
Best regards
[]s
Leonard
2012 Jan 13
1
how to find the number of iterations kmeans used to converge?
Dear all,
I need to know in which number of iterations the kmeans converge each
time I run it.
Any idea how to do it?
Thank you for your attention,
Rui
2006 Mar 30
2
kmeans: "did not converge in 10 iterations"
Hi All,
I run function "kmeans" to cluster a matrix. But when the matrix size is
big enough, it keeps saying "did not converge in 10 iterations". Could
you explain what it means and if the result is wrong?
And the interesting thing is sometimes this warning happens when the
sample size is around 51200 x 6, sometimes it happens around 30000 x 6.
Does the warning related
2011 Jan 28
1
survreg 3-way interaction
> I was wondering why survreg (in survival package) can not handle
> three-way interactions. I have an AFT .....
You have given us no data to diagnose your problem. What do you mean
by "cannot handle" -- does the package print a message "no 3 way
interactions", gives wrong answers, your laptop catches on fire when you
run it, ....?
Also, make sure you read
2024 Dec 11
1
SQL and R
Akshay,
Your question has way too many answers.
SQL has a long history and early versions came long before R arrived on the
scene. There is a huge embedded base of hardware and software dedicated to
managing databases. It has some features that most R programs do not even
dream of doing. Besides easily handling massive amounts of data or sometimes
tweaking queries to possibly run more
2005 Feb 01
0
Convergence problems with survreg()
Dear R mailing list,
I'm trying to fit a censored regression model to a large (dimension of the
design matrix is 2e5 by 7) right truncated data by means of the
survreg(Surv()) function, as suggested by Paul Johnson on his "R Tips" web
page.
Possibly due to the sensitivity to the initial values of the Newton-Raphson
routine in use by survreg(), resulting regression outputs turn
2006 Jul 23
1
How to pass eval.max from lme() to nlminb?
Dear R community,
I'm fitting a complex mixed-effects model that requires numerous
iterations and function evaluations. I note that nlminb accepts a
list of control parameters, including eval.max. Is there a way to
change the default eval.max value for nlminb when it is being called
from lme?
Thanks for any thoughts,
Andrew
--
Andrew Robinson
Department of Mathematics and Statistics
2024 Dec 11
2
SQL and R - tangential
My late friend Morven Gentleman, not long after he stepped down from being chair
of Computer Science at Waterloo, said that it seemed computer scientists had to create
a new computer language for every new problem they encountered.
If we could use least squares to measure this approximation, we'd likely be suspicious
of a terribly small error measure or overly high R^2.
JN
On 2024-12-11
2004 Nov 23
2
Convergence problem in GLMM
Dear list members,
In re-running with GLMM() from the lme4 package a generalized-linear mixed
model that I had previously fit with glmmPQL() from MASS, I'm getting a
warning of a convergence failure, even when I set the method argument of
GLMM() to "PQL":
> bang.mod.1 <- glmmPQL(contraception ~ as.factor(children) + cage + urban,
+ random=~as.factor(children) + cage +
2008 Oct 15
0
Maximizing a function - optim does not always converge
Hello All,
I¢m kinda new to R language and any help that I can get is greatly appreciated.
Basically, I want to find the values of the two parameters that will maximize the function and I¢m currently using the optim function to find these values. My R code works fine but not all the time. Sometimes the solution converges, sometimes not. Since I¢m planning to do this 5000 times, is there a
2003 Apr 28
2
Algorithm did not converge
Help! Being a bit of a novice, please bear with me if this is a stupid
question!
I am trying to fit a saturated model to some count data that I have:
model<-glm(COUNT~SP*LOC*COL*TIME*TREAT,poisson)
but R keeps on crashing and coming up with (occasionally before crashing) an
error that states:
Algorithm did not converge in: (if(is.empty.model(mt)) glm.fit.null else
glm.fit)(x = X, y = Y,