1 \documentclass{article}
6 For example, plotting 20 pairs of $N(0,1)$ random variates can be
7 looked at via the two following chunks.
9 <<Plotting 20 N(0,1) RVs in XLispStat>>=
10 ;; -*- mode: xlispstat -*-
11 (def test (normal-rand 20))
12 (def test2 (normal-rand 20))
16 The below code demonstrates that there isn't much difference between
17 Lisp and the S language (as implemented through the dialect, R).
19 <<Plotting 20 N(0,1) RVs in R>>=
26 Finally, we could show how to do this in Stata or SAS, as follows:
28 <<Plotting 20 N(0,1) RVs in R>>=
30 gen test2 = normal(20)