How could you generate test data with no input data?

Answers were Sorted based on User's Feedback



How could you generate test data with no input data? ..

Answer / salman

For this Question the correct answer is data _NULL_

Is This Answer Correct ?    10 Yes 2 No

How could you generate test data with no input data? ..

Answer / rohit

SAS can be used to generate random numbers. The command
RANUNI is used to generate random numbers from a uniform
distribution ranging from 0 to 1, and the command RANNOR is
used to generate random numbers from a standard normal
distribution. To use the command, we need to specify a
seed. The seed, a numerical value, is placed in parentheses
after the command. If a different numerical value or seed
is specified, the commands will produce a different set of
random numbers. For example, the value produced by
RANUNI(1) is different from the value produced by RANUNI(2)

Is This Answer Correct ?    7 Yes 0 No

How could you generate test data with no input data? ..

Answer / tangyoulei

randuni

Is This Answer Correct ?    4 Yes 1 No

How could you generate test data with no input data? ..

Answer / kiran

even by using do loop.

Is This Answer Correct ?    2 Yes 1 No

How could you generate test data with no input data? ..

Answer / ram

Give one answer

Is This Answer Correct ?    1 Yes 0 No

How could you generate test data with no input data? ..

Answer / prag s.

now which one is the correct answer people????????

Is This Answer Correct ?    0 Yes 0 No

How could you generate test data with no input data? ..

Answer / jahnavi

eg: data two;





var1 = ranuni(0) * 10 ;
run;
This datastep would create random integers between 0 and 10;

Is This Answer Correct ?    0 Yes 0 No

How could you generate test data with no input data? ..

Answer / teena

using set statement ....cards and datalines needs input data
these below 2 will need input data
_null_ will create no actual dataset but will create obs
obs=0 will create empty dataset

Is This Answer Correct ?    0 Yes 0 No

How could you generate test data with no input data? ..

Answer / guest

Using data _null_ or obs=0

Is This Answer Correct ?    4 Yes 5 No

How could you generate test data with no input data? ..

Answer / mallikarjuna reddy

by using Explicit OUTPUT statement

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SAS Interview Questions

Write a SAS macro to calculate number of numbers in an email address

2 Answers  


Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager

0 Answers  


Name and describe few sas character functions that are used for data cleaning in brief.

0 Answers  


what is hash files in sas and why we are using this one in sas?

0 Answers   L&T, SAS,


What are symget and symput? : sas-macro

0 Answers  


How would you code a merge that will keep only the observations that have matches from both sets.

5 Answers   Accenture, Bank Of America,


: and & modifiers.

0 Answers   Oracle,


what is the usage for assigning error=1 in a dataset ?

2 Answers   Satyam,


what is the SAS/ACCESS and SAS/CONNECT?

9 Answers   Accenture, iFlex, TCS,


what is the use of catalog?

1 Answers   Cognizant,


How do you convert basic cube to transaction cube and transaction cube to basic cube?

0 Answers  


Explain what is the use of proc gplot?

0 Answers  


Categories