Hi,

Suppose I have weights di, I want to calibrate thesis weights

I used the objective function

Obj = Sum( wi/di-1)^2/2   ; where will be the resulting calibrated weights

My calibration constraint is

Sum(wizi) = Z      , Z is pop total    (1)

I need r-code to minimize 'Obj' subject to the constraint (1) to obtain 
calibrated weights wi

Thanks




--
View this message in context: 
http://r.789695.n4.nabble.com/Caleberating-weights-tp4703226.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to