gee
Fit generalized estimating equation models for clustered or longitudinal data, returning population-averaged coefficients with robust standard errors, z values, and p values.
Instructions
Fit a generalized estimating equation model.
``data`` is either a ``{column: list}`` mapping or an ``"@<path>.csv"``
reference. ``groups`` names the clustering column. ``family`` is one of
gaussian, binomial or poisson; ``cov_struct`` is one of independence,
exchangeable or autoregressive.
Returns population-averaged coefficients with robust standard errors,
z values and p values.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"formula": "<formula>",
"data": "<data>",
"groups": "<groups>"
},
"name": "gee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| family | No | gaussian | |
| groups | Yes | ||
| formula | Yes | ||
| cov_struct | No | exchangeable |