inverse Gaussian distribution
inverse Gaussian distribution
Has anyone by chance worked out how to draw in RATS from an inverse Gaussian distribution? Drawing from this distribution shows up in Gibbs samplers for Bayesian quantile regression. Thanks.
Todd Clark
Economic Research Dept.
Federal Reserve Bank of Cleveland
Economic Research Dept.
Federal Reserve Bank of Cleveland
Re: inverse Gaussian distribution
That's a fairly straightforward function (attached). This is based on the Java code on the wikipedia page for the distribution.
- Attachments
-
- raninvgaussian.src
- Procedure file for function
- (718 Bytes) Downloaded 851 times
Re: inverse Gaussian distribution
Terrific -- thanks very much!
Todd Clark
Economic Research Dept.
Federal Reserve Bank of Cleveland
Economic Research Dept.
Federal Reserve Bank of Cleveland