Message-ID: <Pine.SOL.4.33.0106241510230.832-100000@julius.ling.ohio-state.edu>
Date: 2001-06-24T19:25:24Z
From: David White
Subject: graphing the normal distribution
Hello,
I'd like to make some simple example graphs of the normal distribution,
varying standard deviation, mean, and kurtosis across examples.
I have been able to manipulate mean and sd using rnorm and hist:
y_hist(rnorm(1000000, mean=100, sd=50), 50, plot=F)
plot(y$mid,y$count,type="l")
Two questions:
1) n=100000 seems like a lot of samples to approach a smooth
curve. Is there a way to make the curve smooth, but computationally less
demanding?
2) What can I do to change the "peakiness" of the distribution?
Many thanks in advance.
David
S. David White
sdavidwhite at bigfoot.com
Columbus, Ohio
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._