Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Property - Casualty / General Insurance
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions

Meet the Employees of DW Simpson
Patty Jacobsen Simpson, Bob Morand, Kristyn Sakelaris, Sean Loboda, KC Cho, Maureen Matous, Ellen Page
Aaron Benton, Becki Tobia, Kimberly Skora, Margit Vogele, Barclay Burns, Jason Blundy, Dan Karrow, Tom Troceen
Valorie Mulder, Marianne Westphal, Carol Lee, Jennifer Retford, Kieran Welsh-Phillips, Lindsey Nelson, Emily Paxton
Angie Wachholz, Derek Mulder, Julie Garwood, Caitlin Cunningham, David Benton, Dave Retford, Sarah Cleveland, Rhonda Glick
Genevieve Shannon, Meghan Bautista, Carol Datu, Barb Rave, Jesus Perez, Dan Kane, Chris Zdenek, Scott Simon, Kriss Wells


Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2011, 02:01 PM
troyandabed's Avatar
troyandabed troyandabed is offline
Member
CAS
 
Join Date: Oct 2011
Location: Air Conditioning Repair Annex
Studying for MFE
Favorite beer: Red Oak
Posts: 370
Default Learning SAS

Maybe a little background first: I was a pure math BS and MA, and now want to get into P&C actuarial work. I'd really like to learn SAS, but the official programming course and the software are both too expensive for me, I just can't afford them.

I don't have much of a background in programming, just some basic Java and Matlab that I had to take for my undergrad degree. Can anyone recommend texts or learning tools for SAS on the cheap? I guess my tilt would be towards things that will help me land a job and work in the P&C field. Thanks.
__________________
Save Garrett

1/P 2/FM 3/MFE 3/MLC 4/C 5 6 7 8 9 OC1 OC2
VEE - Econ Stats Finance
Reply With Quote
  #2  
Old 12-05-2011, 02:30 PM
IKnewIt's Avatar
IKnewIt IKnewIt is offline
Member
CAS
 
Join Date: Jun 2011
Studying for FCAS
Posts: 1,513
Default

Pick up SAS on the job like most actuaries working in the field. Put that time towards passing more exams instead.
Reply With Quote
  #3  
Old 12-05-2011, 02:54 PM
emg3000 emg3000 is offline
 
Join Date: Oct 2007
Posts: 8
Default

I'm currently in the middle of learning SAS myself. After over a year, I'd finally say I'm comfortable with performing basic tasks (meaning I don't have to reference prior code or google basic syntax). Still, it's a never-ending, continuous process. Given time and references, I can solve most any problem. But, the purpose of programming is to be efficient, and I'm always trying to balance variously more skilled ways of completing problems versus doing them in some more hackish, manual way. But I digress...

As for the best way to go about learning, my advice might be a bit dismal:
Unfortunately, I regard textbook learning of any programming language as an uphill battle. This is not to say I don't use "textbooks" or other academic resources/documentation when practicing the craft. But I'd offer that nearly all workable, actionable knowledge I have about a programming language's functioning came from facing of a real programming problem, not from abstract study. With this in mind, unless you are being tasked to perform some function with the SAS, I would think it difficult to learn.

Furthermore, although I like SAS, it can be expensive if outside corporate or academic walls. You'd do just as well fiddling with R, which is free.

As for things to practice, you could try the problems associated with programming competitions. Scour google for a site that offers some introductory tests. These problems are typically meant to be solvable with different programming languages. I believe most of the students who compete do so with C++ or some variant thereof, but there's no reason you couldn't do them with R (or SAS, if you have a personal copy).


Also, if your goal is to learn some kind of data management language, SQL is essential. W3schools.com has a great basic tutorial, but it's by no means the only one.

Now, if you really have your sights set on SAS, and you want an all purpose text, the SAS language reference is free. Here's the concepts section:
http://support.sas.com/documentation...ault/lrcon.pdf. There are other sections you can best find by googling, including one for the macro engine.

Hope this helps...
Reply With Quote
  #4  
Old 12-05-2011, 03:20 PM
troyandabed's Avatar
troyandabed troyandabed is offline
Member
CAS
 
Join Date: Oct 2011
Location: Air Conditioning Repair Annex
Studying for MFE
Favorite beer: Red Oak
Posts: 370
Default

Thanks for the advice. From applying to jobs it seemed that SAS skills were high on the list, but if SQL is used just as much in the field I should probably spend some time on that as well.
__________________
Save Garrett

1/P 2/FM 3/MFE 3/MLC 4/C 5 6 7 8 9 OC1 OC2
VEE - Econ Stats Finance
Reply With Quote
  #5  
Old 12-05-2011, 03:32 PM
emg3000 emg3000 is offline
 
Join Date: Oct 2007
Posts: 8
Default

In terms of managing datasets/tables, base SAS steps through records one-by-one, where as SQL tends to use more efficient, if less transparent, algorithms. Which one is better is a debate that depends on the cirucumstances. But fact is, SAS provides compatibility for both anyway. Obviously base SAS supports the SAS way of stepping through table records one-by-one. It also supports SQL by using the SQL procedure. So, with SQL, you kinda can't go wrong. Furthermore, you may find a job that uses SAS. You might also find a job that uses SPSS, or R. But SQL is pretty universal across platforms. SQL in SAS ~ SQL in MS SQL Studio ~ SQL on Oracle ~ SQL on MySQL...

Again, I think it's hard to learn this stuff without a tangible application, but if you're to try it, SQL would be a good start.
Reply With Quote
  #6  
Old 12-05-2011, 04:18 PM
sama sama is offline
Member
 
Join Date: Nov 2008
Posts: 32
Default

Quote:
Originally Posted by troyandabed View Post
Thanks for the advice. From applying to jobs it seemed that SAS skills were high on the list, but if SQL is used just as much in the field I should probably spend some time on that as well.
SAS has a procedure called "proc sql". It essentially allows you to use SQL codes in SAS. I mainly use "proc sql" when I code because I'm too lazy to remember the syntax of all the other procedures. I think learning SQL is a good idea since there are more free resources on the internet and then that knowledge can be recycled back into SAS coding.
Reply With Quote
  #7  
Old 12-05-2011, 04:57 PM
JasonScandopolous's Avatar
JasonScandopolous JasonScandopolous is offline
Member
CAS
 
Join Date: Jul 2010
Posts: 3,427
Default

Quote:
Originally Posted by sama View Post
SAS has a procedure called "proc sql". It essentially allows you to use SQL codes in SAS. I mainly use "proc sql" when I code because I'm too lazy to remember the syntax of all the other procedures. I think learning SQL is a good idea since there are more free resources on the internet and then that knowledge can be recycled back into SAS coding.
Completely agree. You will need to use row-by-row processing for certain things you want to do, and will find great potential use for the other PROCs that SAS has to offer, but essentially ALL basic data gathering can be done with just SQL. Learning SQL is 95% of the way to being a data gatherer/manipulator. It doesn't get you very far as a predictive modeler, report-producer (not that you should want to be a Statistical guy), etc., though.
__________________
Jason Scandopolous Williams de la Hoya

Quote:
Originally Posted by GargoyleWaiting View Post
I was told to say I didn't like Miller beer. For obvious reasons, I didn't have an ethical problem saying that.
Reply With Quote
  #8  
Old 12-06-2011, 12:13 AM
Ajay_Shekhar Ajay_Shekhar is offline
 
Join Date: Sep 2011
Location: Chennai
Studying for CA1
Posts: 12
Default

SAS provides SQL & R compatability using PROC SQL & PROC IML respectively.

Proc SQL for data manipulation, and IML for modeling.

As a more economical solution, you could try learning them individually and then integrating them into SAS when you start working on it, which should be a piece of cake really.
__________________
"In god we trust, all others must bring data"

CT1 CT2 CT3 CT4 CT5 CT6 CT7 CT8 CT9 CA1 CA2 CA3 ST5 ST6 SA6
Reply With Quote
  #9  
Old 12-06-2011, 10:33 AM
Ron Weasley's Avatar
Ron Weasley Ron Weasley is offline
Member
CAS AAA
 
Join Date: Oct 2001
Studying for naught.
Favorite beer: Butterbeer
Posts: 5,274
Default

Base SAS certification would mean something on a resume. It can make a candidate that seems on the fence a bit more favorable, but it doesn't carry the same weight as someone who has used SAS on-the-job on a regular basis. Real SAS skills are generally learned in a corporate environment, and the SAS certification program and licensing practices reflect this.

A less expensive way to say "I know SAS" on a resume may be to take a course in a local community college. That would give you access to the language, some level of instruction and experience, and a passing grade would give grounds on a resume to say "I know SAS."

Knowing SQL and/or R is knowing SQL and/or R. Both say something positive. However, even though proc SQL is my preferred way to work with data manipulation in SAS, if someone said "I know SQL well and therefore know SAS because of proc SQL", I would be interested in their SQL skills, not their SAS skills.
Reply With Quote
  #10  
Old 12-07-2011, 05:11 AM
AlexNZ AlexNZ is offline
Member
 
Join Date: May 2005
Posts: 67
Default

I wonder what people think about temporary arrays (i.e. ARRAY with _TEMPORARY_ at the end) in SAS data step. We use it to loop through records in any order we like, particularly to process data when it is stored at different levels (e.g. policy, item, coverage), trying to match by dates (when they don't match exactly), trying to apply restrictions on coverage periods based on information at higher levels, testing of gaps and overlaps of coverages... tasks like these.

Has anyone done similar tasks in SQL? Is this easy to do in SQL?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 01:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.20543 seconds with 9 queries