Stata Generate

The generate command creates a new variable


Usage

generate foo = 1
generate bar = "2" if foo==1
generate byte baz = 3


See also

Stata manual for generate


CategoryRicottone

Stata/Generate (last edited 2023-06-08 01:05:56 by DominicRicottone)