Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# st: Use ml to fit for simultaneous bivariate probit with partial observability

 From 健 张 To stata Subject st: Use ml to fit for simultaneous bivariate probit with partial observability Date Fri, 23 Sep 2011 05:40:01 +0800 (CST)

```Hi, all:
I am trying to write my ml code to fit for a simultaneous bivariate probit with partial observability case. It is similar to Feinstein (1990)'s DCE model.
Y1i=X1i*b+ui
Y2i=X2i*c+F(X1i*b)*d+vi
Although, stata has the predefined command, biprobit (...)(...), partial for the partial observability case, the help file of biprobit does not give an answer for how to code the simultaneous case with F(X1i*b) in the second equation. Therefore, I plan to write my own ml code to deal with the problem. So far, I have had the right likelihood evaluator and I know I should use the code similar to ml model lf bipp_lf (Y1i=X1i)(Y2i=X2i......)
However, I dont know how to include F(X1i*b), which is P(Y1i=1), into the second equation. sSince it is also a partial observability case and I only know the product of Y1i*Y2i, I can not simply put Y1i in the second equation.
Any comment is welcomed. Thank you in advance!!

Best,
Jian

*
*   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/
```
{"ft_lang_label":"__label__en","ft_lang_prob":0.85272104,"math_prob":0.7776825,"size":1539,"snap":"2021-43-2021-49","text_gpt3_token_len":449,"char_repetition_ratio":0.112703584,"word_repetition_ratio":0.07826087,"special_character_ratio":0.26835608,"punctuation_ratio":0.18075801,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95293486,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-10-23T05:24:47Z\",\"WARC-Record-ID\":\"<urn:uuid:5218e491-8c18-4c88-9cef-bd46b0af0946>\",\"Content-Length\":\"8185\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:559774ce-33f2-4813-b028-933b12b11656>\",\"WARC-Concurrent-To\":\"<urn:uuid:a8e09cbb-aeb4-480f-8032-0250e2465ec7>\",\"WARC-IP-Address\":\"66.76.6.5\",\"WARC-Target-URI\":\"https://www.stata.com/statalist/archive/2011-09/msg01036.html\",\"WARC-Payload-Digest\":\"sha1:A4E33VYIIW3R2PHWLLXG37VEXOJ77C65\",\"WARC-Block-Digest\":\"sha1:YC5NGEQVGNNB4OIFTQABKLDPA5ZRJOOD\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-43/CC-MAIN-2021-43_segments_1634323585561.4_warc_CC-MAIN-20211023033857-20211023063857-00138.warc.gz\"}"}