# Function to fit generalized estimating equations

### Description

This function fits a generalized estimating equation model to longitudinal data.

### Usage

1 2 3 |

### Arguments

`formula` |
A formula expression in the form of |

`id` |
A vector for identifying subjects/clusters. |

`data` |
A data frame which stores the variables in |

`na.action` |
A function to remove missing values from the data. Only |

`family` |
A |

`corstr` |
A character string, which specifies the type of correlation structure.
Structures supported in |

`Mv` |
If either |

`beta_int` |
User specified initial values for regression parameters. The default value is |

`R` |
If |

`scale.fix` |
A logical variable; if true, the scale parameter is fixed at the value of |

`scale.value` |
If |

`maxiter` |
The number of iterations that is used in the estimation algorithm. The default value is |

`tol` |
The tolerance level that is used in the estimation algorithm. The default value is |

`silent` |
A logical variable; if true, the regression parameter estimates at each iteration are
printed. The default value is |

### Value

An object class of `MGEE`

representing the fit.

### Note

The structures `"non_stat_M_dep"`

and `"unstructured"`

are valid only when the data is balanced.

### References

Liang, K.Y. and Zeger, S.L. (1986).
Longitudinal data analysis using generalized linear models.
*Biometrika*, **73**, 13–22.

Zeger, S.L. and Liang, K.Y. (1986)
. Longitudinal data analysis for discrete and continuous outcomes.
*Biometrics*, **42**, 121–130.

### See Also

`PGEE`