SAS CODE
Histogram
R CODE
NOTE: the code in these posts looks sloppy, but if you cut and paste into notepad or the R scripting window it lines up nice
Histogram
Histogram using Schaum's Homework Data (more straightforward than example above)
Kernal Density Plots -
R Code Mean, Variance, Standard Deviation
Selected Practice Problems for Test 1
Regression using R
Plotting Normal Curves and Calculating Probability