How to regress certain non-linear data

21 Views Asked by At

How can I perform a regression onto data of that follows this shape: \begin{equation} U(x):=\sum_{i=1}^N\, a_ix^ie^{-b_ix} \end{equation} where the $a_i\in \mathbb{R}$ and the $b_i \in (0,\infty)$ assuming that I know that $Dom(X)\subseteq (0,\infty)$.