Hello everyone,
I am conducting a study to analyze accident data. I have two outcome variables, namely crash severity for an aggressive driver (3 levels) and crash severity for a non-aggressive driver (3 levels). The bioprobit model simultaneously models both outcomes. For brevity, I have provided a sample of the code I used.
bioprobit (severity_aggressive = spring mainline nol3_4 ) (severity_non_aggressive= summer nomed grade )
After running the model, I want to estimate the margins for each level under both outcomes.
I have tried using mfx compute, predict(outcome(0,0)). This gives me the estimates for Pr(severity_aggressive=0, severity_aggressive=0); however, I am intersted in finding margins at each level of both outcomes, that is, only Pr(severity_aggressive=0), Pr(severity_aggressive=1), Pr(severity_aggressive=2); then Pr(severity_non_aggressive=0), Pr(severity_non_aggressive=1), Pr(severity_non_aggressive=2).
I would be very glad if someone can help me figure this out. Looking forward to hearing from you soon.
Thank you.
Related Posts with How to estimate margins after bioprobit?
Football and Covid, problem in including some teamsGood Evening. I am dealing with a project in Econometrics, in which I have to see what is the effec…
Catplot - bar widthDear all, I am trying to plot stacked bar charts using -catplot-. I would like to reduce the width …
Reliability in factor analysisHello everybody I just have a general statistical question: Raykovs reliability coefficients is by …
FRM estimation in panel dataDear researchers, I estimate balanced panel data N = 77, T = 6, in which the dependent variable is …
Panel yes / no and how do deal with themDear Community, I am collecting data from the updates that various projects have. I would like to in…
Subscribe to:
Post Comments (Atom)
0 Response to How to estimate margins after bioprobit?
Post a Comment