# How do I do nonlinear generalized estimating equations in SPSS [closed]

Say I have two conditional media for bacteria growth: a bacteriocidal drug and control. I want to see the effect of my bacteriocide on culture growth, so I set up 6 flasks: three with drug, three without. I take three independent measurements from each flask at each of many timepoints. I model the growth of my bacteria with this equation:

$$B(t) = \frac{B_{max}}{1+e^{k(t_{50}-t)}}$$

where $B(t)$ is the measured density of bacteria at a given time and $t_{50}$ is the time at which the bacteria are at half their max. I want to test differences in $B_{max}$ and $t_{50}$ for my drug vs. control, so I will use GEE.

How can I specify a custom, non-linear equation for GEE so I can get parameter estimates, confidence intervals, and significance values for my two treatments? Keep in mind that this is an example and I am looking for a way to do this with any model equation. The GEE dialogue only provides some basic ones, and I can't find a way to expand upon these. Alternatively, the nonlinear regression options don't appear to allow multiple levels of repeated measures.

-

## closed as off-topic by gung, John, Nick Cox, kjetil b halvorsen, AndyApr 3 at 9:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – gung, John, Nick Cox, kjetil b halvorsen, Andy
If this question can be reworded to fit the rules in the help center, please edit the question.

Is R an acceptable solution? –  Roman Luštrik Jan 27 '14 at 9:57
I'd suggest that this is not a statistics question, but an SPSS question and should be migrated off the to stack exchange. –  StatsStudent Apr 3 at 0:55

I think difference-in- difference methodology could work out in your case if you want to find the difference in what you mentioned between the control and treatment groups.