Posts Tagged ‘ hack ’

Logistic function macro for SAS

November 11, 2011
By

Used in logistic regression, neural networks, and countless other applications, the logistic function is simple to understand yet can be quirky to calculate in SAS because of how SAS treats extreme values. First, let’s consider the value -1000: R...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

dates in datetime fields

September 22, 2011
By

Got date values intermingled with datetime values? Here’s a brute force way to convert the date values into date time values. Code data _null_; x1='01JAN1960:05:09:56'dt; x2='12SEP2010:00:00:00'dt; array x(*) x:; ...
Read more »

Tags: ,
Posted in SAS | Comments Off

an mmddyyyy hhmmss informat. kinda.

October 20, 2009
By

a while ago, i took the hack shortcut of reading character datetime stamps into datetime values. i even went so far as suggesting a regex would be a better solution. well, here’s that better solution: data mmddyyyy_hhmmss_xm; if _n_=1 then do; ...
Read more »

Tags: , , , , , ,
Posted in SAS | Comments Off

an mmddyyyy hhmmss informat. kinda.

October 20, 2009
By

a while ago, i took the hack shortcut of reading character datetime stamps into datetime values. i even went so far as suggesting a regex would be a better solution. well, here’s that better solution: data mmddyyyy_hhmmss_xm; if _n_=1 then do; re...
Read more »

Tags: , , , , ,
Posted in SAS | Comments Off

reading overlapping text segments

May 19, 2009
By

if you’re in the same boat as me, you’ve got sas 9.1.3 sp4 installed under windows. the thing about sas 9.1.3 sp4 running under windows is the lrecl is limited to 32,767 characters. (even though the sas kb says 1mb, that doesn’t appear to be true...
Read more »

Tags: , , ,
Posted in SAS | Comments Off

reading overlapping text segments

May 19, 2009
By

if you're in the same boat as me, you've got sas 9.1.3 sp4 installed under windows. the thing about sas 9.1.3 sp4 running under windows is the lrecl is limited to 32,767 characters. (even though the sas kb says 1mb, that doesn’t appear to be true. at...
Read more »

Tags: , ,
Posted in SAS | Comments Off

scraping the sas training pages

January 15, 2009
By

hello SAS Tech Report readers! be sure to check out the rest of this blog and accompanying project. you can follow this blog via rss readers and follow me on twitter. now back to the post... UPDATE: it turns out that SAS has changed some things on the...
Read more »

Tags: ,
Posted in SAS | Comments Off

scraping the sas training pages

January 15, 2009
By
scraping the sas training pages

hello SAS Tech Report readers! be sure to check out the rest of this blog and accompanying project. you can follow this blog via rss readers and follow me on twitter. now back to the post… UPDATE: it turns out that SAS has changed some things on the...
Read more »

Tags: , ,
Posted in SAS | Comments Off

Proc-x is looking for sponsors!

Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: [email protected]

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.