Hi,
I don't know if anyone can help with this:
I need to run a probit regression for binary variables and there is a timing issue that I need to resolve.
As a dependent variable I have quarterly data (management special report issued Y or N) and as independent variables I have yearly data (financial year end audit opinion Y or N).
I somehow need to set the independent variable so that it equals 1 if it was Y in the year prior to the four quarters in the dependent variable column and 0 if it was N.
Dependent variable column:
Q1- year 1
Q2- year 1
Q3- year1
Q4- year1
Q1-year 2
Q2- year 2
Q3- year2
etc.
Independent variable column- Y or N :
Ending Year 1
Ending Year 2
Ending Year 3
etc.
The regression formula looks like this : Probit (dependent variable Y or N) = Independent variable (needs to equal 1 if it was Y only in the prior year).
Thanks
Related Posts with Probit regression in Stata
How to create robust standard errors, clustered by firm IDHi guys, I am currently using a data panel set and want to do a simple pooled OLS regression. I hav…
Can Positive IV Probit Coefficients imply Negative Marginal Effects?Dear list members, I am sorry to ask about this again, as my other post was presumably phrased to t…
Selecting lags for Pesarans unit root tests which controls for cross-sectional dependenceI am trying to run a panel unit root test using the PESCADF command in Stata. However I am confused …
How to swap components of variable name?Hi - I have about 1200 variables that are in the format monYY_[indicator] which means they look some…
Unable to replicate Stata 16 code local x = r(table)[1,1] in Stata 15Dear all, I have run into a problem trying to replicate some code from Stata 16 in Stata 15. Do you…
Subscribe to:
Post Comments (Atom)
0 Response to Probit regression in Stata
Post a Comment