SAS Exercises Day 2&3

  • Upload
    amitmse

  • View
    220

  • Download
    0

Embed Size (px)

Citation preview

  • 8/6/2019 SAS Exercises Day 2&3

    1/1

    SAS Exercises Day 2 & 3

    Refer to datasets located at: \\dell\kr\Training June-July 2010\SAS\Exercises\ING Data

    A) Import all lookuptables.B) Find the unique identifier in each lookuptableC) *Create new table where BILLING FREQUNCEY is Annual and CONTRACT_TYPE is not IPP;D) Fromthe Question C and branch channel lookuptable

    i) Find numberofrecords for each CHANNEL_NAMEii) Ifthere is more than one record for a CHANNEL_NAME create an indicator variable 1

    else 0

    iii) Is there any duplicate records, create indicator for duplicate recordsiv) Create a new dataset, where duplicate records are deletedv) How many missing records are there in the field CHANNEL_NAME

    E) Use Question D, IV)i)

    Group premium in multiples of 5000 (value starting from 0 to 40000)ii) Find the mean, median and group 0-25p, 25-50p, 50-90p, >90p;F) Use Question D, IV)

    i) Find agenttenure atthe time of issuance ofthe policy fromthe source tableii) Age ofthe policy as on dateiii) Average age ofpolicy at lapsation

    G) Fromthe source table ing_data, create the table T_final ds. Refer Data dictionary.xls