string Generate Dummy Variable Stata From String R create dummy variables from categorical. What we do is write the name of the variable we want to …