# Question) How can I multiply a vector to a stochastic matrix?

**URL:** <https://discourse.julialang.org/t/question-how-can-i-multiply-a-vector-to-a-stochastic-matrix/55782>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 22, 2021, 3:26pm UTC](https://discourse.julialang.org/t/question-how-can-i-multiply-a-vector-to-a-stochastic-matrix/55782 "2021-02-22T15:26:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 22, 2021, 3:43pm UTC](https://discourse.julialang.org/t/question-how-can-i-multiply-a-vector-to-a-stochastic-matrix/55782/4 "2021-02-22T15:43:46Z")

</div>

This code is not runnable unless you specify where you got the `tauchen` function from. Is it a package? (There is no `using` statement in the code you quoted.)

Also, you did’t quote the whole error message; what is the backtrace?

PS. Please [quote your code](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530).

---

_[View the full topic](https://discourse.julialang.org/t/question-how-can-i-multiply-a-vector-to-a-stochastic-matrix/55782)._
