Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

data voter;
input Age Party : $1. (Ques1-Ques4)($1. + 1);
datalines;
23 D 1 1 2 2
45 R 5 5 4 1
67 D 2 4 3 3
39 R 4 4 4 4
19 D 2 1 2 1
75 D 3 3 2 3
57 R 4 3 4 4
;

Idont understand what the (Ques1-Ques4)($1. + 1) means.

I have seen (Ques1-Ques4)(4*$1.), but what is
(Ques1-Ques4)($1. + 1)?

Appreciate all help

Thanks

Answer Posted / tsk

You are read data for a 4 question poll
(Q1-Q4) is an arrary ($1. is the format of each element
+1) tells that space b/n the each and every variable called
q1 ,q2 ,q3 ,q4.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how does sas handle missing values in a merge? : Sas programming

988


What was the last computer book you purchased? Why?

2320


What are the differences between sum function and using “+” operator?

1034


for report generation which one you used proc report or data_null_?

7633


What is interleaving in SAS?

1067


What is the work of tranwrd function?

1184


which date functions advances a date time or date/time value by a given interval? : Sas programming

905


What are SAS/ACCESS and SAS/CONNECT?

1090


Can you execute a macro within a macro? Describe. : sas-macro

1070


what is the use of proc contents and proc print in sas? : Sas-administrator

1003


Differentiate between proc means and proc summary.

1007


describe how to adjust the performance of data integrator? : Sas-di

948


To what type of programms have you used scratch macros?

2530


Can you execute macro within another macro? : sas-macro

941


What would you change about your job?

2336