SHAZAM Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I run a metafrontier function and missing observation set to code 9999 was reported. I can anyone help me to rectify this issue. Find below is the code I used. Thanks

  • The file parm.txt contains estimated parameters of group frontiers (by column)
  • The file sfa#.txt contains n# data observations for group #
  • Sections 1 and 3 are problem-specific.

    1. SET NUMBERS OF PARAMETERS ETC. gen1 nparms = 6 gen1 ngroups = 2 gen1 n1 = 120 gen1 n2 = 333 gen1 n = n1+n2
    1. READ THE ESTIMATED PARAMETERS OF THE GROUP FRONTIERS smpl 1 nparms read (parm.txt) parm / rows = nparms cols = ngroups do # = 1,ngroups dim b# nparms copy parm b# / fcols=#;# tcols = 1;1 endo
    1. READ THE DATA AND CONSTRUCT DATA MATRICES AND VECTORS smpl 1 n read (bm.txt) group ly lx1-lx5 smpl 121 n2 read (kne.txt) group ly lx1-lx5 smpl 1 n

matrix x = lx1|lx2|lx3|lx4|lx5 dim x1 n1 nparms x2 n2 nparms copy x x1 / frows=1;n1 trows=1;n1 copy x x2 / frows=121;n trows=1;n2 do # = 1,ngroups matrix yhat# = x#*b# endo matrix b = -(yhat1'|yhat2')'

    1. OBTAIN AND PRINT PARAMETERS OF THE METAFRONTIER stat x / means = xbar matrix c = ((-xbar')|xbar')' matrix A = (-x)|x ?lp c A b / iter = 5000 primal = bstar dim beta1 nparms beta2 nparms gen1 p1 = nparms+1 gen1 p2 = nparms*2 copy bstar beta1 / frows=1;nparms trows=1;nparms copy bstar beta2 / frows=p1;p2 trows=1;nparms matrix beta = beta1-beta2 print beta
    1. OBTAIN AND PRINT TECHNOLOGY GAP RATIOS do # = 1,ngroups matrix xbeta# = x#*beta matrix tgr# = exp(yhat#)/exp(xbeta#) stat tgr# print tgr# endo stop

I run a metafrontier function and missing What does the Missing observation set to code 9999 was reported. I can anyone help me to rectify this issue. Find below is the code I used. Thanks-99999 message mean?

  • The file parm.txt contains estimated parameters of group frontiers (by column)
  • The file sfa#.txt contains n# data observations for group #
  • Sections 1 and 3 are problem-specific.SHAZAM reported this message, what does it mean?

    1. SET NUMBERS OF PARAMETERS ETC. gen1 nparms = 6 gen1 ngroups = 2 gen1 n1 = 120 gen1 n2 = 333 gen1 n = n1+n2
    1. READ THE ESTIMATED PARAMETERS OF THE GROUP FRONTIERS smpl 1 nparms read (parm.txt) parm / rows = nparms cols = ngroups do # = 1,ngroups dim b# nparms copy parm b# / fcols=#;# tcols = 1;1 endo
    1. READ THE DATA AND CONSTRUCT DATA MATRICES AND VECTORS smpl 1 n read (bm.txt) group ly lx1-lx5 smpl 121 n2 read (kne.txt) group ly lx1-lx5 smpl 1 n

matrix x = lx1|lx2|lx3|lx4|lx5 dim x1 n1 nparms x2 n2 nparms copy x x1 / frows=1;n1 trows=1;n1 copy x x2 / frows=121;n trows=1;n2 do # = 1,ngroups matrix yhat# = x#*b# endo matrix b = -(yhat1'|yhat2')'

    1. OBTAIN AND PRINT PARAMETERS OF THE METAFRONTIER stat x / means = xbar matrix c = ((-xbar')|xbar')' matrix A = (-x)|x ?lp c A b / iter = 5000 primal = bstar dim beta1 nparms beta2 nparms gen1 p1 = nparms+1 gen1 p2 = nparms*2 copy bstar beta1 / frows=1;nparms trows=1;nparms copy bstar beta2 / frows=p1;p2 trows=1;nparms matrix beta = beta1-beta2 print beta
    1. OBTAIN AND PRINT TECHNOLOGY GAP RATIOS do # = 1,ngroups matrix xbeta# = x#*beta matrix tgr# = exp(yhat#)/exp(xbeta#) stat tgr# print tgr# endo stop

What does the Missing observation set to code -99999 message mean?

SHAZAM reported this message, what does it mean?