I am using a psychophysical model to calculate the probability (P) of detecting an electrical stimulus to the skin (amplitude = x) over time (t):
\begin{equation} P(x;\alpha(t),\beta) = \dfrac{1}{1+e^{\beta(\alpha(t)-x)}}, \text{ } {\small \alpha \text{= threshold & } \beta \text{ = slope}} \end{equation}
To find the model parameters I would like to use a logistic regression function:
\begin{equation} logit(\pi) = b_0 +b_1X +b_2T \end{equation}
Does anyone know how to implement this logistic regression function in LabVIEW? As inputs I have a timevector, an amplitude vector and a response (0 or 1) vector.