Dear members,
is there a command that allows to draw a probability tree in Stata?
I have a panel data set of a few thousand employees for several time periods and I have a binary outcome for each observation. I want to draw a plot, which plots the conditional probability of the outcome given the outcome(s) in previous periods. Hence, at the first knot Pr(Y=0) and Pr(Y=1) should be plotted for t = 1. At the second knot (t = 2) four conditional probabilities should be plotted (positive/ negative outcome given positive/ negative outcome in the first period), and so forth.
The probabilities should be just the "descriptive" probabilities (or should I rather say relative frequencies?) as they appear in the sample and should not be based on a regression model.
Best regards
Felix Scholl
Related Posts with Plotting probability trees to model path dependence
Again on revisiting the role of p-valueDear All, those interested in this debate may find the following article interesting: https://ift.tt…
Repeated-Measure Ancova with Participants Randomized within Each Treatment/ConditionI think I want to use Repeated-Measure Anova command, "anova, repeated ()" or "wsanova" commands bas…
Strange results with -mi impute-Hi everyone, I am new to multiple imputation. I have a large dataset (60,000+ observations) with da…
Unconditional Quantile Regression (rifreg) with an Interaction Term; and an independent percentile score variableHi all, we have a panel data set (defined by firms and years) and are trying to estimate the followi…
Multiple imputationDear all, I will please like to know how to carry out Instrumental variable post estimation tests (…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting probability trees to model path dependence
Post a Comment