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
Help needed: creating flag to Identify at least 3 consecutive years of data (without discarding other cases)Dear Sir/Madam I have a panel dataset (each company has one or multiple years of data, but there ar…
Reverse a numeric variableHi all, so i have a numeric variable with a lot of values, that are decimal: 4,626276 5,162374 5,6…
Help merging excel files in stata with 3 variablesI have 3 excel files with poverty data at the county level for the years 1980,1990, and 2000. I have…
Help on fixed effectsDear all, I'd need some advice on how to deal with fixed effects. I am currently working on a cross…
mi impute chained trace plotsHi all, I am running the command mi impute chained (regress) x y z = a b c, add (10) burnin (100) r…
Subscribe to:
Post Comments (Atom)
0 Response to Probit regression in Stata
Post a Comment