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 do the mod and int function do? : Sas programming

0 Answers  


Mention what are the data types does SAS contain?

0 Answers  


Approximately what date is represented by SAS date value of 730

9 Answers  


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

1 Answers  


What is the pound sign used for in the data_null_ ?

1 Answers  


How do you add a prefix to some or all variables in a dataset using a SAS macro?

2 Answers  


Give some examples where proc report’s defaults are same as proc print’s defaults?

0 Answers  


What are the main differences between sas versions 8.2, 9.0, 9.1?

4 Answers  


There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975,”dd mon ccyy” if it’s after 1985, and as ‘disco years’ if its between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.

3 Answers   CTS,


Explain translate function?

0 Answers  


Can you excute a macro within a macro? Describe.

2 Answers   Genta,


Explain substr function?

0 Answers  


Categories