Menu

matrix multiplication question

Anonymous
2012-08-17
2012-09-01
  • Anonymous

    Anonymous - 2012-08-17

    Suppose an SxT matrix Beta and SxS matrix G. Is there a problem with the
    following?

    for (s in 1:S) { Beta ~ dnorm(0, 0.0001) } # initialize first column

    for (t in 1:T) { Beta <- G %*% Beta } # calculate remaining columns

    getting an error earlier that the compiler can't resolve Beta, "undefined
    ancestor node or directed graph"

    thanks

     
  • Anonymous

    Anonymous - 2012-08-20

    Never mind, found a typo elsewhere.

     

Log in to post a comment.