problem error message

questions concerning analysis/theory using programs M-SURGE, E-SURGE and U-CARE

problem error message

Postby Alexlyon » Wed Sep 09, 2009 10:22 am

hi

I'm using E-Surge for fitting multi-state models:
The models are built as follows:
-one initial state matrix
-one transition matrix divided in three step (survival, mortality causes and movement between three sites)
-one encounter matrix

My data consists of 45 capture occasions, 190 individuals, 6 groups, 7 events and 7 states (including 3 newly dead states: state 4, 5 or 6).
Typical encounter histories may be
01110202220003323214000....
00221002222222332200050....

I have no problem with computing the transition matrix in GEPAT.
I have no problem with computing the first initial state matrix in GEMACO too.
However when I want to build the first step transition matrix (survival step), E surge sends me an error message like that:

"(...)
this error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors
(...)
??? Error using ==> waitfor
Error while evaluating uicontrol Callback"

I would know what does this message mean, whether this error message rises from a bad syntax in the GEPAT matrix, a bad syntax in GEMACO, or because of a great number of "0" values in capture histories?

thanks in advance

Alexis
Alexlyon
 
Posts: 10
Joined: Wed Sep 09, 2009 5:01 am

Postby CHOQUET » Thu Sep 10, 2009 8:47 am

Hello,
There is too few details before the error.
What is the phrase for survival in gemaco ?
Sincerely,
Rémi
CHOQUET
 
Posts: 212
Joined: Thu Nov 24, 2005 4:58 am
Location: CEFE, Montpellier, FRANCE.

Postby Alexlyon » Thu Sep 10, 2009 9:53 am

Hello,

sorry, the error message was too long.
The phrase for survival was the simplest as possible:"from.t"
when I used the phrase "from", Gemaco computed the survival matrix but it did it slowly (may be more than 20 minutes)

actually, I already achieved to compute one time the survival matrix without any error message, but this error message arose then when I pressed the gemaco button for the mortality step.

In other words, it seems this error does not appear systematically.

Maybe I mistake in building the encounter histories and the corresponding transition matrices. But I suppose Gemaco will still constrain the matrix...

thanks again

sincerely,

Alexis
Alexlyon
 
Posts: 10
Joined: Wed Sep 09, 2009 5:01 am

Postby Alexlyon » Mon Sep 14, 2009 10:36 am

Hello,

I send this post to inform that I have identified the causes for the error message from MATLAB.
Actually, I read and read again the E-Surge manual and I stopped at the sentence, apparently anectodal "The choice of an appropriate number of age classes leads to a faster algorithm and is thus recommended if appropriate" p 40.

So, I changed the number of age classes from 48 to one, and then, I have no more problem to constrain the transition matrices and Gemaco run faster!

Any sentences is of importance !! :D

thank you and sorry for those who spent time on my problem

Alexis
Alexlyon
 
Posts: 10
Joined: Wed Sep 09, 2009 5:01 am


Return to analysis help

Who is online

Users browsing this forum: No registered users and 2 guests