We (wisely) told Stata to generate the new variable agecat as a byte thus conserving memory. We can create the same result with one command using the recode()
We (wisely) told Stata to generate the new variable agecat as a byte thus conserving memory. We can create the same result with one command using the recode()
If. Stata says nothing about missing values then no missing values were generated. • You can use generate to set the storage type of the new variable as it is
Data > Create or change data > Other variable-transformation commands > Recode categorical variable. Syntax. Basic syntax recode varlist (rule) [(rule) .
16 nov. 2020 Generate indicator variables v1 1 v1 2
Data > Create or change data > Other variable-transformation commands > Recode categorical variable. Description recode changes the values of numeric
18 janv. 2020 We wish to create a new variable called lastname which we will then use to sort the data. name is a string variable. . use https://www.stata- ...
by creating new variables and in the second syntax (xi: any stata command)
If. Stata says nothing about missing values then no missing values were generated. • You can use generate to set the storage type of the new variable as it is