UCARE crashes when I try to load my .INP file

announcements (new versions, changes, bugs, installation problems...) related to M-SURGE, E-SURGE and U-CARE

UCARE crashes when I try to load my .INP file

Postby bootzies » Fri Aug 08, 2014 4:47 am

Hello All - I hope that you can help....

I have been having the same problem as reported in these two previous posts:
viewtopic.php?f=5&t=1332
viewtopic.php?f=5&t=2752&p=8766&hilit=U+CARE&sid=e856ef5026b2a552e9c3bfdbf83f3a68#p8766

I have tried the solutions suggested in these posts, but I am still having the same problem of U-CARE crashing (?) – or at least closing very quickly after I try and load my .INP file.

The .INP file only contains the encounter histories (multistate coded with numbers) and no grouping or individual covariates. I have checked that each line is the same length (30). There are no comments or characters in the file (only numbers). I would like to run a goodness of fit test on the ‘general’ model for the multistate (Jolly Move) model, i.e. the time and state dependent model for all three parameters.
I managed to get a screen grab of the error message given by UCARE. This flashes up on the screen only momentarily, before the programme completely closes down. I get the same response if I try the ‘verify’ mark format option in the file menu.

The error message I get says:
"Attempted to access v(1); index out of bounds because numel(v)=0
Error in r_mark (line 44)
Error in U_CAREV2_3 (line 405)
MATLAB:badsubscript"

I have managed to load the dipper data from the MARK file called ‘DIPPER.INP’ – but I did need to delete the first two rows of comments in the file before it would load successfully. As there are no comments in my own data file; I am at a loss as to what the problem is! Please can you help?!

The head of my text (.INP) file is copied below. Note that I have copied the first 100 lines, which contains the row (44) whcih the error message refers to...... The actual file has 5848 individual encounter histories, each with 30 entries. I have also tried the same data input file with a ";" at the end and with a space and then a ";" at the end and still get the same error.

002000000000000000000000000000
060060600400000000000000000000
000000000000000055555000000000
000200000000000000000000000000
000200000000000000000000000000
000000000000000000000000000500
005555555005005000505500005005
000003030000030000000000000000
000000000000000004000440000000
000000000003000000000000000000
000000000000000000010100011000
000000000000000006000000000000
000000050000000000000000000000
000000000000005500000000000000
000000000000000000040000000000
000000000000050000000000000000
000000000000000000000100000000
000000000000000000050000000000
000000000000004000000000000000
000000000000010000000000000000
000000020000000000000000000000
000000010000000000000000001100
000000010000000000000000000000
000000010000000000000000000000
000000010000000000000000000000
066666666666666006600000000000
000000044000000000000000000000
000000066000000000000000000000
000000000200000000000000000000
000000066666606660660600000000
000000000000000000000222000000
000000022200220002000000000000
000000055500000000000000000000
000000050000000000000000000000
000000050500050050000505050505
000000022000000202200220000000
000000022000000020020000000000
000000020000000000000000000000
000000010000100000000000000000
000000000000000000000000000050
000000040400000400400000000000
000000000000000030000000000000
000000020000000000000000000000
000000050000000000000000000000
000000060000000000000000000000
000000040000000000000000000000
000000020000000000000000000000
000000020000000000000000000000
000000011000000000000000000000
000000055000000000000000000000
000000020000000022020222000000
000000050000000000000000000000
000000020060600606600100000000
000000066006606005000606060660
000000000040000000000000000000
000000040000000000000000000000
000000040000000000000000000000
000000020020200000000000000000
000000030000000000000000000000
000000060600000000000000000000
000000060000000000000000000000
000000000000606406000000000000
000000000030303000000000000000
000000044040404004000000000000
000000066060066000600000000000
000000055555055050000000000000
000000040000000000000000000000
000000040440444604400000000000
000000055505505505505055050000
000000050505005555550055000000
000000066660000066006600606065
000000020000000002000220000000
000000022032020003020300030000
000000000000000000000000000550
000000050650000000000000000000
000000010000000000000000000000
000000060000000000000000000000
000000040000000000000000000000
000000022000202000000000000000
000000055005000000000000000000
000000030030033003000300330000
000000020000000000000000000000
000000010010110000000000000100
000000066000000000000000000000
000000000000011110001000000010
000000020000000000000000000000
000000030000000000000000000000
000000020002220000200002000200
000000022000000000000000000000
000000011110000000000000000000
000000020023300000000000000000
000000000100000000000000000000
000000020000000000000000000000
000000022000000000000000000000
000000050000000000000000000000
000000030000000000000000000000
000000010000000000000000000000
000000010010100001000000000000
000000000000005000000000000000
000000000000000000000000040000

Any help and advice would be very much appreciated!

Cheers,

Alice
bootzies
 
Posts: 21
Joined: Wed Jan 29, 2014 2:31 am

Re: UCARE crashes when I try to load my .INP file

Postby CHOQUET » Mon Aug 18, 2014 9:21 am

Hello,
the number of individual sharing the same history is missing at the end of each line.
The format is :
1002341 1;
0134000 2;
..........
Rémi
CHOQUET
 
Posts: 209
Joined: Thu Nov 24, 2005 4:58 am
Location: CEFE, Montpellier, FRANCE.

Re: UCARE crashes when I try to load my .INP file

Postby cayers » Wed Mar 11, 2015 10:16 am

Can you give advice on how to add the column of numbers of individuals with the encounter history to my encounter history file?

Thank you
cayers
 
Posts: 3
Joined: Sun Mar 08, 2015 4:32 pm

Re: UCARE crashes when I try to load my .INP file

Postby cayers » Wed Mar 11, 2015 11:51 am

Nevermind, I just added a column of 1s at the end of my encounter histories with a space before them and a ; after, then concatenated. This works for individual layout.
cayers
 
Posts: 3
Joined: Sun Mar 08, 2015 4:32 pm

Re: UCARE crashes when I try to load my .INP file

Postby Guillaume Souchay » Mon Mar 16, 2015 9:19 am

Hi all,

About .INP file, there is a useful appendix in the MARK Book on how formatting data using Excel "Addendum: generating .inp files" at the end of Chapter 2 (http://www.phidot.org/software/mark/docs/book/pdf/chap2.pdf) using pivot table and concatenate function.


Cheers,

Guillaume
Guillaume Souchay
 
Posts: 63
Joined: Wed Feb 27, 2008 5:20 am
Location: Nantes, FRANCE


Return to software problems/news

Who is online

Users browsing this forum: No registered users and 1 guest