Description Usage Arguments References Examples

The function fits first difference models using GLS estimation.

1 2 3 4 5 6 7 8 9 10 11 |

`formula` |
Model formula. See details for crucial
info on |

`data` |
The data, either a |

`id` |
If |

`wave` |
If |

`use.wave` |
Should the wave be included as a predictor? Default is FALSE. |

`min.waves` |
What is the minimum number of waves an individual must
have participated in to be included in the analysis? Default is |

`variance` |
One of |

`error.type` |
Either "CR2" or "CR1S". See the |

`...` |
Ignored. |

Allison, P. D. (2019). Asymmetric fixed-effects models for panel data.
*Socius*, *5*, 1-12. https://doi.org/10.1177/2378023119826441

1 2 3 4 5 | ```
data("teen_poverty")
# Convert to long format
teen <- long_panel(teen_poverty, begin = 1, end = 5)
model <- fdm(hours ~ lag(pov) + spouse, data = teen)
summary(model)
``` |

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.