haroine / icarus

A package with useful functions for calibration and reweighting in survey sampling
9 stars 5 forks source link

Make new ponderation from scratch #11

Open hedjour opened 5 years ago

hedjour commented 5 years ago

Bonjour, Une question est il possible dans Icarus de créer de nouvelles valeurs de pondération à partir de zéro ? Je veux dire par là ne pas avoir de pondération a priori ?

English version below : Hi, Just a litle ask, : Is it possible to create ponderation weight from scratch in icarus ?

haroine commented 5 years ago

Hi!

Sure, for example you can define a column of initial weights in your dataframe all equal to 1, and icarus will yield a vector of weights that have plenty of nice statistical properties.

hedjour commented 5 years ago

I have try this and obtain this error : the model can not converge.