[R-sig-Geo] Bayesian Estimates for 1st-order Spatial Autoregressive Model

Roger Bivand Roger.Bivand at nhh.no
Wed Aug 8 23:57:20 CEST 2012


On Tue, 7 Aug 2012, CARTIER, ADRIAN AW (AG/1000) wrote:

> Greetings:
>
>
>
> I am a relatively new user to R. I was wondering if anyone is familiar 
> with MATLAB's far_g() function.  If yes, is there an R equivalent to 
> this?  I would like to have the ability to input as my observation 
> vector continuous values. I noticed that there was something close in R, 
> sar_probit_mcmc(), but I can only use a binary vector as my observation 
> vector.
>

There is an on-going GSoC project to port some of the Matlab Spatial 
Econometrics toolbox MCMC code to R - early work on R-Forge, project 
spdep2. This is alpha/pre-alpha code at present, with no working package 
as yet. I'm sure the GSoC student would be grateful for helpful feedback.

Roger

>
>
> If my question sounds a bit confusing I am pasting below the MATLAB 
> description of the function so you can see what it is that I am looking 
> for.
>
>
>
> function results = far_g(y,W,ndraw,nomit,prior) % PURPOSE: Bayesian estimates for the 1st-order Spatial autoregressive model
>
> %          y = rho*W*y + e,    e = N(0,sige*V),
>
> %          V = diag(v1,v2,...vn), r/vi = ID chi(r)/r, r = Gamma(m,k)
>
> %          sige = gamma(nu,d0)
>
> %          rho = Uniform(rmin,rmax), or rho = beta(a1,a2);
>
>
>
>
>
> Thanks in advance,
>
>
>
>
> ______________________________________
> Adrian Cartier, Ph.D. (LS3428)
> Monsanto Company
> TPS/Advancement Integration and Prediction
> Strategic Scientist - Quantitative Modeler
> 800 North Lindbergh Boulevard (Mail Code: LS3A)
> Creve Coeur, MO 63167
>
> Office: 314-694-5307
>
>
> This e-mail message may contain privileged and/or confidential information, and is intended to be received only by persons entitled
> to receive such information. If you have received this e-mail in error, please notify the sender immediately. Please delete it and
> all attachments from any servers, hard drives or any other media. Other use of this e-mail by you is strictly prohibited.
>
> All e-mails and attachments sent and received are subject to monitoring, reading and archival by Monsanto, including its
> subsidiaries. The recipient of this e-mail is solely responsible for checking for the presence of "Viruses" or other "Malware".
> Monsanto, along with its subsidiaries, accepts no liability for any damage caused by any such code transmitted by or accompanying
> this e-mail or any attachment.
>
>
> The information contained in this email may be subject to the export control laws and regulations of the United States, potentially
> including but not limited to the Export Administration Regulations (EAR) and sanctions regulations issued by the U.S. Department of
> Treasury, Office of Foreign Asset Controls (OFAC).  As a recipient of this information you are obligated to comply with all
> applicable U.S. export laws and regulations.
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list