Announcement

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

  • multilevel modelling with weights

    Hi,

    I am trying to run a multilevel regression model using STATA 13 and I am using weights for workplaces and the individual employees at those work places. The stata command I use is as follows:

    xtmixed satis pa recunion perrou ahlong2 secman secpub secedu sechealt secelec secconst secsale sechotel sectrans secfin secbus zallemps
    mktgrew1 compet2 indepen1 ten1 ten2 ten5 ten10 permjob tempjob hours male age19 age29 age39 age49 age59 married single div alevel olevel cse nvq ///
    [pweight= seqwtnr] || serno:, pweight(estwtnr) pwscale(size)

    satis= dependent variable pa= independent variable the rest are the controls. seqwtnr = weights for the employees within a workplace estwtnr= workplace welevel weights.

    In response I get

    error obtaining scores for robust variance

    r(430);

    I am really confused as to what may be going wrong. How do I rectify this error. Please advise.


    See below what the STATA screen shows when I run the do file:



    Obtaining starting values by EM:



    Performing gradient-based optimization:



    Iteration 0: log pseudolikelihood = -103.77743

    Iteration 1: log pseudolikelihood = -103.76971

    Iteration 2: log pseudolikelihood = -103.7697



    Computing standard errors:

    error obtaining scores for robust variance

    r(430);


    I look forward to hearing from you.

    Best regards,
    Sukanya
Working...
X