title: How do I delete observations with no data in Stata?
body: <p>I have data with IDs which may or may not have all values present. I want to delete ONLY the observations with no data in them; if there are observations with even one value, I want to retain them. Eg, if my data set is:</p>
  
  <pre><code>ID val1 val2 val3 val4
  1 23 . 24 75
  2 . . . .
  3 45 45 70 9
  </code></pre>
  
  <p>I want to drop only ID 2 as it is the only one with no data -- just an ID.</p>
  
  <p>I have tried Statalist and Google but couldn't find anything relevant.</p>