How to Combine Categorical Variables in Stata
In this article, we will learn how to convert categorical variables into numerical variables (Also look at destring and encode). Suppose we have a dataset on patients and the drugs they have been administered. If drugA is administered to a patient, the variable shows ‘yes’, if not, it shows a ‘no’. The following image depicts […]