Survey.jl
Survey.jl copied to clipboard
`svyrepmisc` abilities with arbitrary models and `fit` support
Nalimilan wrote:
"One area where you can probably improve on the R package quite easily is that, at least for designs with replicate weights, thanks to the StatisticalModel 2/RegressionModel interface from StatsAPI, you could support fitting any custom model type defined in a package by calling fit on it with each set of weights and computing standard errors for coefficients automatically based on the coefficients obtained with each set. IIUC this would offer the features of svrepmisc, but also extend it automatically to any new model family, without Survey.jl having to support it explicitly. This is an area where R is often lacking (everything is hardcoded, making it hard to extend to new use cases)."