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?
Matching: Conditioning on lagged dependent variablesHi everybody, I wondered whether it does make sense to condition on the lagged dependent variable w…
Grouped Difference of Mean TestDear all, I want to perform a difference of means test on my dataset, to see whether there is a dif…
Quantify the effect size of an interaction termHello, I have a doubt that it is not specific about Stata. However, I would like to ask you for an…
Power Analysis [power] in Context of Regression Analysis and Robust Standard ErrorsHi, Based on the results of a regression analysis, I would like to perform a power analysis that ac…
Trajectory Analysis in longitudinal dataDear Altruists, Good morning. Any suggestions for performing trajectory analysis for longitudinal ob…
Subscribe to:
Post Comments (Atom)
0 Response to How to estimate margins after bioprobit?
Post a Comment