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.



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]]

