[R] HOW TO WRITE A DOUBLE EXPONENTIAL FUNCTION

From: Yu-Lin <pauline12lv_at_yahoo.com.tw>
Date: Sun 30 Oct 2005 - 22:25:02 EST


hello
i am a new user of R
I wonna run a double exponential function with nonlinear quantile regresion model the double exponential function is
Y=( ab1978*ab1979*ab1980*ab1981*ab1982*ab1983*ab1984*ab1985*ab1986*ab1987*ab1988*ab1989* ab1990* ab1991*ab1992*ab1993*ab1994*   6670*ab7175*ab7680*ab8185*ab8690*ab9193*abgg*abgf*abgu*abgj*abgd*abfg*abff*abfu*abfj*abfd*abug*abuf*abuj*abud*   abjg*abjf*abju*abjj*abjd*abdg*abdf*abdu*abdj*abdd*EXP(-C1*cbgg*cbgf*cbgu*cbgj*cbgd*cbfg*cbff*cbfu*cbfj*cbfd*cbug*cbuf*cbuj*cbud*cbjg*cbjf*cbju*cbjj*cbjd*

      cbdg*cbdf*cbdu*cbdj*cbdd*TIMELAG)*(1-EXP(-c2*TIMELAG)) )/sqcite; and ab1978,ab1979,ab1980,ab1981,ab1982,ab1983,ab1984,ab1985,ab1986,ab1987,ab1988,ab1989, ab1990, ab1991,ab1992,ab1993,ab1994, ab6670,ab7175,ab7680,ab8185,ab8690,ab9193,abgg,abgf,abgu,abgj,abgd,abfg,abff,abfu,abfj,abfd,abug,abuf,abuj,abud,abjg,abjf,abju,abjj,abjd,abdg ,abdf,abdu,abdj,abdd,cbgg,cbgf,cbgu,cbgj,cbgd,cbfg,cbff,cbfu,cbfj,cbfd,cbug,cbuf,cbuj,cbud,cbjg,cbjf,cbju,cbjj,cbjd, cbdg,cbdf,cbdu,cbdj,cbdd are all dummy variable so their value might equal 0,all these variables are vectors and c1 and c2 are estimated parameters
can you show me how do i write this function in R I will be grateful

                                                Y.L  Chiang



___________________________________________________  最新版 Yahoo!奇摩即時通訊 7.0 beta,免費網路電話任你打!  http://messenger.yahoo.com.tw/beta.html
	[[alternative HTML version deleted]]



______________________________________________

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Oct 30 22:37:48 2005

This archive was generated by hypermail 2.1.8 : Mon 31 Oct 2005 - 01:24:07 EST