Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: cumulative integral


From   "Andreas Aschbacher" <aa_surf@gmx.at>
To   statalist@hsphsun2.harvard.edu
Subject   st: cumulative integral
Date   Wed, 1 Jun 2005 14:03:07 +0200 (MEST)

Dear fellows !

I have about 15000 observations in x and y column named by var1,var2 :
(var1 means x , var2 means y)

 var1                  var2
22.5	         6.27425E-07
27.3	         4.35712E-06
30.71428571	 1.21999E-05
.                   .
.                   .
.                   .

Now I'd like to make cumulative integral: value until 22.5 in var3,
value until 27.3 in var3, value until 30.71428571 and so on.
How to make this most quick ? I'd like to work with cubic splines.
if I say integ var2 var1 I only get last cumulative value.
thank you for any advice !

Andreas

 

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index