Re: [julia-users] Non-central F distribution

2014-12-17 Thread Tim Holy
Maxwell, it would be great if you could submit a pull request to add that 
documentation.

Best,
--Tim

On Wednesday, December 17, 2014 07:23:50 AM Andreas Noack wrote:
 You might be right that it is not documented, but they are supported. Have
 a look in src/univariate/continuous
 
 julia using Distributions
 
 julia d1 = NoncentralF(1.2,2.3,3.4)
 NoncentralF(ndf=1.2, ddf=2.3, ncp=3.4)
 
 julia rand(d)
 33.94546618024409
 
 julia d2 = NoncentralChisq(3, 1.1)
 NoncentralChisq(df=3.0, ncp=1.1)
 
 julia rand(d2)
 4.822266647364242
 
 2014-12-17 2:31 GMT+01:00 Maxwell rsz...@gmail.com:
  Hi all,
  I would like to simulate from a non-central F distribution. I don't think
  the package Distributions supports non-central F or the non-central Chi
  squared. Is there any other package(s) that can help me with that? or does
  anybody have an idea how that can be done?
  
  Thanks,



Re: [julia-users] Non-central F distribution

2014-12-17 Thread Maxwell
Thanks Andreas! That's awesome!

On Wednesday, December 17, 2014 12:23:54 AM UTC-6, Andreas Noack wrote:

 You might be right that it is not documented, but they are supported. Have 
 a look in src/univariate/continuous

 julia using Distributions

 julia d1 = NoncentralF(1.2,2.3,3.4)
 NoncentralF(ndf=1.2, ddf=2.3, ncp=3.4)

 julia rand(d)
 33.94546618024409

 julia d2 = NoncentralChisq(3, 1.1)
 NoncentralChisq(df=3.0, ncp=1.1)

 julia rand(d2)
 4.822266647364242

 2014-12-17 2:31 GMT+01:00 Maxwell rsz...@gmail.com javascript::


 Hi all,
 I would like to simulate from a non-central F distribution. I don't think 
 the package Distributions supports non-central F or the non-central Chi 
 squared. Is there any other package(s) that can help me with that? or does 
 anybody have an idea how that can be done?

 Thanks,  



Re: [julia-users] Non-central F distribution

2014-12-17 Thread Maxwell
I agree Tim! I will work on that.

On Wednesday, December 17, 2014 5:13:50 AM UTC-6, Tim Holy wrote:

 Maxwell, it would be great if you could submit a pull request to add that 
 documentation. 

 Best, 
 --Tim 

 On Wednesday, December 17, 2014 07:23:50 AM Andreas Noack wrote: 
  You might be right that it is not documented, but they are supported. 
 Have 
  a look in src/univariate/continuous 
  
  julia using Distributions 
  
  julia d1 = NoncentralF(1.2,2.3,3.4) 
  NoncentralF(ndf=1.2, ddf=2.3, ncp=3.4) 
  
  julia rand(d) 
  33.94546618024409 
  
  julia d2 = NoncentralChisq(3, 1.1) 
  NoncentralChisq(df=3.0, ncp=1.1) 
  
  julia rand(d2) 
  4.822266647364242 
  
  2014-12-17 2:31 GMT+01:00 Maxwell rsz...@gmail.com javascript:: 
   Hi all, 
   I would like to simulate from a non-central F distribution. I don't 
 think 
   the package Distributions supports non-central F or the non-central 
 Chi 
   squared. Is there any other package(s) that can help me with that? or 
 does 
   anybody have an idea how that can be done? 
   
   Thanks, 



[julia-users] Non-central F distribution

2014-12-16 Thread Maxwell

Hi all,
I would like to simulate from a non-central F distribution. I don't think 
the package Distributions supports non-central F or the non-central Chi 
squared. Is there any other package(s) that can help me with that? or does 
anybody have an idea how that can be done?

Thanks,  


Re: [julia-users] Non-central F distribution

2014-12-16 Thread Andreas Noack
You might be right that it is not documented, but they are supported. Have
a look in src/univariate/continuous

julia using Distributions

julia d1 = NoncentralF(1.2,2.3,3.4)
NoncentralF(ndf=1.2, ddf=2.3, ncp=3.4)

julia rand(d)
33.94546618024409

julia d2 = NoncentralChisq(3, 1.1)
NoncentralChisq(df=3.0, ncp=1.1)

julia rand(d2)
4.822266647364242

2014-12-17 2:31 GMT+01:00 Maxwell rsz...@gmail.com:


 Hi all,
 I would like to simulate from a non-central F distribution. I don't think
 the package Distributions supports non-central F or the non-central Chi
 squared. Is there any other package(s) that can help me with that? or does
 anybody have an idea how that can be done?

 Thanks,