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: BHPS
Muhammad Anees <firstname.lastname@example.org>
Re: st: BHPS
Fri, 4 Apr 2014 18:48:47 +0500
As suggested, you need to create a variable (smoke=1 if t=1 and
smoke=0 if t=+1).
It will give you a dummy for which you can check if any difference
between the time periods.
COMSATS Institute of Information Technology
Near Officers Colony, Kamra Road
Attock 43600, Pakistan
On Fri, Apr 4, 2014 at 4:19 PM, Yasir Zuberi <email@example.com> wrote:
> I hope you are well, I have been using the BHPS data source and have extracted the information: sex, sctype, smoke, ncigs, pid,age and wave for all 18 waves. And I have ran LPM regressions and Logit regressions. I am now interested in l looking at rates of cessation of smoking (smoking t and not smoking at t+1) using logistic regression - I have used the code to see how the number of cigerrette smoking has changed using the the code "xtreg cigarettes i.sctype age i.wave, i(pid) re".
> Could I get any advice on how to include this in to my data set?
> * 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/
* For searches and help try: