| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | nlminb again |
| From: | Yingfu Xie <Yingfu.Xie@resgeom.slu.se> |
| Date: | Mon, 26 Jan 2004 18:35:43 +0100 |
|
Hello, dear S-plus
users!
I want to maximize a
likelihood function, which is a complicated function of parameters, involving
products of matrices. Of course, 'gradient' and 'Hessian' are by no means to be
specified since we cannot obtain the analytical form of the likelihood with
respect to parameters. In fact, I wrote a function to compute the
likelihood, ready to put into nlminb. But I was warned that singularity
occurred in nlminb.0(...) and it returned a zero objective likelihood and
initial parameters. No iterations happened at all.
Now, my questions
are:
Does nlminb work for
this? Isn't it valid for any functional form or it is only valid for functions
with two continuous derivatives? Is there any other tool available in S-plus to
solve my problem?
Any explanations or
suggestions are highly appreciated. By the way, I am using S-plus 6.1 in
Windows.
Regards
Yingfu
########################################### |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Plot types in trellis two panel graph, W. Bauer |
|---|---|
| Next by Date: | Writing to the clipboard, Michael Conklin |
| Previous by Thread: | Plot types in trellis two panel graph, W. Bauer |
| Next by Thread: | Writing to the clipboard, Michael Conklin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |