Bookmark and Share

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]

st: How to generate binary y?


From   Sumedha Gupta <[email protected]>
To   [email protected]
Subject   st: How to generate binary y?
Date   Thu, 3 May 2012 15:42:44 -0400

Dear All,

I have 2 samples one in which both x and y are observed and the other
in which only the x's are observed. Y is binary and some of the x's
are binary as well. I ran a probit of y on x for sample 1 and got all
the betas. Now using these beta's would it be possible to generate y
in sample 2 as well? This would be easy to do in the linear case...
but for a probit is there a command to do that? I will really
appreciate your input.

Many thanks.
Sumedha.
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index