<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Computing Health Expectancies using IMaCh</title>
<!-- Changed by: Nicolas Brouard, 17-Mar-2000 -->
</head>
<body bgcolor="#FFFFFF">
<hr size="3" color="#EC5E5E">
<h1 align="center"><font color="#00006A">Computing Health
Expectancies using IMaCh</font></h1>
<h1 align="center"><font color="#00006A" size="5">(a Maximum
Likelihood Computer Program using Interpolation of Markov Chains)</font></h1>
<p align="center"><a href="http://www.ined.fr/"><img
src="doc/logo-ined.gif" border="0" width="151" height="76"></a><img
src="doc/euroreves2.gif" width="151" height="75"></p>
<h3 align="center"><a href="http://www.ined.fr/"><font
color="#00006A">INED</font></a><font color="#00006A"> and </font><a
href="http://euroreves.ined.fr"><font color="#00006A">EUROREVES</font></a></h3>
<p align="center"><font color="#00006A" size="4"><strong>June 2004</strong></font></p>
<hr size="3" color="#EC5E5E">
<h4 align="center"><font color="#00006A">Authors of the program: </font><a
href="http://sauvy.ined.fr/~brouard"><font color="#00006A">Nicolas
Brouard</font></a><font color="#00006A">, senior researcher at
the </font><a href="http://www.ined.fr"><font color="#00006A">Institut
National d'Etudes Démographiques</font></a><font color="#00006A">
(INED, Paris) in the "Mortality, Health and Epidemiology
Research Unit" </font></h4>
<h4 align="center"><font color="#00006A">and Agnès Lièvre (PHD student at INED)</font></h4>
<h4><font color="#00006A">Contribution to the mathematics: C. R.
Heathcote </font><font color="#00006A" size="2">(Australian
National University, Canberra).</font></h4>
<h4><font color="#00006A">Contact: Agnès Lièvre (</font><a
href="mailto:lievre@ined.fr"><font color="#00006A"><i>lievre@ined.fr</i></font></a><font
color="#00006A">) </font></h4>
<p> Main publication concerning the method is
<a href=http://taylorandfrancis.metapress.com/app/home/contribution.asp?wasp=1f99bwtvmk5yrb7hlhw3&referrer=parent&backto=issue,1,2;journal,2,5;linkingpublicationresults,1:300265,1
>Lièvre A., Brouard N. and Heathcote Ch. (2003) Estimating Health Expectancies
from Cross-longitudinal surveys. <em>Mathematical Population Studies</em>.- 10(4), pp. 211-248</a>
</p>
<h2><font color="#EC5E5E"><strong>Download and instructions for installation</strong></font></h2>
<h3>On Windows (win9X, 2000, XP)</h3>
<p> Until June 2004 the installation did consist in a zip file which
had to be extracted in the directory of your choice. But with version
0.97b IMaCh we are using a windows installer (Inno setup). Both
executables <tt>imach.exe</tt> and <tt>gnuplot.exe</tt> (the grapher
that we are using) have to be on the same directory.
<br> In order to facilitate the use of IMaCh we associated the .imach
extension to two features: editing and running. Thus by right clicking
on a foo.imach file you can either 'edit'the file (default) with
the notepad editor or 'run' it with gnuplot (you need a recent version).<br>
But we discovered that on some computers, people are not allowed
to modify the windows registry and need to have Administrator privileges.
<br>
Thus we built two windows installer: a standard setup which will install
the progam (usually in <tt>\Program Files\imach</tt> and will
modify the registry to associate <tt>.imach</tt> extension to notepad and imach, and a
second which will not alter the registry. With this second installer you
will be able to install the programs in your home directory and
run it by clicking on the imach.exe icon. But you won't be able
to use the facility of the right clicking.
</p>
<ul>
<li>Download latest <font size="2" face="Courier New"><strong>imach-0.97b-setup.exe</strong></font>
and execute it .</li>
<li>Different sub-directories are created:
<ul>
<li>doc: most of the documentation. The main document
is <a href="doc/imach.htm">doc/imach.htm</a> .</li>
<ul> Here are also two data files:<font size="4"
face="Times New Roman"> </font><ul>
<li><font face="Courier New">data1.txt</font>
which is the main data file on which the
program has been run as the example in
the main documentation.</li>
<li><font face="Courier New">mydata.txt </font>a
smaller data file which you can use for
your own trial.</li>
</ul>
</ul>
<li>bin: <ul> <li><font face="Courier">imach.exe</font>
the executable for Windows 95/98/NT compiled with gcc from
cygwin.</li> <li> gnuplot, the grapher use by IMaCh. Its
reference manual and sources can be accessed from <a
href="http://www.gnuplot.info/">http://www.gnuplot.info/</a>.
</ul>
</li>
<li>src: This subdirectory contains the source of the
program. It can be obtained by asking us by mail <a
href="mailto:brouard@ined.fr">mailto:brouard@ined.fr</a>
and <a href="mailto:lievre@ined.fr">mailto:lievre@ined.fr</a>
.</li>
</ul>
</li>
<li>Right click on the .imach to either edit it or execute it with Imach.</li>
<li>Read the file README.txt or, better, click on <a
href="doc/imach.htm">doc/imach.htm</a></li>
</ul>
<br>
Imach version 0.97b of June 21 2004 can be downloaded as a setup.exe file
<a href=imach-0.97b-2-setup.exe">
http://euroreves.ined.fr/imach/imach-0.97b-2-setup.exe</a>. The IMaCh
program and gnuplot will be installed in the directory that you want
(usually in Program Files). We made some errors in the new setup and
some erlier versions did not work. Please check the md5sum which is
3cb42bf71396d531d4bc3d42fee46a52 imach-0.97b-2-setup.exe
<br>We also changed the wordpad editor to notepad which is less useful
but exists on most Windows installation. <br> For people who are not
allowed to modify the registry of their Windows installation here is a
second setup <a
href="imach-0.97b-2-noreg-setup.exe">imach-0.97b-2-noreg-setup.exe</a>.
<p><a href="oldversions.html">Old Windows versions are accessible here.</a>
<h3>On Mac OS/X</h3>
IMaCh can be easily compiled with gcc 3.3 on MacIntosh as soon as
XCode (free download from Apple) is intalled on your MaCIntosh.<p>
It take a litle more time to get latest version of Gnuplot 4.0 for Mac
OS/X and to compile it on a MaC. The main problem resides in finding
the png library. Gif images are patented now and the replacement is
png, but the development of the png library is growing on its own and
you just have to find on Google where it is hosted now.
<br>
Gnuplot can be easily compiled on a MaC, but I don't know yet (July
2004) which is default screen terminal driver for gnuplot. For sure if
X11 is installed on your MaC (it is included on your installation CD
or you can download it from the WEB), the you can do <tt>set ter
X11</tt> and <tt>plot sin(x)</tt> to get a nice sin curve on an X11
window of your Mac.
<br> Let me add that for running IMaCh with all of its features, you don't
need X11; the gnuplot program included in the distribution needs only
to have the png terminal driver to output graphs and these graphs will
be viewed by your browser.<br>
You need X11 only if you want to modify and test the gnuplot code output by
ImaCh, because it might be a more convenient way to view the graphs
directly on the screen than writing images on a file and viewing them
with a browser,
<p>
You can download a .pkg.pax file at <a
href="imach097b.pkg.pax">imach097b.pkg.pax</a>. Stuffit
Expander will expand the compressed file into a imach097b.pkg directory. Just
clicking on the directory will let you install IMaCh in a local
directory of your own (you have to create a new folder name IMaCh097b or whatever). Two sub-directories are created
<tt>bin</tt> and <tt>html</tt> . In the bin subdirectory you
will find two executables <tt>imach</tt> itself and
<tt>gnuplot</tt>.
<p>
You need to click on <tt>imach</tt> and IMaCh will be launched in a
terminal window, asking you to enter a <tt>parameter</tt> file. A
parameter file is text file with an extension <tt>.imach</tt>
(but you can use a <tt>.txt</tt> extension if you want. Among
the parameters required, a data file name has to be entered. It
can be a relative file name like
<tt>../../data/data1.txt</tt>. It might also work if you use the
Windows backslash "<tt>\</tt>" syntax.
<p>
At the end of the run, and it order for the terminal window not to
disappear, the program will prompt for a command like "<tt>e</tt>" for
edit or "<tt>q</tt>" for quit. The edit command might not work
on a MaC, or on Unix or even on recent Windows, because the program should know which
browser you are using and becauee the BROWSER environment
doesn't seem to be standard on a Mac and on some other OS too.
<br> The consequence for you is just that you have to use your finder
or browser (there is no more difference now) and click on the
<tt>.html</tt> (or .htm) file created. The filename of this html
file is the same name as your parameter file, only the extension
.imach is changed to .html.
<h3>On Linux</h3> There are various versions of Linux, gnuplot is
distributed on most distributions. Just verify that your version of
gnuplot is more recent than version 0.38i . I haven't had time to make
a rpm yet, just ask us for the CVS tree location (not completely GPL
today), and compile the sources. Remarks concerning the Linux versions
are similar to the Mac OS/X version. A binary rpm will be given as
soon as a src rpm will be given which means that the whole program
will be GPL licensed.
<p><a href="doc/imach.htm"><font color="#FF0000" size="6">Click
here to access to the detailed documentation</font></a></p>
<p>This software have been partly granted by <a
href="http://euroreves.ined.fr">Euro-REVES</a>, a concerted action
from the European Union. In 2003-2004 it has been granted by the
French Institute on Longevity. Our work is copyrighted as a GNU
software product, i.e. program and software can be distributed freely
for non commercial use, but actually some sources are not widely
distributed today because they borrow some codes from the book
"Numerical Recipes in C" which is copyrighted. If you are an owner of
theses sources you can get our sources by asking us with a simple
justification (name, email, Institute) <a
href="mailto:imach-dev@listes.ined.fr">mailto:imach-dev@listes.ined.fr</a>
</p>
<p>Today we are two developpers only but we already use a private CVS
server. The CVS server will be freely accessible as soon as we have
replaced "Numerical Recipes in C maximization routines" with
equivalent routines from the new GNU scientific library.
<p>Latest documentation can be accessed at <a
href="http://euroreves.ined.fr/imach">http://euroreves.ined.fr/imach</a><br>
</p>
<p> There is a public mailing list of IMaCh's users. You can
subscribe by sending a mail to <a
href=mailto:imach-users-subscribe@listes.ined.fr>imach-users-subscribe@listes.ined.fr</a>
(and unsubscribe with <a
href=mailto:imach-users-unsubscribe@listes.ined.fr>imach-users-unsubscribe@listes.ined.fr</a>
</p>
<br>$Id: index.htm,v 1.8 2004/07/23 14:34:18 brouard Exp $<br>
<!-- $State: Exp $
$Log: index.htm,v $
Revision 1.8 2004/07/23 14:34:18 brouard
*** empty log message ***
Revision 1.7 2004/07/23 14:31:46 brouard
*** empty log message ***
Revision 1.6 2004/07/23 14:11:14 brouard
MaC OS/X version added.
Revision 1.5 2004/06/22 11:18:20 brouard
Adding the noreg setup for users who don't have privileges to modify Windows registries.
Revision 1.4 2004/06/16 23:49:33 brouard
*** empty log message ***
-->
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>