[R] help please >>metro_hastings function

ARNAB KR MAITY arnab_stat at yahoo.com
Mon Feb 16 00:30:42 CET 2015


Hi,
I have used this function before successfully. I could help you if you could provide your code.
Thanks & Regards,Arnab 
      From: hms Dreams <cute_loomaa at hotmail.com>
 To: "r-help at r-project.org" <r-help at r-project.org> 
 Sent: Saturday, February 14, 2015 6:27 AM
 Subject: [R] help please >>metro_hastings function
   



Hi :)anybody can help me please I'm trying to use Metro_Hastings (

MHadaptive package)the proplem is:  How can I know the covariance matrix( prop_sigma ) to enter it in Metro_Hastings: 
 mcmc_r=Metro_Hastings(li_func=baysianlog, pars=c(1,1,1), prop_sigma =NULL,par_names=c('alpha','gamma','delta'),data=x ) its gave me an error , I must enter the cov matrix but I don't know how to calculate it, somebody told me to wrote the function without prop_sigma but its also gave me an error what can I do?? Thank you,Sara
                         
    [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


  
	[[alternative HTML version deleted]]



More information about the R-help mailing list