SAS Learning Post
Technical tips and tricks from SAS instructors, authors and other SAS experts.A recent study by Bai & Anderson has found that some hospitals charge 10x (ie, 1000%) higher than the standard rates set by Medicare. Many news agencies have posted the list of the 50 US hospitals that have the highest markup. But I am more visually oriented, so of course I used SAS
Have you ever been bitten by a mosquito? What are the odds it carried the West Nile virus? ... Perhaps a lot higher than you thought! Here's a picture of a mosquito that kept 'bugging' me around my computer desk at home - good riddance, I say!
When reading a text file (common extensions: TXT, DAT; or, for the adventurous: HTML) with the DATA STEP, you should always view several lines from the text file, and compare to the record layout, before completing the INPUT statement. There are many ways to view a text file. I use
My previous blog was about popular first names ... now for a blog about popular surnames (ie, last/family names)! But before we get started, here's a little pop-quiz - what country is my friend Mr. Foley's surname from?
Default PROC FREQ output looks like this: Suppose you don't want the two cumulative statistic columns above. No problem. Those can be suppressed with the NOCUM option on the TABLE statement, like this: proc freq data=sashelp.shoes; table product / nocum; run;
A couple of years ago, I blogged about the most popular baby names in the US over the past 100 years. This time, I focus on the most recent year, and take it to the state level! But before we get started, here's a picture of my friend Jennifer's daughter,