Bookmark and Share

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: BHPS

From   Muhammad Anees <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: BHPS
Date   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.

Muhammad Anees

Assistant Professor
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 protected]> wrote:
> Hi,
> 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?
> Regards
> Yasir
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

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