I am modeling a certain trend with a logistic function:
$$\begin{align} y = \frac{1} {1 + e^{-k(x-X)}} \end{align}$$
I have the value of $y$ at some point $x_1$:
$$\begin{align} y_1 = \frac{ 1} {1 + e^{-k(x_1-X)}} \end{align}$$
and I know that at $x = x_2$, $y = 2y_1$:
$$\begin{align} 2y_1 = \frac{1} {1 + e^{-k(x_2-X)}} \end{align}$$
So I have 2 equations in 2 unknowns, but I can't figure out how to solve for $k$ and $X$ in closed form.
Is there a closed form solution?