Hi,
It's not clear what wizi is in the constraint Sum(wizi) = Z. If you can
provide some data, it may make the problem easier to understand.
--
View this message in context:
http://r.789695.n4.nabble.com/Caleberating-weights-tp4703226p4703245.html
Sent from the R help mailing list archive a
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 con
2 matches
Mail list logo