andres.net; r-help@r-project.org
Cc: Chien-Pang Chin
Subject: Re: [R] Beta distribution approximate to Normal distribution
Hello,
If you want a truncated something rng, you can use the following
function. Note that 'distr' is the name of an R distribution function
without the
ant, you should perhaps consider the non-central chi-square density with
1 df and ncp = u/a, i.e,
rchisq(100, df=1, ncp=u/a)
Joe
Joseph F. Lucke, PhD
Senior Statistician
Research Institute on Addictions
University at Buffalo
State University of New York
1021 Main Street
Buffalo, NY 14203-1016
Chien-
a)),
They give similar results.
The code for the truncated normal allows you to set any truncation point.
Joe
(Ted Harding)
Sent by: "R-help"
09/15/2015 11:12 AM
Please respond to
ted.hard...@wlandres.net
To
"r-help@r-project.org" ,
cc
Chien-Pang Chin
Subject
Re:
1 Main Street
> Buffalo, NY 14203-1016
>
> Chien-Pang Chin
> Sent by: "R-help"
> 09/15/2015 06:58 AM
>
> To
> "r-help@r-project.org" ,
>
> Subject
> [R] Beta distribution approximate to Normal distribution
>
> Hi,
> I need
tatistician
> Research Institute on Addictions
> University at Buffalo
> State University of New York
> 1021 Main Street
> Buffalo, NY 14203-1016
>
>
>
>
>
>
> Chien-Pang Chin
> Sent by: "R-help"
> 09/15/2015 06:58 AM
>
> To
Buffalo
State University of New York
1021 Main Street
Buffalo, NY 14203-1016
Chien-Pang Chin
Sent by: "R-help"
09/15/2015 06:58 AM
To
"r-help@r-project.org" ,
cc
Subject
[R] Beta distribution approximate to Normal distribution
Hi,
I need to generate 1000 n
Hi,
I need to generate 1000 numbers from N(u, a^2), however I don't want to include
0 and negative values. How can I use beta distribution approximate to N(u, a^2)
in R.
Thx for help
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, se
7 matches
Mail list logo