Tiago V. Pereira <[email protected]>:
Since you have y=f(x) mapping from R to R and you want to find a zero,
mm_root() is probably the best way to proceed:
http://www.stata.com/statalist/archive/2009-01/msg01140.html
(Mata will also be faster at computing sums etc.).
On Tue, Feb 17, 2009 at 6:53 PM, Tiago V. Pereira
<[email protected]> wrote:
> Dear statalisters,
>
> I usually need to compute a value X that satifies a specific condition.
>
> A typical example is shown below. But this is only a single example, and
> ordinarily I have similar, but more complex aims.
>
> Hence, I would like to know your expert opinion on how one can make codes
> these kind of codes faster. Perhaps only Mata helps?
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/