Diff for /imach/src/ChangeLog between versions 1.50 and 1.67

version 1.50, 2022/04/13 17:52:55 version 1.67, 2023/05/23 12:25:36
Line 1 Line 1
 2022-04-13  Brouard Nicolas  <brouard@brouard.name>  2023-05-23  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c (Module): Adding link to text data files          * imach.c (Module): Fixed PROB_r 
   
 2022-04-11  Nicolas Brouard   <brouard@ined.fr>  2023-05-22  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c (Module): Error in rewriting the 'r' file with yearsfproj or yearsbproj fixed          * imach.c (Module): In the ILK....txt file, the number of columns
           before the covariates values is dependent of the number of states (16+nlstate): 0.99r46
 2022-04-05  Brouard Nicolas  <brouard@ined.fr>  
   2023-05-08  Nicolas Brouard   <brouard@ined.fr>
         * imach.c (Module): Fixed covariates (dummy or quantitative)  
         with missing values have never been allowed but are ERRORS and          *  (Module): Error V0 when result:. and model 1+age+V1: fixed
         program quits. Standard deviations of fixed covariates were  
         wrongly computed. Mean and standard deviations of time varying  2023-04-29  Nicolas Brouard  <brouard@ined.fr>
         covariates are still not computed.  
           * imach.c (Module): Inverting the model equation and fixingg bugs
 2022-03-17  Brouard Nicolas  <brouard@ined.fr>          in the drawings
           "1+age+V7*V4*age+V6*V4*age+V7*V3*age+V6*V3*age+V6*V2*age+V7*age+V6*age+V4*age+V3*age+V2*age+V7*V4+V6*V4+V7*V3+V6*V3+V7*V2+V6*V2+V7+V6+V4+V3+V2\000\0003+V2"
         * 99r25 Improvements in fixing discrepancies between covariates  
         missing in result line but in model.  2023-04-24  Nicolas Brouard  <brouard@ined.fr>
   
 *Wed Mar 31 2021  Nicolas Brouard   <brouard@ined.fr>          * imach.c (Module): some bugs in printinggnuplot 
         * imach.c (Module): Still bugs in the result loop. Thank to Holly Benett  
   2022-09-19  Nicolas Brouard   <brouard@ined.fr>
 *2021-03-08  Nicolas Brouard   <brouard@ined.fr>  
           * imach.c (Module): Version 0.99r42 needed a newer version of
         * ./ (Module): Fixed bug on result:          Gnuplot. But newer version 0.99r43 should run with the Gnuplot
           version 5.0 or 5.1 distributed with IMaCh.
 *2021-02-20  Nicolas Brouard   <brouard@ined.fr>  
   2022-09-18  Nicolas Brouard   <brouard@ined.fr>
         * imach.c (Module): Fix bug on quitting after result lines!  
         (Module): Version 0.99r21          * imach.c (Module): Fixing when a state in the data is 0 or higher
           than lstate+ndeath. Fixing the plot of contribution to Likelihood.
 2021-02-12  Nicolas Brouard   <brouard@ined.fr>  
   2022-09-16  Nicolas Brouard   <brouard@ined.fr>
         * imach.c (Module): The use of a Windows BOM (huge) file is now an error  
           * imach.c (Module): 0.99r41 Was an error when product of timevarying and fixed. Using FixedV[of name] now. Thank you  Feinuo
   
 2021-02-11  Nicolas  Brouard   <brouard@ined.fr>  2022-09-14  Nicolas Brouard   <brouard@ined.fr>
   
         *  (Module): imach.c Someone entered 'results:' instead of 'result:'. Now it is an error which is printed.          * imach.c (Module): Fixing names of variables in T_ (thanks to Feinuo)
   
 2020-02-22  Brouard Nicolas  <brouard@ined.fr>  2022-09-14  Nicolas Brouard   <brouard@ined.fr>
   
         *  (Module): imach.c Update mle=-3 (for computing Life expectancy          * imach.c (Module): Version 0.99r39 with colored dummy covariates
         and life table from the data without any state)          (fixed or time varying), using new last columns of
           ILK_parameter.txt file.
 2019-05-20  Brouard Nicolas  <brouard@ined.fr>  
   2022-09-11  Nicolas Brouard   <brouard@ined.fr>
         * version.h: Summary: version 0.99.r19  
           * imach.c (Module): Adding timevarying products of any kinds,
         * imach.c: Summary: Projection syntax simplified          should work before shifting cotvar from ncovcol+nqv columns in
         We can now start projections, forward or backward, from the mean date          order to have a correspondance between the column of cotvar and
         of inteviews up to or down to a number of years of projection:          the id of column.
         prevforecast=1 yearsfproj=15.3 mobil_average=0          (Module): Some cleaning and adding covariates in ILK.txt
         or  
         prevforecast=1 starting-proj-date=1/1/2007 final-proj-date=12/31/2017 mobil_average=0  2022-09-09  Nicolas Brouard   <brouard@ined.fr>
         or  
         prevbackcast=1 yearsbproj=12.3 mobil_average=1          * imach.c (Module): Many improvements for fixing products of fixed
         or          timevarying as well as fixed * fixed, and test with quantitative
         prevbackcast=1 starting-back-date=1/10/1999 final-back-date=1/1/1985 mobil_average=1          covariate.
   
 2019-05-18  Brouard Nicolas  <brouard@ined.fr>  2022-09-04  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c: Summary: doxygen tex bug          * imach.c (Module): Now the easy runs i.e. without result or
           model=1+age only did not work. The defautl combination should be 1
 2019-05-16  Brouard Nicolas  <brouard@ined.fr>          and not 0 because everything hasn't been tranformed yet.
   
         * imach.c: Summary: There was some wrong lines added  2022-09-02  Nicolas Brouard   <brouard@ined.fr>
   
 2019-05-09  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Version 0.99r35 because it outputs same results with
           1+age+V1+V1*age for females and 1+age for females only
         * Makefile, imach.c: *** empty log message ***          (education=1 noweight)
   
         * ChangeLog: Summary: C=  2022-08-31  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c: Summary: Some updates          * imach.c (Module): Some improvments in fichtm and many verifications 0.99r34
   
         * imach.c: Summary: Before ncovmax  2022-08-21  Nicolas Brouard   <brouard@ined.fr>
   
         * version.h: *** empty log message ***          * imach.c (Module): Version 0.99r33 A lot of changes in
           reassigning covariates: my first idea was that people will always
         * imach.c: Summary: 0.99r18 unlimited number of individuals          use the first covariate V1 into the model but in fact they are
         The number n which was limited to 20,000 cases is now unlimited, from firstobs to lastobs. If the number is too for the virtual memory, probably an error will occur.          producing data with many covariates and can use an equation model
           with some of the covariate; it means that in a model V2+V3 instead
 2018-12-13  Brouard Nicolas  <brouard@ined.fr>          of codtabm(k,Tvaraff[j]) which calculates for combination k, for
           three covariates (V1, V2, V3) the value of Tvaraff[j], but in fact
         * imach.c: Summary: Bug for young ages (<-30) will be in r17          the equation model is restricted to two variables only (V2, V3)
           and the combination for V2 should be codtabm(k,1) instead of
 2018-12-05  Brouard Nicolas  <brouard@ined.fr>          (codtabm(k,2), and the code should be
           codtabm(k,TnsdVar[Tvaraff[j]]. Many many changes have been
         * Makefile: Summary: 0.99r16          made. All of these should be simplified once a day like we did in
           hpxij() for example by using precov[nres] which is computed in
 2018-05-02  Brouard Nicolas  <brouard@ined.fr>          decoderesult for each nres of each resultline. Loop should be done
           on the equation model globally by distinguishing only product with
         * imach.c: Summary: Some bugs fixed          age (which are changing with age) and no more on type of
           covariates, single dummies, single covariates. 
 2018-05-02  Brouard Nicolas  <brouard@ined.fr>  
   2022-08-06  Nicolas Brouard   <brouard@ined.fr>
         * imach.c:  Summary: Bug for young ages (<-30) will be in r17  
           *  imach.c (Module): Version of imach using partly decoderesult to rebuild xpxij function
 2018-05-02  Brouard Nicolas  <brouard@ined.fr>  
   2022-08-03  Nicolas Brouard   <brouard@ined.fr>
         * imach.c: Summary: Some bugs fixed  
           *  imach.c (Module): Many errors in graphs fixed with Vn*age covariates.
 2018-05-01  Brouard Nicolas  <brouard@ined.fr>  
   2022-07-25  Brouard Nicolas  <brouard@brouard.name>
         * imach.c:  
         Summary: Bug fixed by providing frequencies only for non missing covariates          * imach.c (Module): Error cptcovn instead of nsd in bmij (was
           coredumped, revealed by Feiuno, thank you.
 2018-04-27  Brouard Nicolas  <brouard@ined.fr>  
   2022-07-23  Nicolas Brouard   <brouard@ined.fr>
         * imach.c: Summary: some minor bugs  
           * r29 W and not sqrt(Wald)
 2018-04-21  Brouard Nicolas  <brouard@ined.fr>  
   2022-07-22  Nicolas Brouard   <brouard@ined.fr>
         * README.txt: *** empty log message ***  
           *  imach.c (Module): Output of Wald test in the htm file and not only in the log. 
         * imach.c: Summary: Some bugs fixed, valgrind tested  
   2022-06-02  Brouard Nicolas  <brouard@brouard.name>
 2018-04-20  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c (Module): Adding the Wald tests from the log to the main
         * Makefile, README.txt, setup.iss: Summary: imach 0.99r16          htm for better display of the maximum likelihood estimators.
   
         * imach.c:  2022-05-30  Brouard Nicolas  <brouard@brouard.name>
         Summary: Computing mean and stdeviation of fixed quantitative variables  
           * imach.c: With products of covariates (age or dummies or
 2018-04-19  Brouard Nicolas  <brouard@ined.fr>          quantitatives), estimates of parameters were good but when
           estimating variances the positions of newly created covariates
         * imach.c: Summary: Some minor bugs fixed          were wrongly assigned and results were wrong. Thank to Feinua_Sun!
   
         * version.h: *** empty log message ***  2022-05-24  Nicolas Brouard   <brouard@ined.fr>
   
 2018-02-27  Brouard Nicolas  <brouard@ined.fr>          * imach.c (Module): Some attempts to find a bug of wrong estimates
           of confidencce intervals with product in the equation modelC
         * imach.c: *** empty log message ***  
   2022-05-15  Nicolas Brouard   <brouard@ined.fr>
         * imach.c: Summary: Adding second argument for quitting  
           * imach.c (Module):  Some minor improvements
 2018-02-21  Brouard Nicolas  <brouard@ined.fr>  
   2022-04-13  Brouard Nicolas  <brouard@brouard.name>
         * Makefile, README.txt, imach.c: Summary: 0.99r15  
         New Makefile with recent VirtualBox 5.26. Bug in sqrt negatve in imach.c          * imach.c (Module): Adding link to text data files
   
 2017-07-20  Brouard Nicolas  <brouard@ined.fr>  2022-04-11  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c: Summary: temporary working          * imach.c (Module): Error in rewriting the 'r' file with yearsfproj or yearsbproj fixed
   
 2017-07-19  Brouard Nicolas  <brouard@ined.fr>  2022-04-05  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Bug for mobil_average=0 and prevforecast fixed(?)          * imach.c (Module): Fixed covariates (dummy or quantitative)
           with missing values have never been allowed but are ERRORS and
 2017-07-17  Brouard Nicolas  <brouard@ined.fr>          program quits. Standard deviations of fixed covariates were
           wrongly computed. Mean and standard deviations of time varying
         * imach.c: Summary: BOM files can be read now          covariates are still not computed.
   
 2017-06-30  Brouard Nicolas  <brouard@ined.fr>  2022-03-17  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Graphs improvements          * 99r25 Improvements in fixing discrepancies between covariates
           missing in result line but in model. 
         * imach.c: Summary: Saito's color  
   *Wed Mar 31 2021  Nicolas Brouard   <brouard@ined.fr>
 2017-06-29  Brouard Nicolas  <brouard@ined.fr>          * imach.c (Module): Still bugs in the result loop. Thank to Holly Benett
   
         * imach.c: Summary: Version 0.99r14  *2021-03-08  Nicolas Brouard   <brouard@ined.fr>
   
 2017-06-27  Brouard Nicolas  <brouard@ined.fr>          * ./ (Module): Fixed bug on result:
   
         * imach.c: Summary: More documentation on projections  *2021-02-20  Nicolas Brouard   <brouard@ined.fr>
   
         * imach.c: Summary: Color of backprojection changed from 6 to 5(yellow)          * imach.c (Module): Fix bug on quitting after result lines!
           (Module): Version 0.99r21
         * imach.c: Summary: Some bug with rint  
   2021-02-12  Nicolas Brouard   <brouard@ined.fr>
 2017-05-24  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c (Module): The use of a Windows BOM (huge) file is now an error
         * imach.c: *** empty log message ***  
   
 2017-05-23  Brouard Nicolas  <brouard@ined.fr>  2021-02-11  Nicolas  Brouard   <brouard@ined.fr>
   
         * imach.c: Summary: Code into subroutine, cleanings          *  (Module): imach.c Someone entered 'results:' instead of 'result:'. Now it is an error which is printed.
   
 2017-05-18  Brouard Nicolas  <brouard@ined.fr>  2020-02-22  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c:          *  (Module): imach.c Update mle=-3 (for computing Life expectancy
         Summary: backprojection and confidence intervals of backprevalence          and life table from the data without any state)
   
 2017-05-13  Brouard Nicolas  <brouard@ined.fr>  2019-05-20  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: temporary save for backprojection          * version.h: Summary: version 0.99.r19
   
         * imach.c: Summary: Version 0.99r13 (improvements and bugs fixed)          * imach.c: Summary: Projection syntax simplified
           We can now start projections, forward or backward, from the mean date
 2017-04-26  Brouard Nicolas  <brouard@ined.fr>          of inteviews up to or down to a number of years of projection:
           prevforecast=1 yearsfproj=15.3 mobil_average=0
         * imach.c: Summary: imach 0.99r13 Some bugs fixed          or
           prevforecast=1 starting-proj-date=1/1/2007 final-proj-date=12/31/2017 mobil_average=0
         * imach.c: Summary: Labels in graphs          or
           prevbackcast=1 yearsbproj=12.3 mobil_average=1
 2017-04-24  Brouard Nicolas  <brouard@ined.fr>          or
           prevbackcast=1 starting-back-date=1/10/1999 final-back-date=1/1/1985 mobil_average=1
         * imach.c: Summary: to save  
   2019-05-18  Brouard Nicolas  <brouard@ined.fr>
 2017-04-18  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: Summary: doxygen tex bug
         * imach.c: *** empty log message ***  
   2019-05-16  Brouard Nicolas  <brouard@ined.fr>
 2017-04-05  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: Summary: There was some wrong lines added
         * imach.c: Summary: Bug in E_ as well as in T_ fixed nres-1 vs k1-1  
   2019-05-09  Brouard Nicolas  <brouard@ined.fr>
 2017-04-04  Brouard Nicolas  <brouard@ined.fr>  
           * Makefile, imach.c: *** empty log message ***
         * imach.c: Summary: Gnuplot indexations fixed (humm)  
           * ChangeLog: Summary: C=
         * imach.c:  
         Summary: Some errors to warnings only if date of death is unknown but status is death we could set to pi3          * imach.c: Summary: Some updates
   
 2017-04-03  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Before ncovmax
   
         * imach.c: Summary: Version 0.99r12          * version.h: *** empty log message ***
         Some cleanings, conformed with updated documentation.  
           * imach.c: Summary: 0.99r18 unlimited number of individuals
 2017-03-30  Brouard Nicolas  <brouard@ined.fr>          The number n which was limited to 20,000 cases is now unlimited, from firstobs to lastobs. If the number is too for the virtual memory, probably an error will occur.
   
         * version.h: *** empty log message ***  2018-12-13  Brouard Nicolas  <brouard@ined.fr>
   
         * version.h: Summary:0.99r11          * imach.c: Summary: Bug for young ages (<-30) will be in r17
   
 2017-03-29  Brouard Nicolas  <brouard@ined.fr>  2018-12-05  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Temp          * Makefile: Summary: 0.99r16
   
 2017-03-27  Brouard Nicolas  <brouard@ined.fr>  2018-05-02  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Temporary          * imach.c: Summary: Some bugs fixed
   
 2017-03-08  Brouard Nicolas  <brouard@ined.fr>  2018-05-02  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: IMaCh version 0.99r10 bugs in gnuplot fixed          * imach.c:  Summary: Bug for young ages (<-30) will be in r17
   
         * imach.c: Summary: Fixing data parameter line  2018-05-02  Brouard Nicolas  <brouard@ined.fr>
   
 2016-12-15  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Some bugs fixed
   
         * imach.c: Summary: 0.99 in progress  2018-05-01  Brouard Nicolas  <brouard@ined.fr>
   
 2016-09-15  Brouard Nicolas  <brouard@ined.fr>          * imach.c:
           Summary: Bug fixed by providing frequencies only for non missing covariates
         * imach.c: *** empty log message ***  
   2018-04-27  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: not working  
           * imach.c: Summary: some minor bugs
 2016-09-08  Brouard Nicolas  <brouard@ined.fr>  
   2018-04-21  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: continue  
           * README.txt: *** empty log message ***
 2016-09-07  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: Summary: Some bugs fixed, valgrind tested
         * imach.c: Summary: Starting values from frequencies  
   2018-04-20  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: *** empty log message ***  
           * Makefile, README.txt, setup.iss: Summary: imach 0.99r16
 2016-09-02  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c:
         * imach.c: *** empty log message ***          Summary: Computing mean and stdeviation of fixed quantitative variables
   
 2016-08-30  Brouard Nicolas  <brouard@ined.fr>  2018-04-19  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Fixing a lots          * imach.c: Summary: Some minor bugs fixed
   
 2016-08-29  Brouard Nicolas  <brouard@ined.fr>          * version.h: *** empty log message ***
   
         * imach.c: Summary: gnuplot problem in Back projection to fix  2018-02-27  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Better          * imach.c: *** empty log message ***
   
 2016-08-26  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Adding second argument for quitting
   
         * imach.c:  2018-02-21  Brouard Nicolas  <brouard@ined.fr>
         Summary: Improvement in Powell output in order to copy and paste  
           * Makefile, README.txt, imach.c: Summary: 0.99r15
         * imach.c: Summary: Starting tests of 0.99          New Makefile with recent VirtualBox 5.26. Bug in sqrt negatve in imach.c
   
         * imach.c: Summary: to valgrind  2017-07-20  Brouard Nicolas  <brouard@ined.fr>
   
 2016-08-25  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: temporary working
   
         * imach.c: *** empty log message ***  2017-07-19  Brouard Nicolas  <brouard@ined.fr>
   
 2016-08-23  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Bug for mobil_average=0 and prevforecast fixed(?)
   
         * imach.c: *** empty log message ***  2017-07-17  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: not working          * imach.c: Summary: BOM files can be read now
   
 2016-08-22  Brouard Nicolas  <brouard@ined.fr>  2017-06-30  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: not working          * imach.c: Summary: Graphs improvements
   
         * imach.c: Summary: Not working          * imach.c: Summary: Saito's color
   
 2016-07-23  Brouard Nicolas  <brouard@ined.fr>  2017-06-29  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Completing for func too          * imach.c: Summary: Version 0.99r14
   
 2016-07-22  Brouard Nicolas  <brouard@ined.fr>  2017-06-27  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Fixing some arrays, still debugging          * imach.c: Summary: More documentation on projections
   
 2016-07-21  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Color of backprojection changed from 6 to 5(yellow)
   
         * imach.c:          * imach.c: Summary: Some bug with rint
         Summary: 0.99 working (more or less) for Asian Workshop on multitate methods  
   2017-05-24  Brouard Nicolas  <brouard@ined.fr>
 2016-07-12  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: *** empty log message ***
         * imach.c: Summary: temp  
   2017-05-23  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: saving but not running  
           * imach.c: Summary: Code into subroutine, cleanings
 2016-07-01  Brouard Nicolas  <brouard@ined.fr>  
   2017-05-18  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: Fixes  
           * imach.c:
 2016-02-19  Brouard Nicolas  <brouard@ined.fr>          Summary: backprojection and confidence intervals of backprevalence
   
         * imach-0.98r.c: Summary: Kind of 0.98r? series, starting with r7  2017-05-13  Brouard Nicolas  <brouard@ined.fr>
   
         * setup.iss, Makefile, version.h: *** empty log message ***          * imach.c: Summary: temporary save for backprojection
   
         * imach.c: Summary: temporary          * imach.c: Summary: Version 0.99r13 (improvements and bugs fixed)
   
 2016-02-17  Brouard Nicolas  <brouard@ined.fr>  2017-04-26  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Probably last 0.98 stable version 0.98r6          * imach.c: Summary: imach 0.99r13 Some bugs fixed
   
 2016-02-16  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Labels in graphs
   
         * imach.c: Summary: minor bug  2017-04-24  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: 0.99r2          * imach.c: Summary: to save
   
 2016-02-15  Brouard Nicolas  <brouard@ined.fr>  2017-04-18  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: *** empty log message ***          * imach.c: *** empty log message ***
   
 2016-02-12  Brouard Nicolas  <brouard@ined.fr>  2017-04-05  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: 0.99 Back projections          * imach.c: Summary: Bug in E_ as well as in T_ fixed nres-1 vs k1-1
   
 2015-12-23  Brouard Nicolas  <brouard@ined.fr>  2017-04-04  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Experimental backcast          * imach.c: Summary: Gnuplot indexations fixed (humm)
   
 2015-12-18  Brouard Nicolas  <brouard@ined.fr>          * imach.c:
           Summary: Some errors to warnings only if date of death is unknown but status is death we could set to pi3
         * imach.c: Summary: 0.98r4 Warning and status=-2  
   2017-04-03  Brouard Nicolas  <brouard@ined.fr>
         Version 0.98r4 is now:  
          - displaying an error when status is -1, date of interview unknown and date of death known;          * imach.c: Summary: Version 0.99r12
          - permitting a status -2 when the vital status is unknown at a known date of right truncation.          Some cleanings, conformed with updated documentation.
         Older changes concerning s=-2, dating from 2005 have been supersed.  
   2017-03-30  Brouard Nicolas  <brouard@ined.fr>
         * Makefile: *** empty log message ***  
           * version.h: *** empty log message ***
 2015-12-16  Brouard Nicolas  <brouard@ined.fr>  
           * version.h: Summary:0.99r11
         * Makefile: *** empty log message ***  
   2017-03-29  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: 0.98r4 working  
           * imach.c: Summary: Temp
         * Makefile: Summary: linuxrpm added  
   2017-03-27  Brouard Nicolas  <brouard@ined.fr>
         * Makefile: *** empty log message ***  
           * imach.c: Summary: Temporary
         * imach.c: Summary: temporary not working  
   2017-03-08  Brouard Nicolas  <brouard@ined.fr>
 2015-12-11  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: Summary: IMaCh version 0.99r10 bugs in gnuplot fixed
         * imach.c: Summary: 0.98r4  
           * imach.c: Summary: Fixing data parameter line
 2015-12-08  Brouard Nicolas  <brouard@ined.fr>  
   2016-12-15  Brouard Nicolas  <brouard@ined.fr>
         * Makefile: *** empty log message ***  
           * imach.c: Summary: 0.99 in progress
 2015-11-21  Brouard Nicolas  <brouard@ined.fr>  
   2016-09-15  Brouard Nicolas  <brouard@ined.fr>
         * Makefile:  
         Summary: VBoxManage change from execute --image to run --exe and --wait-exit doesn't exist any more          * imach.c: *** empty log message ***
   
         * imach.c: Summary: minor typo          * imach.c: Summary: not working
   
         * imach.c: Summary: 0.98r3 with some graph of projected cross-sectional  2016-09-08  Brouard Nicolas  <brouard@ined.fr>
   
         Author: Nicolas Brouard          * imach.c: Summary: continue
   
 2015-11-18  Brouard Nicolas  <brouard@ined.fr>  2016-09-07  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Start working on projected prevalences          * imach.c: Summary: Starting values from frequencies
   
 2015-11-17  Brouard Nicolas  <brouard@ined.fr>          * imach.c: *** empty log message ***
   
         * imach.c: Summary: Adding ftolpl parameter  2016-09-02  Brouard Nicolas  <brouard@ined.fr>
         Author: N Brouard  
           * imach.c: *** empty log message ***
         We had difficulties to get smoothed confidence intervals. It was due  
         to the period prevalence which wasn't computed accurately. The inner  2016-08-30  Brouard Nicolas  <brouard@ined.fr>
         parameter ftolpl is now an outer parameter of the .imach parameter  
         file after estepm. If ftolpl is small 1.e-4 and estepm too,          * imach.c: Summary: Fixing a lots
         computation are long.  
   2016-08-29  Brouard Nicolas  <brouard@ined.fr>
         * version.h: *** empty log message ***  
           * imach.c: Summary: gnuplot problem in Back projection to fix
         * imach.c: Summary: temporary  
           * imach.c: Summary: Better
 2015-10-27  Brouard Nicolas  <brouard@ined.fr>  
   2016-08-26  Brouard Nicolas  <brouard@ined.fr>
         * Makefile: *** empty log message ***  
           * imach.c:
         * setup.iss.in: Summary: some new subdirs          Summary: Improvement in Powell output in order to copy and paste
   
         * imach.c: *** empty log message ***          * imach.c: Summary: Starting tests of 0.99
   
         * setup.iss.in:          * imach.c: Summary: to valgrind
         Summary: Adding gnuplot 5.1 with bin and etc for pango fonts  
   2016-08-25  Brouard Nicolas  <brouard@ined.fr>
 2015-10-24  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: *** empty log message ***
         * imach.c: *** empty log message ***  
   2016-08-23  Brouard Nicolas  <brouard@ined.fr>
 2015-10-23  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: *** empty log message ***
         * imach.c:  
         Summary: 0.98r3 some clarification for graphs on likelihood contributions          * imach.c: Summary: not working
   
 2015-10-01  Brouard Nicolas  <brouard@ined.fr>  2016-08-22  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c: Summary: Some new graphs of contribution to likelihood          * imach.c: Summary: not working
   
 2015-09-30  Brouard Nicolas  <brouard@ined.fr>          * imach.c: Summary: Not working
   
         * Makefile:  2016-07-23  Brouard Nicolas  <brouard@ined.fr>
         Summary: Version read from version.h, itself read with cmake  
           * imach.c: Summary: Completing for func too
         * imach.c: Summary: looking at better estimation of the hessian  
   2016-07-22  Brouard Nicolas  <brouard@ined.fr>
         Also a better criteria for convergence to the period prevalence And  
         therefore adding the number of years needed to converge. (The          * imach.c: Summary: Fixing some arrays, still debugging
         prevalence in any alive state shold sum to one  
   2016-07-21  Brouard Nicolas  <brouard@ined.fr>
         * Makefile: *** empty log message ***  
           * imach.c:
 2015-09-22  Brouard Nicolas  <brouard@ined.fr>          Summary: 0.99 working (more or less) for Asian Workshop on multitate methods
   
         * imach.c:  2016-07-12  Brouard Nicolas  <brouard@ined.fr>
         Summary: Adding some overall graph on contribution to likelihood. Might change  
           * imach.c: Summary: temp
 2015-09-15  Brouard Nicolas  <brouard@ined.fr>  
           * imach.c: Summary: saving but not running
         * Makefile: *** empty log message ***  
   2016-07-01  Brouard Nicolas  <brouard@ined.fr>
         * imach.c: Summary: 0.98r0  
           * imach.c: Summary: Fixes
         - Some new graphs like survival functions  
         - Some bugs fixed like model=1+age+V2.  2016-02-19  Brouard Nicolas  <brouard@ined.fr>
   
         * ChangeLog, Makefile: Summary: 0.98r0          * imach-0.98r.c: Summary: Kind of 0.98r? series, starting with r7
   
         * CMakeLists.txt: Summary: Some tests for setup.iss          * setup.iss, Makefile, version.h: *** empty log message ***
   
 2015-09-15  Nicolas J Brouard   <nbrouard@tugault.ined.fr>          * imach.c: Summary: temporary
   
         *  (Module): 0.98r0 Some new graphs, some bugs fixed: model=1+age+V2. etc  2016-02-17  Brouard Nicolas  <brouard@ined.fr>
   
 2015-08-18  Nicolas J Brouard   <nbrouard@tugault.local>          * imach.c: Summary: Probably last 0.98 stable version 0.98r6
   
         *  (Module): Adding error when the covariance matrix doesn't contain the exact number of lines required by the model line.  2016-02-16  Brouard Nicolas  <brouard@ined.fr>
   
 2015-08-03  Nicolas J Brouard   <nbrouard@tugault.ined.fr>          * imach.c: Summary: minor bug
   
         *  (Module): Changing Variance of one-step probabilities into Standard deviation (thanks to Yao-Chi Shih)          * imach.c: Summary: 0.99r2
   
 2014-12-16  Nicolas J Brouard   <nbrouard@tugault.local>  2016-02-15  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c (Module): Merging 1.61 to 1.162          * imach.c: *** empty log message ***
   
 2014-09-02  Nicolas J Brouard   <nbrouard@njbrouard.ined.fr>  2016-02-12  Brouard Nicolas  <brouard@ined.fr>
   
         * prevlim.h (Module):          * imach.c: Summary: 0.99 Back projections
   
 2014-01-26  Nicolas J Brouard   <nbrouard@ledermann-2.local>  2015-12-23  Brouard Nicolas  <brouard@ined.fr>
   
         * imach.c (Module): Trying to merge old staffs together while being at Tokyo. Not tested...          * imach.c: Summary: Experimental backcast
         (Module): Version 0.98nR Running ok, but output format still only works for three covariates.  
   2015-12-18  Brouard Nicolas  <brouard@ined.fr>
 2010-04-29  brouard  <brouard@ined.fr>  
           * imach.c: Summary: 0.98r4 Warning and status=-2
         * imach.c (Module): Checking covariates for more complex models  
         than V1+V2. A lot of change to be done. Unstable.          Version 0.98r4 is now:
            - displaying an error when status is -1, date of interview unknown and date of death known;
 2010-04-26  brouard  <brouard@ined.fr>           - permitting a status -2 when the vital status is unknown at a known date of right truncation.
           Older changes concerning s=-2, dating from 2005 have been supersed.
         * imach.c (Module): merging some libgsl code. Fixing computation  
         of likelione (using inter/intrapolation if mle = 0) in order to          * Makefile: *** empty log message ***
         get same likelihood as if mle=1.  
         Some cleaning of code and comments added.  2015-12-16  Brouard Nicolas  <brouard@ined.fr>
   
 2009-10-29  brouard  <brouard@ined.fr>          * Makefile: *** empty log message ***
   
         * imach.c (Module): Now imach stops if date of birth, at least year of birth, is not given. Some cleaning of the code.          * imach.c: Summary: 0.98r4 working
   
 2006-06-30  Brouard Nicolas  <brouard@localhost>          * Makefile: Summary: linuxrpm added
   
         * imach.c (Module): Clarifications on computing e.j          * Makefile: *** empty log message ***
   
 2006-04-28  Brouard Nicolas  <brouard@localhost>          * imach.c: Summary: temporary not working
   
         * imach.c (Module): Yes the sum of survivors was wrong since  2015-12-11  Brouard Nicolas  <brouard@ined.fr>
         imach-114 because nhstepm was no more computed in the age  
         loop. Now we define nhstepma in the age loop.          * imach.c: Summary: 0.98r4
         (Module): In order to speed up (in case of numerous covariates) we  
         compute health expectancies (without variances) in a first step  2015-12-08  Brouard Nicolas  <brouard@ined.fr>
         and then all the health expectancies with variances or standard  
         deviation (needs data from the Hessian matrices) which slows the          * Makefile: *** empty log message ***
         computation.  
         In the future we should be able to stop the program is only health  2015-11-21  Brouard Nicolas  <brouard@ined.fr>
         expectancies and graph are needed without standard deviations.  
           * Makefile:
 2006-04-04  LIEVRE Agnes  <lievre@PC_00697.ined.fr>          Summary: VBoxManage change from execute --image to run --exe and --wait-exit doesn't exist any more
   
         * imach.iss (Module):          * imach.c: Summary: minor typo
   
         * imach.c (Module): bugs in evsi + population file added in htm output file          * imach.c: Summary: 0.98r3 with some graph of projected cross-sectional
   
 2006-03-22  LIEVRE Agnes  <lievre@PC_00697.ined.fr>          Author: Nicolas Brouard
   
         * imach.c (Module):  2015-11-18  Brouard Nicolas  <brouard@ined.fr>
   
 2006-03-20  Brouard Nicolas  <brouard@localhost>          * imach.c: Summary: Start working on projected prevalences
   
         * imach.c (Module): <title> changed, corresponds to .htm file  2015-11-17  Brouard Nicolas  <brouard@ined.fr>
         name. <head> headers where missing.  
           * imach.c: Summary: Adding ftolpl parameter
         * Makefile (Module): 0.98g          Author: N Brouard
   
         * imach.c (Module): Weights can have a decimal point as for          We had difficulties to get smoothed confidence intervals. It was due
         English (a comma might work with a correct LC_NUMERIC environment,          to the period prevalence which wasn't computed accurately. The inner
         otherwise the weight is truncated).          parameter ftolpl is now an outer parameter of the .imach parameter
         Modification of warning when the covariates values are not 0 or          file after estepm. If ftolpl is small 1.e-4 and estepm too,
         1.          computation are long.
         Version 0.98g  
           * version.h: *** empty log message ***
 2006-03-16  LIEVRE Agnes  <lievre@PC_00697.ined.fr>  
           * imach.c: Summary: temporary
         * imach.c (Module): Comments concerning covariates added  
   2015-10-27  Brouard Nicolas  <brouard@ined.fr>
         * noreg-setup.iss (Module): Version 0.98f  
           * Makefile: *** empty log message ***
         * Makefile (Module): Version 0.98f make _windows=1 imachcyg-setup  
           * setup.iss.in: Summary: some new subdirs
         * imach.c (Module): refinements in the computation of lli if  
         status=-2 in order to have more reliable computation if stepm is          * imach.c: *** empty log message ***
         not 1 month. Version 0.98f  
           * setup.iss.in:
 2006-03-15  Brouard Nicolas  <brouard@localhost>          Summary: Adding gnuplot 5.1 with bin and etc for pango fonts
   
         * imach.c (Module): Bug if status = -2, the loglikelihood was  2015-10-24  Brouard Nicolas  <brouard@ined.fr>
         computed as likelihood omitting the logarithm. Version O.98e  
           * imach.c: *** empty log message ***
 2006-03-14  Brouard Nicolas  <brouard@localhost>  
   2015-10-23  Brouard Nicolas  <brouard@ined.fr>
         * imach.c (Module): varevsij Comments added explaining the second  
         table of variances if popbased=1 .          * imach.c:
         (Module): Covariances of eij, ekl added, graphs fixed, new html link.          Summary: 0.98r3 some clarification for graphs on likelihood contributions
         (Module): Function pstamp added  
         (Module): Version 0.98d  2015-10-01  Brouard Nicolas  <brouard@ined.fr>
   
 2006-03-06  Brouard Nicolas  <brouard@localhost>          * imach.c: Summary: Some new graphs of contribution to likelihood
   
         * imach.c (Module): Variance-covariance wrong links and  2015-09-30  Brouard Nicolas  <brouard@ined.fr>
         varian-covariance of ej. is needed (Saito).  
           * Makefile:
 2006-02-27  Brouard Nicolas  <brouard@localhost>          Summary: Version read from version.h, itself read with cmake
   
         * imach.c (Module): One freematrix added in mlikeli!          * imach.c: Summary: looking at better estimation of the hessian
   
 2006-02-26  Brouard Nicolas  <brouard@localhost>          Also a better criteria for convergence to the period prevalence And
           therefore adding the number of years needed to converge. (The
         * imach.c (Module): Some improvements in processing parameter          prevalence in any alive state shold sum to one
         filename with strsep.  
           * Makefile: *** empty log message ***
 2006-02-24  Brouard Nicolas  <brouard@localhost>  
   2015-09-22  Brouard Nicolas  <brouard@ined.fr>
         * imach.c (Module): Memory leaks checks with valgrind and:  
         datafile was not closed, some imatrix were not freed and on matrix          * imach.c:
         allocation too.          Summary: Adding some overall graph on contribution to likelihood. Might change
   
 2006-02-09  LIEVRE Agnes  <lievre@PC_00697.ined.fr>  2015-09-15  Brouard Nicolas  <brouard@ined.fr>
   
         * strsep.c (Module): Inclusion because not in mingw32!!!          * Makefile: *** empty log message ***
   
         * setup.iss.in (Module): IMACHSETUPVERSION added          * imach.c: Summary: 0.98r0
   
         * noreg-setup.iss (Module): added to cvs tree          - Some new graphs like survival functions
           - Some bugs fixed like model=1+age+V2.
         * Makefile (Module): IMACHSETUPVERSION added  
           * ChangeLog, Makefile: Summary: 0.98r0
 2006-01-30  BROUARD Nicolas  <brouard@localhost>  
           * CMakeLists.txt: Summary: Some tests for setup.iss
         * Makefile (Module, Module): Latest Makefile  
   2015-09-15  Nicolas J Brouard   <nbrouard@tugault.ined.fr>
         * imach.c (Module): Back to gnuplot.exe instead of wgnuplot.exe  
           *  (Module): 0.98r0 Some new graphs, some bugs fixed: model=1+age+V2. etc
 2006-01-27  BROUARD Nicolas  <brouard@localhost>  
   2015-08-18  Nicolas J Brouard   <nbrouard@tugault.local>
         * noreg-setup.iss (Module): ADDED  
           *  (Module): Adding error when the covariance matrix doesn't contain the exact number of lines required by the model line.
 2006-01-24  BROUARD Nicolas  <brouard@localhost>  
   2015-08-03  Nicolas J Brouard   <nbrouard@tugault.ined.fr>
         * imach.c (Module): Comments (lines starting with a #) are allowed in data.  
           *  (Module): Changing Variance of one-step probabilities into Standard deviation (thanks to Yao-Chi Shih)
 2005-10-25  Nicolas Brouard  <brouard@dhcp171.recherche.ined.fr>  
   2014-12-16  Nicolas J Brouard   <nbrouard@tugault.local>
         * Makefile (Module): Added Imach98.pmsp and howto crete a dmg  
           * imach.c (Module): Merging 1.61 to 1.162
         * createdmg.sh (Module): Creates a dmg disk for MaC OS/X  
   2014-09-02  Nicolas J Brouard   <nbrouard@njbrouard.ined.fr>
 2005-09-30    <lievre@PC_00595>  
           * prevlim.h (Module): 
         * imach.c (Module): sump fixed, loop imx fixed, and simplifications.  
         (Module): If the status is missing at the last wave but we know  2014-01-26  Nicolas J Brouard   <nbrouard@ledermann-2.local>
         that the person is alive, then we can code his/her status as -2  
         (instead of missing=-1 in earlier versions) and his/her          * imach.c (Module): Trying to merge old staffs together while being at Tokyo. Not tested...
         contributions to the likelihood is 1 - Prob of dying from last          (Module): Version 0.98nR Running ok, but output format still only works for three covariates.
         health status (= 1-p13= p11+p12 in the easiest case of somebody in  
         the healthy state at last known wave). Version is 0.98  2010-04-29  brouard  <brouard@ined.fr>
   
 2004-05-20  Brouard Nicolas  <brouard@localhost>          * imach.c (Module): Checking covariates for more complex models
           than V1+V2. A lot of change to be done. Unstable.
         * imach.c (Repository):  
         Agnes added a direct estimation of mortality (without the need of  2010-04-26  brouard  <brouard@ined.fr>
         computing period prevalence and differential mortality). Thus here  
         is version 0.97a which has been distributed to some people at          * imach.c (Module): merging some libgsl code. Fixing computation
         REVES 16 in Brugge using an Inno setup.exe for PCs. Estimates of          of likelione (using inter/intrapolation if mle = 0) in order to
         mortality using covariates is not done today. Estimating direct          get same likelihood as if mle=1.
         mortality is a very different process because it doesn't need          Some cleaning of code and comments added.
         interpolation because it is easy to get the lx from the force of  
         the mortality mux in the simplest case as for a Gompertz (log mux  2009-10-29  brouard  <brouard@ined.fr>
         = a + b*x . But we have been able to incorporate the new code  
         within former imach program (0.96d) without deteriorating too much          * imach.c (Module): Now imach stops if date of birth, at least year of birth, is not given. Some cleaning of the code.
         the understanding of the program.  
   2006-06-30  Brouard Nicolas  <brouard@localhost>
 2003-06-25    <brouard@BROUARD>  
           * imach.c (Module): Clarifications on computing e.j
         * imach.c (Module): On windows (cygwin) function asctime_r doesn't  
         exist so I changed back to asctime which exists.  2006-04-28  Brouard Nicolas  <brouard@localhost>
         (Module): Version 0.96b  
           * imach.c (Module): Yes the sum of survivors was wrong since
 2003-06-24    <brouard@BROUARD>          imach-114 because nhstepm was no more computed in the age
           loop. Now we define nhstepma in the age loop.
         * imach.c (Module): Some bugs corrected for windows. Also, when          (Module): In order to speed up (in case of numerous covariates) we
         mle=-1 a template is output in file "or"mypar.txt with the design          compute health expectancies (without variances) in a first step
         of the covariance matrix to be input.          and then all the health expectancies with variances or standard
           deviation (needs data from the Hessian matrices) which slows the
 2003-06-25  Brouard Nicolas  <brouard@homebrou>          computation.
           In the future we should be able to stop the program is only health
         * imach.c (Repository): Duplicated warning errors corrected.          expectancies and graph are needed without standard deviations.
         (Repository): Elapsed time after each iteration is now output. It  
         helps to forecast when convergence will be reached. Elapsed time  2006-04-04  LIEVRE Agnes  <lievre@PC_00697.ined.fr>
         is stamped in powell.  We created a new html file for the graphs  
         concerning matrix of covariance. It has extension -cov.htm.          * imach.iss (Module): 
   
 2003-06-23  Brouard Nicolas  <brouard@homebrou>          * imach.c (Module): bugs in evsi + population file added in htm output file
   
         * 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.  2006-03-22  LIEVRE Agnes  <lievre@PC_00697.ined.fr>
   
 2003-06-18  Brouard Nicolas  <brouard@homebrou>          * imach.c (Module): 
   
         * imach.c (Repository): Suppress abusive calls to append to file html (solution was to put fichtm as a global variable. Version 0.96  2006-03-20  Brouard Nicolas  <brouard@localhost>
   
 2003-06-17  Brouard Nicolas  <brouard@homebrou>          * imach.c (Module): <title> changed, corresponds to .htm file
           name. <head> headers where missing.
   
         * imach.c (Repository): Check when date of death was earlier that          * Makefile (Module): 0.98g
         current date of interview. It may happen when the death was just  
         prior to the death. In this case, dh was negative and likelihood          * imach.c (Module): Weights can have a decimal point as for
         was wrong (infinity). We still send an "Error" but patch by          English (a comma might work with a correct LC_NUMERIC environment,
         assuming that the date of death was just one stepm after the          otherwise the weight is truncated).
         interview.          Modification of warning when the covariates values are not 0 or
         (Repository): Because some people have very long ID (first column)          1. 
         we changed int to long in num[] and we added a new lvector for          Version 0.98g
         memory allocation. But we also truncated to 8 characters (left  
         truncation)  2006-03-16  LIEVRE Agnes  <lievre@PC_00697.ined.fr>
   
         (Repository): No more line truncation errors.          * imach.c (Module): Comments concerning covariates added
   
 2003-06-14  Brouard Nicolas  <brouard@homebrou>          * noreg-setup.iss (Module): Version 0.98f
   
         * imach.c (Repository): Add of a routine likelione (likelihood          * Makefile (Module): Version 0.98f make _windows=1 imachcyg-setup
         only once) which prints on a text file  
         (ilk) the contributions to the likelihood for each          * imach.c (Module): refinements in the computation of lli if
         individual/wave.          status=-2 in order to have more reliable computation if stepm is
           not 1 month. Version 0.98f
 2003-06-13  Brouard Nicolas  <brouard@homebrou>  
         * imach.c (Repository): Replace "freqsummary" at a correct  2006-03-15  Brouard Nicolas  <brouard@localhost>
         place. It differs from routine "prevalence" which may be called  
         many times. Probs is memory consuming and must be used with          * imach.c (Module): Bug if status = -2, the loglikelihood was
         parcimony.          computed as likelihood omitting the logarithm. Version O.98e
   
 2003-06-17    <brouard@BROUARD>  2006-03-14  Brouard Nicolas  <brouard@localhost>
   
         * timeval.h (Module): Added included file to make use of          * imach.c (Module): varevsij Comments added explaining the second
         gettimeofday working on win32 with cygwin.          table of variances if popbased=1 .
           (Module): Covariances of eij, ekl added, graphs fixed, new html link.
 2003-05-16  Brouard Nicolas  <brouard@brouard>          (Module): Function pstamp added
         * imach.c (Module): Insert of a warning if the delay between two          (Module): Version 0.98d 
         waves is negative.  
   2006-03-06  Brouard Nicolas  <brouard@localhost>
         * imach.c (Module):  
           * imach.c (Module): Variance-covariance wrong links and
 2003-05-03    <brouard@BROUARD>          varian-covariance of ej. is needed (Saito).
   
         * imach.c: Some cleaning  2006-02-27  Brouard Nicolas  <brouard@localhost>
   
 2003-03-28    <brouard@BROUARD>          * imach.c (Module): One freematrix added in mlikeli!
         * 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  2006-02-26  Brouard Nicolas  <brouard@localhost>
         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          * imach.c (Module): Some improvements in processing parameter
         to consider that at each interview the state was recorded          filename with strsep.
         (healthy, disable or death) and IMaCh was corrected; but when we  
         introduced the exact date of death then we should have modified  2006-02-24  Brouard Nicolas  <brouard@localhost>
         the contribution of an exact death to the likelihood. This new  
         contribution is smaller and very dependent of the step unit          * imach.c (Module): Memory leaks checks with valgrind and:
         stepm. It is no more the probability to die between last interview          datafile was not closed, some imatrix were not freed and on matrix
         and month of death but the probability to survive from last          allocation too.
         interview up to one month before death multiplied by the  
         probability to die within a month. Thanks to Chris  2006-02-09  LIEVRE Agnes  <lievre@PC_00697.ined.fr>
         Jackson for correcting this bug.  Former versions increased  
         mortality artificially. The bad side is that we add another loop          * strsep.c (Module): Inclusion because not in mingw32!!!
         which slows down the processing. The difference can be up to 10%  
         lower mortality.          * setup.iss.in (Module): IMACHSETUPVERSION added
   
 2002-05-30    <brouard@BROUARD>          * noreg-setup.iss (Module): added to cvs tree
         *  
         * imach.c (Module): Add correlation matrix of one-step          * Makefile (Module): IMACHSETUPVERSION added
         probabilities and covariance matrix  
   2006-01-30  BROUARD Nicolas  <brouard@localhost>
   
           * Makefile (Module, Module): Latest Makefile
   
           * imach.c (Module): Back to gnuplot.exe instead of wgnuplot.exe
   
   2006-01-27  BROUARD Nicolas  <brouard@localhost>
   
           * noreg-setup.iss (Module): ADDED
   
   2006-01-24  BROUARD Nicolas  <brouard@localhost>
   
           * imach.c (Module): Comments (lines starting with a #) are allowed in data.
   
   2005-10-25  Nicolas Brouard  <brouard@dhcp171.recherche.ined.fr>
   
           * Makefile (Module): Added Imach98.pmsp and howto crete a dmg
   
           * createdmg.sh (Module): Creates a dmg disk for MaC OS/X
   
   2005-09-30    <lievre@PC_00595>
   
           * imach.c (Module): sump fixed, loop imx fixed, and simplifications.
           (Module): If the status is missing at the last wave but we know
           that the person is alive, then we can code his/her status as -2
           (instead of missing=-1 in earlier versions) and his/her
           contributions to the likelihood is 1 - Prob of dying from last
           health status (= 1-p13= p11+p12 in the easiest case of somebody in
           the healthy state at last known wave). Version is 0.98 
   
   2004-05-20  Brouard Nicolas  <brouard@localhost>
   
           * imach.c (Repository): 
           Agnes added a direct estimation of mortality (without the need of
           computing period prevalence and differential mortality). Thus here
           is version 0.97a which has been distributed to some people at
           REVES 16 in Brugge using an Inno setup.exe for PCs. Estimates of
           mortality using covariates is not done today. Estimating direct
           mortality is a very different process because it doesn't need
           interpolation because it is easy to get the lx from the force of
           the mortality mux in the simplest case as for a Gompertz (log mux
           = a + b*x . But we have been able to incorporate the new code
           within former imach program (0.96d) without deteriorating too much
           the understanding of the program. 
   
   2003-06-25    <brouard@BROUARD>
   
           * imach.c (Module): On windows (cygwin) function asctime_r doesn't
           exist so I changed back to asctime which exists.
           (Module): Version 0.96b
   
   2003-06-24    <brouard@BROUARD>
   
           * imach.c (Module): Some bugs corrected for windows. Also, when
           mle=-1 a template is output in file "or"mypar.txt with the design
           of the covariance matrix to be input.
   
   2003-06-25  Brouard Nicolas  <brouard@homebrou>
   
           * imach.c (Repository): Duplicated warning errors corrected.
           (Repository): Elapsed time after each iteration is now output. It
           helps to forecast when convergence will be reached. Elapsed time
           is stamped in powell.  We created a new html file for the graphs
           concerning matrix of covariance. It has extension -cov.htm.
   
   2003-06-23  Brouard Nicolas  <brouard@homebrou>
   
           * 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  <brouard@homebrou>
   
           * 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  <brouard@homebrou>
   
   
           * 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  <brouard@homebrou>
   
           * 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  <brouard@homebrou>
           * 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    <brouard@BROUARD>
   
           * timeval.h (Module): Added included file to make use of
           gettimeofday working on win32 with cygwin.
   
   2003-05-16  Brouard Nicolas  <brouard@brouard>
           * imach.c (Module): Insert of a warning if the delay between two
           waves is negative.
   
           * imach.c (Module): 
   
   2003-05-03    <brouard@BROUARD>
   
           * imach.c: Some cleaning
   
   2003-03-28    <brouard@BROUARD>
           * 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    <brouard@BROUARD>
   
           * imach.c (Module): Add correlation matrix of one-step
           probabilities and covariance matrix
   

Removed from v.1.50  
changed lines
  Added in v.1.67


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>