Diff for /imach/src/imach.c between versions 1.326 and 1.327

version 1.326, 2022/07/26 17:33:55 version 1.327, 2022/07/27 14:47:35
Line 1 Line 1
 /* $Id$  /* $Id$
   $State$    $State$
   $Log$    $Log$
     Revision 1.327  2022/07/27 14:47:35  brouard
     Summary: Still a problem for one-step probabilities in case of quantitative variables
   
   Revision 1.326  2022/07/26 17:33:55  brouard    Revision 1.326  2022/07/26 17:33:55  brouard
   Summary: some test with nres=1    Summary: some test with nres=1
   
Line 6968  To be simple, these graphs help to under Line 6971  To be simple, these graphs help to under
            cov[2+nagesqr+Tage[k]]=nbcode[Tvar[Tage[k]]][codtabm(j1,k)]*cov[2];             cov[2+nagesqr+Tage[k]]=nbcode[Tvar[Tage[k]]][codtabm(j1,k)]*cov[2];
            /* cov[++k1]=nbcode[Tvar[Tage[k]]][codtabm(ij,k)]*cov[2]; */             /* cov[++k1]=nbcode[Tvar[Tage[k]]][codtabm(ij,k)]*cov[2]; */
          } else if(Dummy[Tage[k]]==3){ /* quantitative with age */           } else if(Dummy[Tage[k]]==3){ /* quantitative with age */
            cov[2+nagesqr+Tage[k]]=Tqresult[nres][k];             printf("Internal IMaCh error, don't know which value for quantitative covariate with age, Tage[k]%d, k=%d, Tvar[Tage[k]]=V%d, age=%d\n",Tage[k],k ,Tvar[Tage[k]], (int)cov[2]);
              exit(1);
                /* cov[2+nagesqr+Tage[k]]=meanq[k]/idq[k]*cov[2];/\* Using the mean of quantitative variable Tvar[Tage[k]] /\* Tqresult[nres][k]; *\/ */
            /* cov[++k1]=Tqresult[nres][k];  */             /* cov[++k1]=Tqresult[nres][k];  */
          }           }
          /* cov[2+Tage[k]+nagesqr]=nbcode[Tvar[Tage[k]]][codtabm(ij,k)]*cov[2]; */           /* cov[2+Tage[k]+nagesqr]=nbcode[Tvar[Tage[k]]][codtabm(ij,k)]*cov[2]; */

Removed from v.1.326  
changed lines
  Added in v.1.327


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