Dear Statalist members,
I'm trying to write my dissertation and need your help -I am new to Stata.
I need to run a Probit regression on dependent variable Y (1 ; 0) using independent variable X (also 1;0). X needs to be year T-1.
I used Xtset command and set the panel and time variables (year).
The data includes different companies (identified by companyID) having each multiple years worth of data.
The way I tried to run the code was:
by CompanyID: probit Y l1.X, however I'm getting an error message that data is not sorted. I tried to sort the relevant variables without success.
Am I on the right tracks?
Thank you
Related Posts with Probit lagged variables- panel data
global marginal effects in ologitHi
in older versions of STATA, to obtain the marginal effects of the covariates we use the command "…
Dropping duplicates takes more that 24 hr.Dear stata forum,
I am quite new to Stata and I ran into an issue. I have panel data with quarterly…
Mixed logit modelHi All
I am trying to calibrate a multilevel crash outcome analysis using a mixed logit model. The …
pwcorr display three starsI want display three stars if p<0.01, display two stars if p<0.05, display one star if p<0.…
I am wondering the result about cross-classified multilevel modelArray
l am working about cross-classified multilevel model
dependent variable : immigratio…
Subscribe to:
Post Comments (Atom)
0 Response to Probit lagged variables- panel data
Post a Comment