Description Usage Arguments Value References Examples

A function to populate imputed income values by the standard, rank-based and Bayesian methods.

1 2 | ```
Imputation_Method(df, par = NULL, standard = 1, rank_based = 1,
Bayesian = 1, select = NA, prior.grid = 50, rtol = 1e-11)
``` |

`df` |
The longitudinal file. |

`par` |
The GB2 distribution parameters. If not provided, the parameters will be estimated based |

`standard` |
Flag for generating imputed values by the standard method in the output. |

`rank_based` |
Flag for generating imputed values by the rank_based method in the output. |

`Bayesian` |
Flag for generating imputed values by the Bayesian method in the output. |

`select` |
How many waves are used to estimate prior distribution. If NA, then all waves will be used. |

`prior.grid` |
Controls the number of bins in WGLVmix. |

`rtol` |
The relative tolerance for dual gap convergence criterion used in KWDual. |

A data.frame contains the input with extra columns shown the imputed income values.

Tan, Li (2017), Imputing Top-Coded Income Data in Longitudinal Surveys, Working Papers. (link)

1 | ```
Imputation_Method(df = SIPP1996Analytic, par = Example_GB2_param, standard = 1, rank_based = 1, Bayesian = 1, select = NA, prior.grid = 50, rtol = 1e-11)
``` |

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.