Delete a variable in Stata by using the following command: delete var x This deletes the variable x.