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]]
It looks like you posted in HTML and the result are garbbled. ONly post in plain text. Also it might help to read one or both of these https://github.com/hadley/devtools/wiki/Reproducibility http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example John Kane Kingston ON Canada> -----Original Message----- > From: cute_loomaa at hotmail.com > Sent: Sat, 14 Feb 2015 15:27:58 +0300 > To: r-help at r-project.org > 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.____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
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]]