[R] multiply matrix by a scalar

2003-01-15 Thread Mehmet Balcilar
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

Re: [R] google

2003-01-27 Thread Mehmet Balcilar
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

[R] a question about gradient in optim

2006-05-23 Thread Mehmet Balcilar
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,

Re: [R] a question about gradient in optim

2006-05-23 Thread Mehmet Balcilar
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

[R] [R-pkgs] mFilter package

2006-12-06 Thread Mehmet Balcilar
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