Description Usage Arguments Value Author(s) References See Also

A Kiefer-Wolfowitz MLE for Gaussian models with independent variances. This
can be viewed as a general form for *χ^2* mixtures, see `Gammamix`

for a more general form for Gamma mixtures.

1 |

`x` |
vector of observed variances |

`m` |
vector of sample sizes corresponding to x |

`v` |
A vector of bin boundaries, if scalar then v equally spaced bins are constructed |

`weights` |
replicate weights for x obervations, should sum to 1 |

`...` |
optional parameters passed to KWDual to control optimization |

An object of class `density`

with components:

`x` |
midpoints of the bin boundaries |

`y` |
estimated function values of the mixing density |

`g` |
function values of the mixture density at the observed x's. |

`logLik` |
the value of the log likelihood at the solution |

`dy` |
Bayes rule estimates of |

`status` |
the Mosek convergence status. |

R. Koenker

Koenker, R and I. Mizera, (2013) “Convex Optimization, Shape Constraints,
Compound Decisions, and Empirical Bayes Rules,” *JASA*, 109, 674–685.

Gu J. and R. Koenker (2014) Unobserved heterogeneity in
income dynamics: an empirical Bayes perspective, *JBES*, forthcoming.

Gammamix for a general implementation for Gamma mixtures

REBayes documentation built on May 29, 2017, 9:34 a.m.

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.