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


i have a data set with 20 observations i want label from
8 to 15 observations ? how you create this one.

Answers were Sorted based on User's Feedback



i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / ram

Hi, We can create label for variables but not to the
observations. For, Observations we can create
formats.Either predifined of manual formats. So,please
check this

Is This Answer Correct ?    22 Yes 2 No

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / krishna

data c;
infile cards firstobs=8 obs=15;
input name$ sex $ age height weight;
label name='surname';
cards;
Joyce F 11 51.3 50.5
Jane F 12 59.8 84.5
Louise F 12 56.3 77.0
Alice F 13 56.5 84.0
Barbara F 13 65.3 98.0
Carol F 14 62.8 102.5
Judy F 14 64.3 90.0
Janet F 15 62.5 112.5
Mary F 15 66.5 112.0
Thomas M 11 57.5 85.0
James M 12 57.3 83.0
John M 12 59.0 99.5
Robert M 12 64.8 128.0
Jeffrey M 13 62.5 84.0
Alfred M 14 69.0 112.5
Henry M 14 63.5 102.5
Ronald M 15 67.0 133.0
William M 15 66.5 112.0
Philip M 16 72.0 150.0
;


another way


data class;
set sashelp.class(firstobs=8 obs=18);
label name='surname';
run;

Is This Answer Correct ?    23 Yes 4 No

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / krishna

data class;
set sashelp.class(firstobs=8 obs=15);
label name='surname';
run;

Is This Answer Correct ?    7 Yes 3 No

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / anil

data class;
set sashelp.class(firstobs=8 obs=18);
name='surname';
run;

Is This Answer Correct ?    1 Yes 0 No

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / naveen

option firstobs=8 obs=20;
proc print data=c label;
label sex=sir;
run;

Is This Answer Correct ?    0 Yes 0 No

i have a data set with 20 observations i want label from 8 to 15 observations ? how you create th..

Answer / rajesh

first i have to select the required veriables in a new data
set there i can label the variables as u like

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More SAS Interview Questions

what is sas data set?

0 Answers  


What is PROC in SAS?

0 Answers  


What are exact SAS Base contents..?N what r SAS Tools..?

1 Answers  


Do you prefer Proc Report or Proc Tabulate? Why?

9 Answers   Oracle,


Can Some one Explain How the Datasets from SAS can be loaded in to the MVS OS?

1 Answers   HCL,


what kind of variables are collected in AE dataset?

3 Answers   Accenture, Quintiles, SAS,


What are the functions used for character handling?

0 Answers  


Compare sas with other data analytics tools.

0 Answers  


Hi, I have one dataset, could you please ans for this. id amount paid_amount 1 700 400 2 900 250 3 300 300 a 400 250 b 500 320 c 800 650 x 200 190 y 900 250 z 300 180 i want create new dataset having id and paid_amount who are paid high amount comparing amount. ex: 1d paid_amount 3 300 c 650 x 190

3 Answers  


What is the role of unrestrictive users? : sas-grid-administration

0 Answers  


What is the purpose of using the N=PS option?

2 Answers   Oracle,


DATA ABC; INPUT TDATE DATE9. AVG; CARDS; 18APR2008 150.00 19APR2008 167.00 20APR2008 123.00 21APR2008 145.00 ; RUN HOW CAN I FIND THE DIFFERENCE BETWEEN AVG OF 18APR2008 ANF 21APR2008?? IF ANY ONE GETS IT PLS TRY TO POST IT.

8 Answers   Verinon Technology Solutions,


Categories