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
Time Trend VariableHello All, I am preparing my data to run an interrupted time series. I have to create a time trend …
Running a folder/list of do. files one after the other automatically (only starting the next when first is done).Hi folks - does anyone know of a simple way to automate the process of running a list of do. files o…
import excel imports sheet structure, but no data(I'm using version 15.1) I am reading in a series of similarly formatted Excel files. (These are pre…
Missing data for non-treated group in logistic regression interactionHi all, I am trying to figure out how to handle missing observations for the non-affected firms in …
Convergence fracreg logitI am trying to model the rate of occupational injuries as a function of a series of independent vari…
Subscribe to:
Post Comments (Atom)
0 Response to generate new variable out of conditions on others
Post a Comment