]> henry.ined.fr Git - .git/commitdiff
The bug in printinghtml is corrected.
authorAgnès Lièvre <agnes.lievre@education.gouv.fr>
Wed, 3 Apr 2002 12:19:36 +0000 (12:19 +0000)
committerAgnès Lièvre <agnes.lievre@education.gouv.fr>
Wed, 3 Apr 2002 12:19:36 +0000 (12:19 +0000)
src/imach.c

index fac0ebe81f9a58a52641db68d9f5dca9f975faa6..28c1ec7335fa959c02f284e0a42fbf6750b27ac2 100644 (file)
@@ -1954,7 +1954,7 @@ Interval (in months) between two waves: Min=%d Max=%d Mean=%.2lf<br>\n
  - Observed prevalence in each state: <a href=\"p%s\">p%s</a> <br>\n\r
  - Stationary prevalence in each state: <a href=\"pl%s\">pl%s</a> <br>\n\r
  - Transition probabilities: <a href=\"pij%s\">pij%s</a><br>\n\r
- - Life expectancies by age and initial health status (estepm=%2d months): <a href=\"e%s\">e%s</a> <br>\n",version,title,datafile,firstpass,lastpass,stepm, weightopt,model,imx,jmin,jmax,jmean,fileres,fileres,optionfilegnuplot,optionfilegnuplot,fileres,fileres,fileres,fileres,fileres,fileres,fileres,fileres,estepm);\r
+ - Life expectancies by age and initial health status (estepm=%2d months): <a href=\"e%s\">e%s</a> <br>\n",version,title,datafile,firstpass,lastpass,stepm, weightopt,model,imx,jmin,jmax,jmean,fileres,fileres,optionfilegnuplot,optionfilegnuplot,fileres,fileres,fileres,fileres,fileres,fileres,estepm,fileres,fileres);\r
 \r
  fprintf(fichtm,"\n\r
  - Parameter file with estimated parameters and the covariance matrix: <a href=\"%s\">%s</a> <br>\n\r
@@ -3312,9 +3312,9 @@ while((c=getc(ficpar))=='#' && c!= EOF){
        for(i=1, vepp=0.;i <=nlstate;i++)\r
          for(j=1;j <=nlstate;j++)\r
            vepp += vareij[i][j][(int)age];\r
-       fprintf(ficrest," %7.2f (%7.2f)", epj[nlstate+1],sqrt(vepp));\r
+       fprintf(ficrest," %7.3f (%7.3f)", epj[nlstate+1],sqrt(vepp));\r
        for(j=1;j <=nlstate;j++){\r
-         fprintf(ficrest," %7.2f (%7.2f)", epj[j],sqrt(vareij[j][j][(int)age]));\r
+         fprintf(ficrest," %7.3f (%7.3f)", epj[j],sqrt(vareij[j][j][(int)age]));\r
        }\r
        fprintf(ficrest,"\n");\r
       }\r