Description Usage Arguments Value Examples

nmm_fit is the main function used to fit IPW or AIPW estimators under nonmonotone missing at random data

1 2 3 4 5 6 7 8 9 |

`data` |
a data.frame to fit |

`O` |
missing indicator |

`AIPW` |
indicator if fitting augmented IPW |

`formula` |
optional formula specified to fit |

`func` |
optional fitting function, currently support 'lm' and 'glm' |

`weights` |
optional weights used in the estimation |

`...` |
further arguments passed to func, e.g. family = 'quasibinomial' for glm |

NMMIPW returns an object of class "NMMIPW". An object of class "NMMIPW" is a list containing the following components:

`coefficients` |
the fitted values, only reported when formula and func are given |

`coef_sd` |
the standard deviations of coefficients, only reported when formula and func are given |

`coef_IF` |
the influnece function of coefficients, only reported when formula and func are given |

`gamma_para` |
the first step fitted valus |

`AIPW` |
an indicator of whether AIPW is fitted |

`second_step` |
an indicator of whether the second step is fitted |

`second_fit` |
if second step fitted, we report the fit object |

`by_prod` |
a list of by products that might be useful for users, including first step IF, jacobian matrices |

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.