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

Re: st: RE: cumulative integral


From   "Andreas Aschbacher" <aa_surf@gmx.at>
To   statalist@hsphsun2.harvard.edu
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)" <alan.h.feiveson@nasa.gov>
> An: "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
> 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: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Andreas
> Aschbacher
> Sent: Wednesday, June 01, 2005 7:03 AM
> To: statalist@hsphsun2.harvard.edu
> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index