[R] Help with generating data from a 'not quite' Normal distriburtion

Vito Ricci vito_ricci at yahoo.com
Thu Aug 12 10:55:40 CEST 2004


Hi,

the Student's t distribution   could be considered:
it's symmetrical, but with a low number of degree of
freedom is different from Normal distribution I think
in the way you said:"has a much higher peak at the
mean and the distribution has much longer
tails. " Try to use:

rt(n, df) where n=number of obs. df=degree of freedom.

for samples simulations.

Best
Vito


I would be very grateful for any help from members of
this list for what
might be a simple problem...

We are trying to simulate the behaviour of a clinical
measurement in a
series of computer experiments. This is simple enough
to do in R if we
assume the measurements to be Gaussian, but their
empirical distribution
has a much higher peak at the mean and the
distribution has much longer
tails. (The distribution is quite symmetrical) Can
anyone suggest any
distributions I could fit to this data, and better
still how I can then
generate random data from this 'distribution' using R?

-----------------------------------------------
Dr. David Crabb
School of Science,
The Nottingham Trent University,
Clifton Campus, Nottingham. NG11 8NS
Tel: 0115 848 3275   Fax: 0115 848 6690

=====
Diventare costruttori di soluzioni

Visitate il portale http://www.modugno.it/
e in particolare la sezione su Palese http://www.modugno.it/archivio/cat_palese.shtml




More information about the R-help mailing list