Hi, I want to analyse a very large dataset for which I want to look into the different categories of a variable. Here some variables are defect as instead of a categorical name, they have a number code (which is meaningless in my case). Hence, I want to drop all variables with a numbers code instead of a name. The numbers code is often, but not always longer than the categorical name.
Thank you in advance for your responses!
Related Posts with Dropping observations of a string variable that contain numbers
Generating variable that measures the difference between the last and first yearDear Statalisters, I am trying to generate a variable that measures how much the CPIA index for ins…
Simple linear regression: difference of results in Stata when compared to Excel (why?)I performed a simple linear regression in Stata and in Excel by relating the number of hotel arrival…
MC Simulation: How to return regression results for multiple regressions?Hello, I am attempting to return coefficient results from multiple regressions using a simulation. …
"Variables do not uniquely identify the observations" error when mergingHi everyone. I am trying to merge two datasets constructed from German SOEP data. The datasets have …
Drop values in columns without using the drop duplicates commandDear Stata community, I am new to Stata programming and currently conducting an event study on ad h…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping observations of a string variable that contain numbers
Post a Comment