title: Generating random numbers in SAS
body: <p>how to generate random integers between 10 and 50 using ranuni() function in sas.</p>
  
  <p>For generating random integer between 1 to 5, I used this code</p>
  
  <pre><code>data random;
   do i=1 to 10;
      random_int = int(ranuni(0) * 5 + 1);
      output;
   end;
  </code></pre>
  
  <p>run;</p>