# \#marketing

**URL:** https://discourse.mc-stan.org/tag/marketing/91.md

[Latest](https://discourse.mc-stan.org/latest.md) · [Categories](https://discourse.mc-stan.org/categories.md) · [Tags](https://discourse.mc-stan.org/tags.md)

---

## [How to vectorize the stan code to reduce the run time](https://discourse.mc-stan.org/t/how-to-vectorize-the-stan-code-to-reduce-the-run-time/37554)

<div class="topic-metadata">

**Author:** [@Samip\_Tandon](https://discourse.mc-stan.org/u/Samip_Tandon)\
**Replies:** 7\
**Last updated:** [December 10, 2024, 9:42pm UTC](https://discourse.mc-stan.org/t/how-to-vectorize-the-stan-code-to-reduce-the-run-time/37554 "2024-12-10T21:42:42Z")

</div>

I have this below STAN code for marketing mix modelling application with thousands records and hundreds of media/control variables. Using\*\* pystan version 2.19.1.1\*\* I am new to stan. This current setup is taking 10-12 h…
