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

when we are using the PROC TRANSPOSE? OBSERVATIONS are repeated then what will happen and what it will show in log window.

1 Answers  


what is sas data set?

0 Answers  


for whom is sas data integration studio designed? : Sas-di

0 Answers  


How you can read the variables that you need?

0 Answers  


Best trainer in hyderabad for sas banking.if any one have details pls provide contact details.

1 Answers  






sas macros

12 Answers   TCS,


How would you delete duplicate observations?

9 Answers  


How do you specify the number of iterations and specific condition within a single do loop?

0 Answers  


How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

2 Answers  


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

0 Answers  


how will you locate the sas platform applications? : Sas-bi

0 Answers  


Hi, If anyone has base SAS certification dumps, please share.

0 Answers  


Categories