Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6489 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6489 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6489 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6489 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6489 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home3/gardeoi3/public_html/iamrandom/modules/book/book.module).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home3/gardeoi3/public_html/iamrandom/includes/common.inc).

Bayesian Regression: lm.bayes()

This is a set of functions that is similar to the lm() function in R for ordinary least squares (OLS). Except this is code for Bayesian regression with reference priors on the coefficients and the variance parameters.   Here is a .pdf file with the full explanation and derivation of the posterior full conditionals for the parameters.