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...

What is LOGICAL VARIABLES in SAS.And how it can be used..Can
anyone support..???

Answer Posted / nagaraju

Fitst. and Last. varibles are logical variables and returns
1 & 0 values.
These are mailnly used to give the first and last
occurances from the table.

ex: employee table having (1-100 employees) -- uses

if we give first.empid=1 then it gives only first employee
details
if we give first.empid=0 then it gives remaining employee
details except first one

in the same way

if we give last.empid=1 then it gives last employee details
if we give last.empid=0 then it gives remaining employee
details except last one
hope this is clear

Is This Answer Correct ?    22 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why double trailing @@ is used in input statement?

1198


What are the default statistics for means procedure?

1223


How substr function works in sas?

1197


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1147


what is treatment emergent events and treatment emregent adverse event

2376


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1251


Mention what is the difference between nodupkey and nodup options?

1000


Difference between sum function and using “+” operator?

1133


What is Linear Regression?

1148


Are you involved in writing the inferential analysis plan? Tables specifications?

3936


Where do you use proc means over proc freq?

1097


what is factor analysis? : Sas-administrator

1071


Mention the validation tools used in SAS?

1147


How to read an input file in sas?

1123


what is the purpose of _error_? : Sas programming

1112