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
🐛 Suspected bug in frames handling of dataDear All, I think I have encountered a bug in Stata where using a temporary frame may result in dat…
How to know the sample of countries taken in an analysis!Hi ! This may sound like a silly question. I am working on a panel data with 140 countries. However…
Selecting variables in a dataset from observations within another datasetHello, Hope there is someone who could help me to solve this... I have a dataset with monthly retu…
convergence with SEMDear all, I use STATA 15.1 to build a full model with SEM. In the final process, STATA shows me th…
Identifying outlier clustersHello everyone, I have an unbalanced panel data set which consists of 5000 banks operating in 38 co…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating conditional probabilities on stata
Post a Comment