This is not the correct group to post this question. Sorry, but I
subscribe nowhere else.
What is the BLAS routine to multiply a matrix by a scalar?
Thanks.
--
Mehmet Balcilar, PhD
Assistant Professor
Manas University
College of Economics & Administrative Sciences
Department of Econo
n S or R at all. I leave '[A-Q][T-Z]'
as an exercise for the reader.
Baz
__
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
--
Mehmet Balcilar, PhD
Assistant Professor
Manas University
College of Economics & Administrative Sciences
Department of
Hi,
I am using optim to estimate the parameters of a smooth transition
autoregressive model. I wrote a function to return the gradient for
each observation. So, for k parameters and n observations my function
returns a (n x k) matrix. The gr argument of optim expects a (k x 1)
vector. Now,
apply(grad,2,sum)
will do what I want.
Thanks.
Prof Brian Ripley wrote:
> On Tue, 23 May 2006, Mehmet Balcilar wrote:
>
>> Hi,
>>
>> I am using optim to estimate the parameters of a smooth transition
>> autoregressive model. I wrote a function to return the gradie
interest to other areas. Currently, Christiano-Fitzgerald,
Baxter-King, Hodrick-Prescott, Butterworth, and trigonometric regression
filters are included in the package.
Cheers,
--
Mehmet Balcilar, PhD
Associate Professor of Econometrics
Cukurova University
College of Economics & Administra