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

Re: st: RE: cumulative integral


From   "Andreas Aschbacher" <[email protected]>
To   [email protected]
Subject   Re: st: RE: cumulative integral
Date   Wed, 1 Jun 2005 15:23:44 +0200 (MEST)

thank you very much !
*** simple solution best solution ***


> --- Urspr�ngliche Nachricht ---
> Von: "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <[email protected]>
> An: "'[email protected]'" <[email protected]>
> Betreff: st: RE: cumulative integral
> Datum: Wed, 1 Jun 2005 08:11:14 -0500
> 
> Andreas - use the -gen- option:
> 
> Integ var2 var1,gen(var3)
> 
> 
> Al Feiveson 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Andreas
> Aschbacher
> Sent: Wednesday, June 01, 2005 7:03 AM
> To: [email protected]
> Subject: st: cumulative integral
> 
> 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/
> *
> *   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/
> 

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index