Hello,
Suppose I have a a csv file :
nameofschool. enrollees
school1 15
school 2 2
....
And I want to create variable
numberofschool that represent the number of school for which enrollees>10
how do I do it?
Related Posts with generate new variable out of conditions on others
Mediation analysis with -gsem-Dear all, I am doing a mediation analysis with -gsem- in Stata 15. The sem model includes models tha…
asdfasdf …
Save F-stat from first stage to tableHi all, I have to perform some regressions like Code: quietly ivregress 2sls dep (indep=instrument…
Country-Specific time trends in a fixed effects modelDear all, I am running a two-way fixed effects regression: Code: xtreg rate fertility unemp yout…
Is iweight command suitable for analyses on oversampled populations?Hello, I was hoping you may be able to advise on this I am running analyses on a simple exposure ou…
Subscribe to:
Post Comments (Atom)
0 Response to generate new variable out of conditions on others
Post a Comment