Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: observation-level numerical integration
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Re: observation-level numerical integration
Date
Mon, 19 Aug 2013 16:44:23 +0100
I think you have to write custom code here.
Nick
[email protected]
On 19 August 2013 16:38, Liu,Zhong <[email protected]> wrote:
> Dear Nick:
>
> Sorry that my former reply sent just 10 minutes ago has a mistake.
>
> If the intergand function is standard normal density function, then the
> following is right since 'normal' defined by Stata is Standard Normal
> Cumulative Distribution Function
>
>
> gen v3 = normal(v2) - normal(v1)
>
> However, my integrand is Standard Normal Cumulative Distribution Function
> instead. How should I do by using Stata or Mata?
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/