Consider the function $f: \mathbb{R}^{+n} \rightarrow \mathbb{R}$ defined by
\begin{align*} f(x) = \frac{\displaystyle\sum_{i=1}^n a_i\exp(c x_i)}{\displaystyle\sum_{i=1}^n b_i\exp(c x_i)}, \end{align*}
where $c, x_i \geq 0$ and $0 < a_i \leq b_i$. Is this function convex?
For the case of $n = 1$ this is true because $f(x)$ is just a constant. For $n>1$ it seems the Hessian might be difficult to compute. I plotted a few examples for $n = 2$ and they seem to be convex.