Hi everyone,
I am analyzing a dataset of a specific treatment and the effect of such treatment on school participation. I need to find conditional probabilities, but cannot figure out how to do this in Stata.
For example, I am looking to find the probability of a student attending school given that they received treatment
School attendance is a number between 0 and 1 (1= 100% attendance)
Treatment is a dummy variable (1=treatment; 0=no treatment)
Would appreciate any insight on how to code this. Thanks!
Related Posts with Calculating conditional probabilities on stata
 xtabond2Dear all,
I am running some dynamic panel data with xtabond2, and often the coefficients of the lagg… xtabond2Dear all,
I am running some dynamic panel data with xtabond2, and often the coefficients of the lagg…
 Income Elasticity with Logit ModelHi,
This is my model:
Code:
logit smoker lninc
Where lninc, is the log transformation of the in… Income Elasticity with Logit ModelHi,
This is my model:
Code:
logit smoker lninc
Where lninc, is the log transformation of the in…
 STATA SE 13, how to get r square after mi estimateDear STATA users,
is there a way to obtain R square (model fit statistics) after conducting mice? I… STATA SE 13, how to get r square after mi estimateDear STATA users,
is there a way to obtain R square (model fit statistics) after conducting mice? I…
 Assigning a result from summarize to a variableHi everyone,
I want to sum a variable and then assign its highest value +1 to an observation. The v… Assigning a result from summarize to a variableHi everyone,
I want to sum a variable and then assign its highest value +1 to an observation. The v…
 Individual-invariant variables in FEHello,
I am sorry if this topic has come up before - however, I did searched for an answer and faile… Individual-invariant variables in FEHello,
I am sorry if this topic has come up before - however, I did searched for an answer and faile…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating conditional probabilities on stata
Post a Comment