No sign of your code Saral.
Probably the best way to send it is a .txt file. That usually gets through.
R-help is very fussy about what types of files it lets through
John Kane
Kingston ON Canada
> -----Original Message-----
> From: cute_loomaa at hotmail.com
> Sent: Sat, 14 Feb 2015 20:52:22 +0300
> To: r-help at r-project.org
> Subject: [R] my code in Metro_Hastings
>
> Hi again :)
> my code is in the attachment file
> the problem I think in the :
>
>
>
> mcmc_r=Metro_Hastings(li_func=baysianlog,
>
pars=c(1,1,1),par_names=c('alpha','gamma','delta'),data=x
> )
>
>
> because I did not write the prop_sigma because I don't know how can I
> calcalute the covariance matrix.
>
> somebody told me to compute the cov without itreation then add the
> reasulting cov matrix to metro hasting using itreation
> but it also gave me an error
>
> Can you check my code and correct it please ??
>
> Thank you,
> Sara
>
>
> ______________________________________________
> 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!