How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?



How would you create a data set with 1 observation and 30 variables from a data set with 30 observat..

Answer / azad

using proc transpose;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

How do you put an elephant in the refrigerator?

6 Answers   Oracle,


Give some examples where proc report’s defaults are different than proc print’s defaults?

0 Answers  


what is the use of catalog?

1 Answers   Cognizant,


What is SAS Information Map Studio and its purpose ?

2 Answers   SAS, TCS,


How can sas program be validated?

0 Answers  


Mention the validation tools used in SAS?

0 Answers  


what is broad cast agent? : Sas-bi

0 Answers  


what are the different ways of merging two datasets.name atleast 4.

2 Answers  


what is the diff b/w verification validation in sas

3 Answers   SAS,


In this question, I rename the numeric variable phone to numphone and then try use phone=put(numphone,comma16.) to store the numeric value numphone as a string value in phone. But I get a warning tha numphone already exists and in the data sat phone doesnt exist and numphone is set to missing. Why? data names_and_more; input Name $20. Phone : comma16. Height & $10. Mixed & $8.; Name = tranwrd(Name,' ',' '); rename phone = numphone; phone = put(numphone,comma16.); datalines; Roger Cody 9,087,821,234 5ft. 10in. 50 1/8 Thomas Jefferson 3,158,488,484 6ft. 1in. 23 1/2 Marco Polo 8,001,234,567 5Ft. 6in. 40 Brian Watson 5,183,551,766 5ft. 10in 89 3/4 Michael DeMarco 4,452,322,233 6ft. 76 1/3 ;

1 Answers  


how sas deals with business intelligence? : Sas-bi

0 Answers  


do you prefer proc report or proc tabulate? Why? : Sas programming

0 Answers  


Categories