Comments on: EM Algorithm for Bayesian Lasso R Cpp Code http://www.lindonslog.com/mathematics/em-algorithm-bayesian-lasso-r-cpp-code/ Sun, 27 Nov 2016 15:23:00 +0000 hourly 1 https://wordpress.org/?v=4.6.1 By: Scott Akenhead http://www.lindonslog.com/mathematics/em-algorithm-bayesian-lasso-r-cpp-code/#comment-591 Thu, 18 Sep 2014 18:32:56 +0000 http://www.lindonslog.com/?p=1035#comment-591 Prettier here than at r-bloggers

]]>
By: Generalized Double Pareto Priors for Bayesian Regression http://www.lindonslog.com/mathematics/em-algorithm-bayesian-lasso-r-cpp-code/#comment-520 Thu, 11 Sep 2014 01:53:57 +0000 http://www.lindonslog.com/?p=1035#comment-520 […] Also see this similar post on the Bayesian lasso. […]

]]>
By: admin http://www.lindonslog.com/mathematics/em-algorithm-bayesian-lasso-r-cpp-code/#comment-517 Wed, 10 Sep 2014 03:47:49 +0000 http://www.lindonslog.com/?p=1035#comment-517 Hi Deb, thanks for trying my code! Apologies that it did not work for you, it seems when posting the code up on the blog that I failed copy all of it in its entirety… there was the definition of the log_posterior_density function hiding at the end of the file after the main function, separated by a few lines, that I overlooked (next time I will do select-all). The code updated code is now complete, please try again 🙂

]]>
By: Deb http://www.lindonslog.com/mathematics/em-algorithm-bayesian-lasso-r-cpp-code/#comment-516 Wed, 10 Sep 2014 01:27:39 +0000 http://www.lindonslog.com/?p=1035#comment-516 ## I get an error while running this
## Error in sourceCpp(“K:/BigData/Rcpp/Bayesian/lasso.cpp”) :
## Error occurred building shared library.

library(Rcpp)
library(RcppArmadillo)

sourceCpp(“K:/BigData/Rcpp/Bayesian/lasso.cpp”)

]]>