I am regressing actual counts of traffic against predictions using ridge regression (cv.glmnet
in R). The data (both predicted and actual) has a roughly exponential distribution, i.e. a few large values (which are important to predict) and many small ones. Residuals in the model are usually proportional to the size of the target variable.
What is the best approach to fit such a model correctly?
Transform both predicted and target data beforehand (cube root, log, Box-Cox)?
Or is there something I can do with the estimating process that negates the need to do this - by treating errors in large values as less bad than errors in small ones?
cv.glmnet
support Poisson regression directly? Although in my experience it can fail to converge on moderate to large problems, of all the options available it would be the first method to try with count data. $\endgroup$