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

What is the Program Data Vector (PDV)? What are its functions?

5 Answers   Accenture,


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  


what is washout period?

3 Answers   Cognizant,


How to get the repeated values by using sql in sas ?

2 Answers  


What is the work of tranwrd function?

0 Answers  


what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?

36 Answers   Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,


What are pdv and it functions?

0 Answers  


Can you execute macro within another macro? : sas-macro

0 Answers  


In the flow of DATA step processing, what is the first action in a typical DATA Step?

6 Answers   Accenture,


Which of the following is not created during compilation phase?

2 Answers   SAS,


how to read character value without using substr function in sas ?

3 Answers  


What is the order of evaluation of the following operators + - * / ** () ???

2 Answers  


Categories