Exponential regression of data close to one

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
hddd123456789
Messages
92
Reaction score
0
Hi,

I've been working on trying to model sales for my work and I'm really just modeling it using exponential regression, so I get the linear regression of the logarithm of the data and obtain the desired formula.

What I'm confused about is that if I integrate this to try to predict how many sales will be from now to some future point, it seems to work OK for products which have more sales (sale numbers are far from 1 for a given period of time) but not so well for products with poor sales (sales numbers that are either 0 or ~1 for a given period of time).

For the latter products the exponential model seems to predict that there are on average around 1 sale per unit of time, which when integrated ends up adding together a bunch of 1's for each period of time.

Am I misusing exponential regression or is this a limitation of its use?

Many thanks!
 
Physics news on Phys.org
Hi !
I cannot fully understand what is the problem. can you post an example of data ?
 
Thanks for the reply! But actually it turned out to be some sort of programming glitch. My first huge mistake was to not add in data points for time periods that had no sales. I realized this and wrote the code to add in zeroes for these, but when I was still getting expected values that were well over the actual ones, I thought maybe my model was screwed up.

Apparently the error affected slow selling products more because they tend to have more time periods with zero sales. But anyway, the code randomly started working as expected so no complaints.