*** Load example dataset *use fpdata-1, clear *use fpdata-2, clear //////////////////////////////////////////////////////////////////////////////// /* Pop, one PL, no weight, HH size */ fpimpov, totexp(hh_expd) hexp(hh_hexpd) pline(PL1) hhsize(hh_size) //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// /* Pop, one PL, HH weight, HH size */ fpimpov, totexp(hh_expd) hexp(hh_hexpd) pline(PL1) hhweight(hh_sampleweight) hhsize(hh_size) //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// /* Pop, multiple PL, HH weight, HH size */ fpimpov, totexp(hh_expd) hexp(hh_hexpd) pline(PL1 PL2 PL3) hhsize(hh_size) hhweight(hh_sampleweight) //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// /* Quintiles, multiple PL, HH weight, HH size */ fpimpov, totexp(hh_expd) hexp(hh_hexpd) pline(PL1 PL2 PL3) hhsize(hh_size) hhweight(hh_sampleweight) q //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// /* Quintiles, multiple PL, HH weight, HH size with EXPORT */ fpimpov, totexp(hh_expd) hexp(hh_hexpd) pline(PL1 PL2 PL3) hhsize(hh_size) hhweight(hh_sampleweight) q e ////////////////////////////////////////////////////////////////////////////////