I've got a problem set from my workshop, and cannot figure out how to deal with it.
The variables are :
1) relativescore: transition scores relative to the cutoffs that allow the opportunity to access a higher-ranked school
2) score: transition scores
3) bexam_grade: the baccalaureate exam grade
First, generate means of two variables (score and bexam_grade) collapsed into cells containing individuals who are within 0.01 of a transition scores relative to the cutoffs and restrict observations to individuals with transition scores within 0.2 points of a cutoff.
Then report the summary statistics for the three variables (relativescore, score, and bexam_grade) after collapsing into 0.01 point cells.
Is there anyone who can help me with this? Thank you.
Related Posts with Collapsing the data
Bayesian regression analysis with sampling weightHi all Does anyone know if I could do Bayesian regression analysis with sampling weight? I have got …
cluster on firm or two-way level?Hello all, If the model is y_it = x1_it + x2_it + x3_t + e_it, which means there is a time-serial v…
can we generate 0,1 and missing values simutaneously? Code: gen A = B==0 & C==1 replace A = . if B== .| C==. In other words, can we simplify the two …
r(1400) after meglmHi together, I tried to use meglm models according to this tutorial: https://stats.idre.ucla.edu/st…
Obtain new variable after 3 consecutive signals and generate new values after 6 and 8 periodsHi! With the variable buy_signal I've created buy signals. I have the following rule after which I w…
Subscribe to:
Post Comments (Atom)
0 Response to Collapsing the data
Post a Comment