Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nlsur QUAIDS residuals

    Dear Stata Users
    How can I get the residuals of the Quaids model estimated by nlsur, to bootstrap them. The predic function gives me an error message. I can't estimate to extract the predicted values either.
    This is script model



    #delimit ;
    nlsur ModeloT_2 @
    W1
    W2
    W3
    W4

    lnP1
    lnP2
    lnP3
    lnP4
    lnP5

    lnM

    nmiem7
    nmiem8
    nmiem9
    nmiem10
    nmiem11
    nmiem12
    nmiem13


    Errores

    M1

    sexosp_1
    convivencia_1
    estudredsp_2 estudredsp_3 estudredsp_4
    ocusp_1

    [pweight = peso],

    ifgnls
    neq(4)
    param(a1 a2 a3 a4
    b1 b2 b3 b4
    g1_1 g1_2 g1_3 g1_4
    g2_2 g2_3 g2_4
    g3_3 g3_4
    g4_4



    l1 l2 l3 l4

    d1_1 d1_2 d1_3 d1_4

    d7_1 d7_2 d7_3 d7_4
    d8_1 d8_2 d8_3 d8_4
    d9_1 d9_2 d9_3 d9_4
    d10_1 d10_2 d10_3 d10_4
    d11_1 d11_2 d11_3 d11_4
    d12_1 d12_2 d12_3 d12_4
    d13_1 d13_2 d13_3 d13_4

    D1_1
    D2_1
    D3_1
    D4_1

    SE_1 SE_2 SE_3 SE_4
    CO_1 CO_2 CO_3 CO_4
    ES2_1 ES2_2 ES2_3 ES2_4
    ES3_1 ES3_2 ES3_3 ES3_4
    ES4_1 ES4_2 ES4_3 ES4_4
    OC_1 OC_2 OC_3 OC_4
    )
    nparameters(82)

    title( PRIMERA ETAPA)
    title2( 5 MACRO-GRUPOS DE GASTO)
    nolog
    noconstants
    vce(robust)
    a_0(`=a_0');


Working...
X