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

What is the use of function Proc summary?

1346


what is star schema? : Sas-di

1187


What is the role of sas grid administrator? : sas-grid-administration

1348


Explain the purpose of retain statement.

1107


What is the use of divide function?

1121


What are the different operating system platforms in which we can use sas? : sas-grid-administration

1124


What system options would you use to help debug a macro? : sas-macro

1155


what is sas metadata repository? : Sas-bi

1176


How do dates work in SAS data?

1230


Explain substr function?

1166


Which command is used to perform sorting in sas program?

1095


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

1059


What was the last computer book you purchased? Why?

2422


For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration

1062


hi tell be about pfizer? how to compare the work with other companies ? please tell me how to login and work also?

2111