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

st: regress


From   "Andreas Aschbacher" <aa_surf@gmx.at>
To   statalist@hsphsun2.harvard.edu
Subject   st: regress
Date   Mon, 2 Feb 2004 11:53:58 +0100 (MET)

dear fellows !

I have a snappy curve(y(x)) which looks like the sum of two Gauß-functions a
great and a little 
hump.I use > integ y x,gen(Sy)  and  line y Sy x < to get the
integral-function above.
the result-curve .line Sy x seems to be the "sum" of two nearly straight
lines with different
k- values(y = k*x+d) that means from 0 to 5 I have k1 and from 5 to 10 I
have k2.
Now I'd like to make linear regression for both
parts(region1<->k1,region2<->k2)
in one commandline.Is this possible ?
thank you very much                                andreas

-- 
+++ Mailpower für Multimedia-Begeisterte: http://www.gmx.net/topmail +++
250 MB Mailbox, 1 GB Online-Festplatte, 100 FreeSMS. Jetzt kostenlos testen!

*
*   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