Stata FAQ: How can I create dummy variables in Stata?

Stata FAQ: How can I create dummy variables in Stata?

瀏覽:1082
日期:2024-05-05
Stata FAQ How can I create dummy variables in Stata? There are two easy ways to create dummy variables in Stata. Let's begin with a simple dataset that has three levels of the variable group: input group 1 1 2 3 2 2 1 3 3 end We can create dummy variables...看更多