hpdutra wrote:Chapter 2 of gentle introduction says that it is better to organize your encounter history as
1000 2 1;
1011 1 3;
instead of
1000 1 0;
1000 1 0;
1000 0 1;
1011 1 0;
1011 0 1;
1011 0 1;
1011 0 1;
especially for large data sets.
Not quite - the summarized format has some efficiencies - especially for large datasets, but precludes use of individual covariates. In most cases, there is little lost by using individual encounter histories (rather than summarizing over histories), but doing such a summarization is easy enough...
Well in my case I already had a huge encounter history for each individual, and I did not want to create a huge formula in excel.
If you know how to use R here is an easy way of doing it using the package "reshape"
http://www.nabble.com/RESHAPE-package-q ... #a18794249You still have to export to excel and remove the ID column and transform it into INP, but boy this saves time!

Useful tip. You can do the same in SAS in a couple of lines (actually, one call to PROC MEANS). In fact, any of the semi-standard data manipulation tools can handle this sort of thing easily, which is why MARK doesn't have its own database capabilities - they would be redundant to what is already sitting on the desks of most folks.