From: Andrew Robinson <mensurationist at gmail.com>
To: "=?utf-8?Q?R-sig-mixed-models=40r-project.org?="
<R-sig-mixed-models at r-project.org>, Said Ali Shah
<said_lect06 at yahoo.com>
Subject: Re: [R-sig-ME] Hi listers
Generate them all from the Uniform distribution and then transform them to
the distribution of your choice.
Cheers,
Andrew
On 25 Apr 2017, 1:00 PM +1000, Said Ali Shah via R-sig-mixed-models <
r-sig-mixed-models at r-project.org>, wrote:
i am conducting a simulation study regarding sample size using
multilevel models for longitudinal design, and want to see the effect of
non-normal level-II errors now the question is 1. whether i should generate
the level-II errors from normal distribution after specifying parameters
which are required for the model and then transform these normal errors to
non-normal errors? if yes then how to transform them to exponential and
log-normal distribution2. i should generate these errors separately from
normal as well as from exponential and log normal distributions. keep in
mind that both results i.e., for normal and non-normal errors are required.
Thanks in advance Regards,