--- imach096d/doc/imach.htm 2002/03/11 22:26:00 1.10 +++ imach096d/doc/imach.htm 2002/03/13 17:27:44 1.12 @@ -1,4 +1,4 @@ - + @@ -37,7 +37,7 @@ color="#00006A">INEDEUROREVES

Version -0.71a, March 2002

+0.8, March 2002


@@ -279,7 +279,7 @@ weights or covariates, you must fill the

Your first example parameter file

-

#Imach version 0.71a, March 2002, +

#Imach version 0.8, March 2002, INED-EUROREVES

This is a comment. Comments start with a '#'.

@@ -311,7 +311,7 @@ INED-EUROREVES

Second uncommented line

-
ftol=1.e-08 stepm=1 ncov=2 nlstate=2 ndeath=1 maxwav=4 mle=1 weight=0
+
ftol=1.e-08 stepm=1 ncovcol=2 nlstate=2 ndeath=1 maxwav=4 mle=1 weight=0
-
  • ncov=2 Number of covariates in the datafile.
  • +
  • ncovcol=2 Number of covariate columns in the datafile + which precede the date of birth. Here you can put variables that + won't necessary be used during the run. It is not the number of + covariates that will be specified by the model. The 'model' + syntax describe the covariates to take into account.
  • nlstate=2 Number of non-absorbing (alive) states. Here we have two alive states: disability-free is coded 1 and disability is coded 2.
  • @@ -374,9 +378,10 @@ Additional covariates can be included wi

    In this example, we have two covariates in the data file -(fields 2 and 3). The number of covariates is defined with -statement ncov=2. If now you have 3 covariates in the datafile -(fields 2, 3 and 4), you have to set ncov=3. Then you can run the +(fields 2 and 3). The number of covariates included in the data file +between the id and the date of birth is ncovcol=2 (it was named ncov +in version prior to 0.8). If you have 3 covariates in the datafile +(fields 2, 3 and 4), you will set ncovcol=3. Then you can run the programme with a new parametrisation taking into account the third covariate. For example, model=V1+V3 estimates a model with the first and third covariates. More complicated @@ -394,7 +399,7 @@ optimization. The number of parameters, number of absorbing states and non-absorbing states and on the number of covariates.
    N is given by the formula N=(nlstate + -ndeath-1)*nlstate*ncov .
    +ndeath-1)*nlstate*ncovmodel .

    Thus in the simple case with 2 covariates (the model is log (pij/pii) = aij + bij * age where intercept and age are the two @@ -477,20 +482,13 @@ matrix of the parameters, that is the in matrix, and the variances of health expectancies. Each line consists in indices "ij" followed by the initial scales (zero to simplify) associated with aij and bij.

    - - - -
    -
    # Scales (for hessian or gradient estimation)
    +
    -

    Once we obtained the estimated parameters, the program is able +
    Once we obtained the estimated parameters, the program is able to calculated stationary prevalence, transitions probabilities and life expectancies at any age. Choice of age range is useful for extrapolation. In our data file, ages varies from age 70 to 102. It is possible to get extrapolated stationary prevalence by -age ranging from agemin to agemax.

    +age ranging from agemin to agemax. -

    Setting bage=50 (begin age) and fage=100 (final age), makes +
    Setting bage=50 (begin age) and fage=100 (final age), makes the program computing life expectancy from age 'bage' to age 'fage'. As we use a model, we can interessingly compute life expectancy on a wider age range than the age range from the data. But the model can be rather wrong on much larger intervals. -Program is limited to around 120 for upper age!

    - +Program is limited to around 120 for upper age!