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

st: regress

From   "Andreas Aschbacher" <>
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
in one commandline.Is this possible ?
thank you very much                                andreas

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

*   For searches and help try:

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