Under ?optim, R tells me:
"counts
A two-element integer vector giving the number of calls to fn and gr
respectively. This excludes those calls needed to compute the
Hessian, if requested, and any calls to fn to compute a finite-
difference approximation to the gradient."
I interpret that to mean the number of iterations, since it calls fn
once in each iteration.
On Feb 28, 2008, at 9:29 AM, Sheena E Chestnut wrote:
Hi all,
Quick question: When we are asked in Problem 3b how many
iterations it takes
for the algorithm to converge, I had interpreted the R help file as
saying that
the number of iterations is the number under "function" in the
"counts" part of
the output. I've heard rumors that it might actually be the number
under
"gradient" instead. Which is correct, and why?
Best,
Sheena
Quoting Jens Hainmueller <jhainmueller at gmail.com>:
No, Latex is not required. We encourage you to
use it, but you
don't have
to. On the website we have put together a lot of info about Latex.
Another
hybrid alternative you may want to try is LyX ( http://
www.lyx.org/ ) .
Hope this helps.
Jens
From: Joerg Orgeldinger [mailto:orgeldi at yahoo.de]
Sent: Thursday, February 28, 2008 7:57 AM
To: jhainmueller at
gmail.com
Subject: Latex
Dear Jens,
is it required to use LaTEX. I did not use it before, so I have to
learn it
first.
Regards
Joerg
________________________________________
Lesen Sie Ihre E-Mails jetzt einfach von unterwegs mit Yahoo! Go.
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l