Members

Blog Posts

The Little SAS Program’s BIG Night Out

Posted by Michael A. Raithel on April 24, 2017 at 8:10am 0 Comments

SAS Programming Professionals,

Check out this fanciful story of a small but powerful SAS program and the various SAS facilities she uses to get the…

Continue

Hack 4.19 Up-Coding Text Variables with the VVALUE Function

Posted by Michael A. Raithel on April 17, 2017 at 8:30am 0 Comments

SAS Programming Professionals,

Check out this hack: …

Continue
 

Latest Activity

Mathieu Gaouette replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"/* I have to admit that I got the variable names from other answers as it wasn't provided */Data hotel ;    infile "<Source location>\hotel.dat";    input room $ 1-4          guests 8-9          in_month 13-14          in_day 16-18         …"
3 hours ago
Natasha Ulanowski added a discussion to the group Friends of SAS Programming Problems
Thumbnail

April 26 - Programming Problem

Please post your solutions to this week's problem here. The code needed for the problem is attached. Thank you!See More
5 hours ago
Estela Lutero Tavares replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"data hotel; infile 'F:\hotel.txt'; input room guests checkinmonth checkinday checkinyear checkoutmonth checkoutday checkoutyear wireless :& $3. @; if wireless='YES' then input Internet_use @ ; input @53 room_type $16.…"
7 hours ago
Profile IconAmbrose Chan, ashish_sas, Wanting Tao and 1 more joined SAS Canada Community
12 hours ago
Arthur Tabachneck posted a status
"SAS online communities meetup:May 2, 2017 (3pm-4pm EDT). Register at: http://www.sascommunity.org/wiki/Main_Page"
yesterday
Michael A. Raithel posted a blog post

The Little SAS Program’s BIG Night Out

SAS Programming Professionals,Check out this fanciful story of a small but powerful SAS program and the various SAS facilities she uses to get the job done on her big night out: http://michaelraithel.blogspot.com/2017/04/the-little-sas-programs-big-night-out.htmlBest of luck in all of your SAS endeavors! ----MMMMIIIIKKKKEEEE(aka Michael A. Raithel)Author of the new cult classic for computer…See More
yesterday
Peter Timusk replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"This one data step does the trick I think. Do you see anything wrong with it? DATA hotel;infile 'C:\Users\ptimusk\Documents\SASUniversityEdition\myfolders\hotel.dat';input room_num 1-4  num_guests 6-9checkinmonth 10-14 checkinday…"
yesterday
Aroop Ghosh replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"Thanks, Bruce, for the clarification.  I was curious about your use of the double trailing @. Aroop"
Saturday
Bruce Densmore replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"The desticntion is between the two phrases "... within the same iteration of the DATA step ..." and "... across iterations of the DATA step ...".  The single "@" looses it "hold" for each new pass through…"
Saturday
Aroop Ghosh replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"Thanks Art, awesome explanation, makes it really clear.   I modified your first data step with the single trailing at (reading multiple vars from a single record) to differentiate from the second.  It's the double trailing I had not…"
Saturday
Arthur Tabachneck replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"Aroop: There is a big difference. Run the following: data dont_want;  input id @;  datalines;1 2 3 4 5 6 7 8 9;run; data want;  input id @@;  datalines;1 2 3 4 5 6 7 8 9;run;"
Saturday
Aroop Ghosh replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"First time I have come across a double @.  What the difference between an @ and @@?  Not too clear from the docs, they seem to be saying the same thing: @, a single trailing @, holds an input record for the execution of the next INPUT…"
Saturday
Horst Wolter replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"data hotel; infile 'C:\hotel.dat'; input room_number number_of_guests check_in_month check_in_day check_in_year check_out_month check_out_day check_out_year use_of_wireless :& $3. @; if use_of_wireless='YES' then input…"
Thursday
Aroop Ghosh replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
Thursday
Profile Iconsravana kumar, Martha Lemoine, Richard Ge and 6 more joined SAS Canada Community
Thursday
Bruce Densmore replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"So that you can examine my results, they are attached below. Since the first activity said “Examine the raw data file Hotel.dat and read into SAS”, I took that to mean I should figure out how to read the file as it was presented.…"
Thursday
John Lam replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"  data hoteldata;    Infile hotel;    input @001  room       $char4.          @008  guests  ?? 2.          @013  in_mm   ?? 2.          @016  in_dd   ?? 3.          @019  in_yyyy ??…"
Apr 19
Arthur Tabachneck replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"I get the same result as Jean-François thus, we're either both correct or independently made the same mistakes: data have (drop=check_in_: check_out_:);  informat room_type $14.;  format check_in check_out…"
Apr 19
Jean-François Ducré-Robitaille replied to Natasha Ulanowski's discussion April 19 - Programming Problem in the group Friends of SAS Programming Problems
"Here is my solution : * First row : 211    3    2  7  2014    2  11  2014    NO         Deluxe Suite    295;*…"
Apr 19
SZ YAO replied to Sam Davie's discussion Logsitic Regression Interaction Term
"The contrast statement tells the Chi-Sqr statistics, and the p-values, but  it does not generate estimates and OR. Instead, you can use the 'ESTIMATE' statement to obtain corresponding ORs.  I have a post on how to construct the…"
Apr 18

Forum

Logsitic Regression Interaction Term

Started by Sam Davie in Featured Discussions. Last reply by SZ YAO Apr 18. 1 Reply

Hello,I am working on an analysis where I would like to know whether an intervention acts differently across levels of income (5 levels total). I'd like to do this for females only, and adjust for age. In the end, I'd like to obtain an odds ratio…Continue

Available SAS software

Started by Rex Deus in Featured Discussions. Last reply by Arthur Tabachneck Mar 21. 1 Reply

SAS Admin question,I run "proc setinit" and don't see SAS EG as available software, yet SAS EG is fully usable and running fine, am I missing something here?Continue

Do Loop?

Started by Sam Davie in Featured Discussions. Last reply by Arthur Tabachneck Nov 16, 2016. 1 Reply

Hi,I have a large dataset containing information about patients of a medical clinic, which doctor they are registered with (Registering Doctor), and which they saw on that particular visit (Attending Doctor). For each patient, I'd like to calculate…Continue

New to SAS & basic certification help please !

Started by Malcolm Ponnayan in Featured Discussions Oct 17, 2016. 0 Replies

Good Morning everyone ! I am new to SAS and to this community here online. I am planning to do my basic foundation certification with SAS. Could anyone please help me with some inputs and guidance on preparation materials, books, or any other…Continue

 
 
 

Photos

Loading…
  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2017   Created by Steve Mahoney.   Powered by

Badges  |  Report an Issue  |  Terms of Service