Open DiegoVidal50 opened 1 year ago
Hello Diego,
This package is a pretty lightweight (and untested) wrapper around survey::withReplicates
, which may or may not have what you need. The margins
package works with svyglm
, and that might just work with withReplicates
but I doubt it, but you hopefully can be able to find a way to get it to work with some tweaks.
@DiegoVidal50 -- I'm working on a package that calculates marginal effects using the output from svymultinom
. You can find it here: [(https://github.com/jb-santos/svyeffects)]. It uses parametric bootstrapping to calculate the mean predictions and 95% CIs. I haven't tested it with elasticities specifically, but it does work with other transformations (e.g. quadratic).
(@carlganz - Sorry to jump in this thread with some shameless self-promotion)
thanks, i´m gonna look it, also, just to have it in account @carlganz , the results of svymultinom, in my case, are the same if a made the model whit nnet using the funcion weight, the only diferences is in the significance of the results
I want to ask is with the results of the funcion svymultinom is posible to calcule the marginals efects and elasticitis.