Stata is smart. Even though we did not specify the storage type in our generate statement, Stata knew to create a str9 lastname variable, because the longest last name is Bimslager, which has nine characters. E
Stata labels the variables so that we know what they mean. spd1 an indicator variable that is true (takes on the value 1) when spdcat is between 40 and 50; otherwise, it is zero. (Thereis an exception: if spdcat is missing, so are the spd1, spd2, and spd3 variables. This...
Title tabulate oneway — One-way table of frequencies stata.com Syntax Remarks and examples Menu Stored results Description References Options Also see Syntax One-way table tabulate varname if in weight , tabulate1 options One-way table for each variable—a convenience tool tab1 varlist if in ...
Stata is smart. Even though we did not specify the storage type in our generate statement, Stata knew to create a str9 lastname variable, because the longest last name is Bimslager, which has nine characters. Example 3 We wish to create a new variable, age2, that represents the variable...