Re: [R] rgamma function produces NaN values

2020-03-06 Thread Sanna Soomro
>> The packages I am using are mvtnorm, GIGrvg, tmvtnorm, RGeode and >> truncnorm. >> >> >> >> Best regards >> >> Sanna >> >> >> >> *From: *Bert Gunter >> *Date: *Thursday, 5 March 2020 at 15:40 >> *To: *Sanna Soomro >

Re: [R] rgamma function produces NaN values

2020-03-06 Thread Bert Gunter
nter > *Date: *Thursday, 5 March 2020 at 15:40 > *To: *Sanna Soomro > *Subject: *Re: [R] rgamma function produces NaN values > > > > What package are you using? -- this is requested by the posting guide. > > > Bert Gunter > > "The trouble with having an open

Re: [R] rgamma function produces NaN values

2020-03-05 Thread PIKAL Petr
Soomro > Sent: Wednesday, March 4, 2020 4:22 PM > To: r-help@r-project.org > Subject: [R] rgamma function produces NaN values > > Hi, > > In my code, I want to sample from the posterior distribution to get estimates for > each parameter via the Bayesian approach. My model has s

[R] rgamma function produces NaN values

2020-03-05 Thread Sanna Soomro
Hi, In my code, I want to sample from the posterior distribution to get estimates for each parameter via the Bayesian approach. My model has spatial coefficient and lasso penalty. When I run this line gibbs_lasso(y = Y, x= X, W=W.rook, tau = 0.5, M=2) It works, however, when I changed M from 2