Simulations of a truncated normal distri­bution [General Sta­tis­tics]

posted by Alex – Austria, 2015-03-17 11:19 (3766 d 18:51 ago) – Posting: # 14566
Views: 7,916

Dear all!

I just stumbled over the generation of random draws from a truncated normal distribution whilst thinking about possible scenarios for a PK simulation study.

Does anybody know how to draw from a truncated normal distribution with prespecified (fixed) mean and variance - not in the underlying normal distribution, but in the consequent truncated normal distribution? In R function truncnorm (or other functions) you can only specify the mean and sd of the underlying normal distribution...

In more detail, I want to generate draws X with l < X < u ~ truncNorm(m,v) where m and v are fixed mean and variance, l=0 is the lower, u=Inf the upper bound. m and v are functions of mu and delta, the mean and variance of the underlying normal distribution N(mu,delta) without truncation.

Theoretically, solving the system of equations m=f(mu,delta) and v=g(mu,delta) for mu and delta should give me the desired result, i.e. the mean and variance in the underlying normal distribution so that, after truncation, i will have mean m and variance v in the truncated normal distribution. f() and g() represent the functions describing the relationship of the mean and the variance, respectively, between normal and truncated normal distribution. As f() and g() are rather complex, including the CDF of the normal distribution, my algebraic skills are insufficient...

Can anybody help?

Thanks for your efforts,
All the best,
Alex

Complete thread:

UA Flag
Activity
 Admin contact
23,428 posts in 4,929 threads, 1,695 registered users;
84 visitors (0 registered, 84 guests [including 32 identified bots]).
Forum time: 07:11 CEST (Europe/Vienna)

If I’d observed all the rules,
I’d never have got anywhere.    Marilyn Monroe

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5