Difference between revisions of "Product integral"

From Wiki
Jump to navigation Jump to search
m (added note about unresolved font style issue)
(removed note about unresolved issue and added example)
Line 3: Line 3:
 
<center>
 
<center>
 
<context>
 
<context>
 +
% force an invisible space to show top of table frame:
 +
$\ $
 
\starttable[|c|c|]
 
\starttable[|c|c|]
 
\HL
 
\HL
Line 47: Line 49:
 
                 [computer-modern][encoding=default]
 
                 [computer-modern][encoding=default]
  
\setupbodyfont[reset,modern,10pt]
+
\setupbodyfont[reset,modern,serif,10pt]
  
 
\enablemathcollection[prodint]
 
\enablemathcollection[prodint]
  
 
\starttext
 
\starttext
$\prodi$, $\Prodi$ and $\PRODI$
+
 
 +
Your text here
 +
 
 
\stoptext
 
\stoptext
 
</texcode>
 
</texcode>
  
 +
The following is the example which comes with the prodint package:
 +
<context>
 +
\definefontsynonym [MathGamma]  [prodint]
 +
 +
\definefamilysynonym [default]  [xop]  [mc]
 +
 +
\startmathcollection [default]
 +
 +
\definemathsymbol [prodi]  [op]  [xop] [80]
 +
\definemathsymbol [Prodi]  [op]  [xop] [82]
 +
\definemathsymbol [PRODI]  [op]  [xop] [84]
 +
 +
\stopmathcollection
 +
 +
\loadmapfile[prodint]
 +
 +
 +
\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
 +
  \definebodyfont
 +
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint]
 +
\stoptypescript
 +
 +
\definetypeface [modern] [mm] [math]  [modern]
 +
                [computer-modern][encoding=default]
 +
 +
\setupbodyfont[reset,modern,serif,10pt]
 +
 +
\enablemathcollection[prodint]
 +
 +
\starttext
 +
This is \type{\prodi} in action: $\prod_i\prodi\alpha_i(du)$. How does it look?
 +
\blank[big]
 +
 +
Now two equations to test \type{\Prodi}
 +
\startformula
 +
\prod_{i=1}^n\Prodi_0^\tau \left(1-dA_i(u)\right)
 +
\stopformula
 +
 +
\startformula
 +
\int_0^\infty \prod_{i=1}^n\Prodi_0^t\left(1-\lambda_i(u,z)\,du\right)\; dF(z)
 +
\stopformula
 +
 +
\blank[big]
 +
and one with \type{\PRODI}
 +
\startformula
 +
\PRODI_0^t \left\{\int_0^u g(z)\,dF(z)\right\}^2 du
 +
\stopformula
 +
 +
\stoptext
 +
</context>
 
= Notes =
 
= Notes =
 
Please consider the following notes:
 
Please consider the following notes:
 
* the product integral symbol only exists in Computer Modern, therefore the code above is only valid when using this font
 
* the product integral symbol only exists in Computer Modern, therefore the code above is only valid when using this font
 
* this setup defines three commands: <code>\prodi</code> for inline formulae, <code>\Prodi</code> and <code>\PRODI</code> for displaystyle formulae (where the latter is slightly larger); see the sample file prodint.pdf in the archive for example usage
 
* this setup defines three commands: <code>\prodi</code> for inline formulae, <code>\Prodi</code> and <code>\PRODI</code> for displaystyle formulae (where the latter is slightly larger); see the sample file prodint.pdf in the archive for example usage
* '''IMPORTANT: the current settings disable font styles like boldface, italic, slanted, etc. This is an unresolved issue!!!'''
 
  
 
= References and resources =
 
= References and resources =

Revision as of 15:48, 10 December 2006

About the product integral

The product integral is a mathematical operator which fills the gap in the following table:

and looks like

Prodint.jpg

This notation was suggested by Gill & Johansen (1990). Although the product integral is relatively unknown to most people, it performs an important role in the theory of survival analysis and Markov processes. In fact, for those people who are familiar with survival analysis, the Kaplan-Meier estimator of the survival function is the product integral of the Nelson-Aalen estimator of the cumulative intensity function. Product integration was introduced by the Italian mathematician Vito Volterra in relation to the Volterra integral equations.

Installation

  1. download the LaTeX package from Richard Gill's website: http://www.math.uu.nl/people/gill/prodint.tar.gz
  2. unpack the archive in an appropriate location of your TeX installation and run texhash to update the filename database
  3. make sure that pdftex, dvips and others can find the font mapfile prodint.map (e.g. by running updmap --enable Map=prodint.map if you have teTeX or TeXlive on Linux)
  4. place the following code before the body of your document to add the symbol to the set of mathematical symbols:
\definefontsynonym [MathGamma]  [prodint]

\definefamilysynonym [default]  [xop]   [mc]

\startmathcollection [default]

\definemathsymbol [prodi]  [op]  [xop] [80]
\definemathsymbol [Prodi]  [op]  [xop] [82]
\definemathsymbol [PRODI]  [op]  [xop] [84]

\stopmathcollection

\loadmapfile[prodint]


\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
   \definebodyfont 
[17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint]
\stoptypescript

\definetypeface [modern] [mm] [math]  [modern]
                 [computer-modern][encoding=default]

\setupbodyfont[reset,modern,serif,10pt]

\enablemathcollection[prodint]

\starttext

Your text here

\stoptext

The following is the example which comes with the prodint package:

Notes

Please consider the following notes:

  • the product integral symbol only exists in Computer Modern, therefore the code above is only valid when using this font
  • this setup defines three commands: \prodi for inline formulae, \Prodi and \PRODI for displaystyle formulae (where the latter is slightly larger); see the sample file prodint.pdf in the archive for example usage

References and resources

  • Gill, R.D. & Johansen, S. (1990) A survey of product-integration with a view toward application in survival analysis, The Annals of Statistics, Vol. 18, pp.1501-1555.
  • Richard Gill's website contains links to various articles on product integration