han, Ph.D.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org
] On
Behalf Of David Winsemius
Sent: Tuesday, November 10, 2009 2:47 PM
To: Hongwei Dong
Cc: R-help Forum; Duncan Murdoch
Subject: Re: [R] Generate Random Draw from Gamma Distribution Re:
>
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org
> ] On
> Behalf Of David Winsemius
> Sent: Tuesday, November 10, 2009 2:47 PM
> To: Hongwei Dong
> Cc: R-help Forum; Duncan Murdoch
> Subject: Re: [R] Generate Rando
.org] On
Behalf Of Hongwei Dong
Sent: Tuesday, November 10, 2009 4:44 PM
To: R-help Forum
Subject: Re: [R] Generate Random Draw from Gamma Distribution Re: Monte
Carlo Simulation in R...
By the way, maybe the number of groups can be determined endogenously. It
will be better if I do not have to set th
sonal_pages/Varadhan.html>
>>
>>
>>
>>
>> ----------------
>> ----
>>
>>
>> -Original Message-
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-proj
-boun...@r-project.org]
> On
> Behalf Of David Winsemius
> Sent: Tuesday, November 10, 2009 2:47 PM
> To: Hongwei Dong
> Cc: R-help Forum; Duncan Murdoch
> Subject: Re: [R] Generate Random Draw from Gamma Distribution Re: Monte
> Carlo Simulation in R...
>
>
> On Nov 10, 2009
an.h
tml
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Hongwei Dong
Sent: Tuesday, November 10, 2009 2:57 PM
To: David Winsemius
Cc: R-help Forum
Subject: Re: [R] Generate Random Draw from Gamma Distribution Re: Monte
Carlo Simulat
: Hongwei Dong
Cc: R-help Forum; Duncan Murdoch
Subject: Re: [R] Generate Random Draw from Gamma Distribution Re: Monte
Carlo Simulation in R...
On Nov 10, 2009, at 2:26 PM, Hongwei Dong wrote:
> Exactly! Thanks, Duncan.
>
> Let me re-phrase me question like this:
>
> 1) X_i value
Thanks.
I tried the rgamma function too. But I'm still wondering how I can set the
min, max, and sum of the variates created by the random draws. Anyone has a
clue? Thanks.
Garry
On Tue, Nov 10, 2009 at 11:47 AM, David Winsemius wrote:
>
> On Nov 10, 2009, at 2:26 PM, Hongwei Dong wrote:
>
>
On Nov 10, 2009, at 2:26 PM, Hongwei Dong wrote:
Exactly! Thanks, Duncan.
Let me re-phrase me question like this:
1) X_i values are independent Gammas, with the shape 0.067 and scale
0.008
2) Min(X)=1 and Max(X)=85
You might want to check that your parameterization in in agreement
with
Exactly! Thanks, Duncan.
Let me re-phrase me question like this:
1) X_i values are independent Gammas, with the shape 0.067 and scale 0.008
2) Min(X)=1 and Max(X)=85
3) SUM(X)=2000
4) Do I also have to define the number of draws? if yes, it could be 250.
Based on these restrictions, I want to ge
10 matches
Mail list logo