SAS Programming Professionals,
Did you know that you can objectively measure the worth of any SAS book you are considering purchasing by using a simple program that I developed?
After writing my new e-book, Did You Know That? Essential Hacks for Clever SAS Programmers, I was inspired to create a way that SAS professionals could objectively measure the worth of a book on SAS hacks. Such a program would have to use money ("I'm all right Jack keep your hands off my stack. " -- Pink Floyd) as the unit of measure and weigh the monetary benefits of the hacks against the cost of the book against the income of the SAS programming professional.
The SAS program that follows is set up to evaluate my new e-book. Change the SALARY, GOODTIPS, and TIMESAVED macro variables to evaluate whether Did You Know That? Essential Hacks for SAS Programmers is right for you.
And, just as importantly, save this program so that you can modify the cost of the book and the book's title when evaluating any other book on SAS programming.
/*Michael A. Raithel's SAS Book Evaluation Program*/
%let SALARY=50000; /* Your yearly salary */
%let GOODTIPS=2; /* Number of good tips that will save you time at work*/
%let TIMESAVED=15; /* Estimated number of mintes each tip will save you */
length bigline $130;
label bigline = "Here are the points to consider:";
/* Perform complicated calculations */
Hourly_Salary = round(&SALARY/2080,.01);
Minute_Salary = round((Hourly_Salary / 60),.01);
Tot_Time_Saved = &GOODTIPS * &TIMESAVED;
Cost_Per_Tip = 5.95 / &GOODTIPS;
Total_Salary_Saved = Tot_Time_Saved * Minute_Salary;
Total_Net_Salary_Saved = (Tot_Time_Saved * Minute_Salary) - 5.95;
/* Generate a Spiffy Report */
bigline = "You found &GOODTIPS tips in the book to be useful for your job.";
bigline = "You estimated that the useful tips in the book saved you &TIMESAVED minutes per tip.";
bigline = "You make a handsome salary of $ &SALARY per year.";
bigline = "So, your hourly salary is $" || Hourly_Salary || ".";
bigline = "Which means you make $" || Minute_Salary || " per minute.";
bigline = "Your cost per useful tip in the book was $" || Cost_Per_Tip || ".";
bigline = "The total amount of salary you saved from using the tips was $" || Total_Salary_Saved || ".";
bigline = "But, you must subtract the cost of the book ($5.95) to realize your true savings of $" || Total_Net_Salary_Saved || ".";
proc print data = tipworth noobs label;
Title1 "Analyzing the Merits of Purchasing";
Title2 "Michael A. Raithel's";
Title3 "New e-book:";
Title4 "Did You Know That? Essential Hacks for Clever SAS Programmers";
Footnote1 "Amazon Kindle Edition: http://www.amazon.com/Michael-A.-Raithel/e/B001K8GG90/ref=ntt_dp_epwbk_0";
Footnote2 "Barnes & Noble Nook Edition: http://www.barnesandnoble.com/s/michael-raithel";
Best of luck in all of your SAS endeavors!
(aka Michael A. Raithel)
Amazon Author Page: http://www.amazon.com/Michael-A.-Raithel/e/B001K8GG90/ref=ntt_dp_epwbk_0
Barnes & Noble Author Page: http://www.barnesandnoble.com/s/michael-raithel
Facebook Fan Page: https://www.facebook.com/MichaelRaithelAuthor
SAS Press Author Page: http://support.sas.com/publishing/authors/raithel.html
sasCommunity.org Page: http://www.sascommunity.org/wiki/User:MMMMIIIIKKKKEEEE