Sunday 20 September 2015

SAS Blog 1 - Answers - Even number problems from chapter 7 to 15 for Learning SAS by Example Programmer's Guide-Ron Cody

In this blog i have added answers to exercise sums (chapters 7 to 15 - even number problems) for Ron Cody's Learning SAS by Example Programmer's Guide.

I have done this as part of my academics.What did i learn while doing this assignment....

In seventh chapter i gathered knowledge about using conditional statements such as IF, ELSE IF, WHERE, SELECT , sub-setting with the help of the above statements and using Boolean operators. In eighth chapter i gathered knowledge about using DO, DO WHILE, DO UNTIL along with LEAVE and CONTINUE statements and also to make a simple gplot. Ninth chapter talks about dealing with dates, finding the difference with respect to day, weekday, month, year and also computing difference quarterly, imputing missing values etc., using various functions and also to make qplot.Tenth chapter talks mainly about merging two datasets and subsetting using IN= function, updating a master table using another table and much more.Eleventh chapter talks about Functions to round and truncate numerical values, missing values, computing constant values, generating random values, to fetch values from previous observations etc.
Chapter twelve talks about  functions dealing with manipulating characters. Chapter thirteen talks about array functions. Chapter Fourteen mainly deals with presenting the data. Fifteen is about generating reports. 

I have added all the datasets and the codes in Dropbox. You can download them from the following link.

https://www.dropbox.com/sh/yl5fmjxg9aadxwd/AAAJUHtvEAJR2-rsUjUFQ8WBa?dl=0




2 comments:

  1. You have done a great job, solving so many problems!

    On the blog, here are my suggestions:

    1. Your blog looks clean. However, you have put it in an unusual way and the blog is not readable, unless put into full screen. This may be avoided by posting each program separately along with the result.

    2. Also, it is posted in a manner, where the readers have to read the chapters sequentially and do not have a way to go to a specific topic or chapter. This can be facilitated by having separate page for each chapter and adding an index page to link the pages (for the chapters). You can also add links at each chapter to go back to index, previous (if any) and next (if any) pages. Alternatively, you can create a tabbed structure (one tab for each page).

    Further:
    1. Introduce each of the chapters briefly in your own word.
    2. Make sure that the screenshots you are putting in your blog are all readable without any further action by the reader.
    3. For each problem, explain the problem you are attempting to solve in few words and write the learning.
    4. Write a conclusion or summary for each page

    It would help, if you can think of this exercise as making your class notes and homework copy, combined which yourself (in future) and other can easily access, read and understand.

    You are very close from what I am looking for. For the next submission, if time permits, you can give it a try.

    Cheers,

    ReplyDelete
  2. Do u have solutions from chapter 1 to 6 .Kindly share

    ReplyDelete