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


How would you generate 1000 observations from a normal
distribution with a mean of 50 and standard deviation of
20. How would you use PROC CHART to look at the
distribution? Describe the shape of the distribution.



How would you generate 1000 observations from a normal distribution with a mean of 50 and standard..

Answer / yuyin

data temp(keep=x);
retain mu 50 std 20 seed 0;
do i=1 to 1000;
x=mu+std*rannor(seed);
output;
end;
run;
proc chart data=temp;
vbar x;
run;
normal distribution with mean =50 and std=20

Is This Answer Correct ?    22 Yes 2 No

Post New Answer

More SAS Interview Questions

Name statements that are execution only.

14 Answers   Accenture,


When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?

7 Answers  


What do you feel about hardcoding?

4 Answers   Oracle,


What is substr function?

0 Answers  


Given an unsorted data set, how to read the last observation to a new data set?

0 Answers  


Differentiate between ceil and floor functions.

0 Answers  


What is the difference between nodup and nodupkey options?

20 Answers   iFlex, Makro, Talwar,


What do you know about symput and symget?

0 Answers  


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

0 Answers  


What is the use of %include statement?

0 Answers  


Briefly describe 5 ways to do a "table lookup" in sas.

4 Answers   Quintiles,


How to convert HTML file into SAS dataset?

0 Answers  


Categories