2003-06-23 Brouard Nicolas * imach.c (Repository): Create a sub-directory where all the secondary files are. Only imach, htm, gp and r(imach) are on the main directory. Correct time and other things. 2003-06-18 Brouard Nicolas * imach.c (Repository): Suppress abusive calls to append to file html (solution was to put fichtm as a global variable. Version 0.96 2003-06-17 Brouard Nicolas * imach.c (Repository): Check when date of death was earlier that current date of interview. It may happen when the death was just prior to the death. In this case, dh was negative and likelihood was wrong (infinity). We still send an "Error" but patch by assuming that the date of death was just one stepm after the interview. (Repository): Because some people have very long ID (first column) we changed int to long in num[] and we added a new lvector for memory allocation. But we also truncated to 8 characters (left truncation) (Repository): No more line truncation errors. 2003-06-14 Brouard Nicolas * imach.c (Repository): Add of a routine likelione (likelihood only once) which prints on a text file (ilk) the contributions to the likelihood for each individual/wave. 2003-06-13 Brouard Nicolas * imach.c (Repository): Replace "freqsummary" at a correct place. It differs from routine "prevalence" which may be called many times. Probs is memory consuming and must be used with parcimony. 2003-06-17 * timeval.h (Module): Added included file to make use of gettimeofday working on win32 with cygwin. 2003-05-16 Brouard Nicolas * imach.c (Module): Insert of a warning if the delay between two waves is negative. * imach.c (Module): 2003-05-03 * imach.c: Some cleaning 2003-03-28 * imach.c (Module): In version up to 0.92 likelihood was computed as if date of death was unknown. Death was treated as any other health state: the date of the interview describes the actual state and not the date of a change in health state. The former idea was to consider that at each interview the state was recorded (healthy, disable or death) and IMaCh was corrected; but when we introduced the exact date of death then we should have modified the contribution of an exact death to the likelihood. This new contribution is smaller and very dependent of the step unit stepm. It is no more the probability to die between last interview and month of death but the probability to survive from last interview up to one month before death multiplied by the probability to die within a month. Thanks to Chris Jackson for correcting this bug. Former versions increased mortality artificially. The bad side is that we add another loop which slows down the processing. The difference can be up to 10% lower mortality. 2002-05-30 * * imach.c (Module): Add correlation matrix of one-step probabilities and covariance matrix