Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
g1 final

g1 final

Ratings: (0)|Views: 1 |Likes:
Published by Amitmse

More info:

Published by: Amitmse on Jun 02, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less





data ing1;set ing;if Agent_Status='Inactive' then ind_payment=1;else ind_payment=0;if ind_payment=0 then ind_nonpayment=1;else ind_nonpayment=0;total_other_companies_sa=Other_compaines_SA;if total_other_companies_sa ne 0 then ind_otherinsct=1;else ind_otherinsct=0;run;data ing2;set ing1;if Agent_Termination_Date>First_Issue_Date then ind=1;else ind=0;run;data ing3;set ing2;if (ind=1 and Agent_Status='Inactive') then ind_orphan=1;else ind_orphan=0;run;proc summary data=ing3 sum;class contract_no;var Other_insurance_policies;output out=ing4 sum(Other_insurance_policies)=nbr_pols;run;proc sort data=ing3 out=ingsrt;by contract_type;run;proc sort data=pl out=plsrt;by Product_code;run;data plrnm;set plsrt;rename Product_code=Contract_Type;run;data ing4;merge ingsrt plrnm;by contract_type;run;proc sort data=ing4 out=ingsrt2;by channel;run;proc sort data=bc out=bcsrt;by channel;run;data ing5;merge ingsrt2 bcsrt;by channel;run;proc summary data=ing5 n;by contract_no;output out=ing6 n(Channel)=nbr_pols;run;

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->