# Selling prediction ? Is any package for this?

**URL:** https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530
**Category:** General Usage
**Created:** [March 6, 2018, 8:45am UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530 "2018-03-06T08:45:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)
#### Post date: [March 6, 2018, 8:45am UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530/1 "2018-03-06T08:45:17Z")

</div>

Selling prediction ? Is any package for this ?  
Paul

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [March 6, 2018, 9:28am UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530/2 "2018-03-06T09:28:15Z")

</div>

Julia has general packages for estimating and validating simple predictive models (eg [GLM.jl](https://github.com/JuliaStats/GLM.jl)), but of course the user has to understand the relevant methodology.

---

<div class="post-metadata">

### Author: ![pasha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pasha/32/3319_2.png) [@pasha](https://discourse.julialang.org/u/pasha)
#### Post date: [March 6, 2018, 3:52pm UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530/3 "2018-03-06T15:52:04Z")

</div>

What do you mean by “selling prediction” ? What are the input and output variables? Do you have a method in mind? Julia has lots of methods to predict things in general, and I have done sales predictions (with R, same thing really), but you have to think about your problem and program it properly into Julia to get predictions. And always cross-validate.

---

<div class="post-metadata">

### Author: ![programista](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/programista/32/5372_2.png) [@programista](https://discourse.julialang.org/u/programista)
#### Post date: [March 7, 2018, 8:56am UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530/4 "2018-03-07T08:56:29Z")

</div>

It is agriculture market, most seasonal, depend from weather etc. i have  
data about selling by time.  
paul  
W dniu 2018-03-06 o 16:57, Pasha Roberts pisze:

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [March 7, 2018, 9:56am UTC](https://discourse.julialang.org/t/selling-prediction-is-any-package-for-this/9530/5 "2018-03-07T09:56:34Z")

</div>

It seems that you don’t understand the answers above.

This is a specific exercise in statistics/modeling, not something for which a prepackaged solution exists. If you have the expertise to do it, you can use existing statistical tools in Julia as building blocks. If you don’t (which appears to be the case), you have to hire someone to do it for you, or learn some statistics.

For regressions, I would recommend [Gelman & Hill](http://www.stat.columbia.edu/~gelman/arm/), which you can follow along with [GLM.jl](https://github.com/JuliaStats/GLM.jl) in Julia (for the non-MCMC part). For more sophisticated models, [Harrison & West](https://www2.stat.duke.edu/~mw/West&HarrisonBook/) has a lot of examples in sales modeling.
