In my text editor:
Array
In Stata:
Array
Code:
clear all
sysuse auto
gen sample_indicator = cond(                             ///
    20         <= mpg             & mpg             >= 30     &     ///
    2         <= rep78         & rep78         >= 4     &     ///
    10         <= trunk         & trunk         >= 20     &     ///
    2000     <= weight         & weight         >= 4000 &     ///
    100     <= displacement & displacement     >= 400         ///
, 1, 0)
0 Response to Convert tabs to spaces in results window
Post a Comment