I would like to analyse my data in the multi-level Tobit method (metobit) with applying two-level weights. In multi-level linear mixed model we get the first level weight [pweight= IPW] by calculating a propensity weight and the Stata automatically estimates the weight. "size" for cluster level (2nd level). Stata command for the linear mixed model is "mixed unemp i.year inc edu [pweight= IPW]|| year:, pwscale(size)", My data of the unemployment variable is censored in distribution. My data would better fit in metobit method. But metobit does not automatically estimate the "size" weight. Stata command for mtobit is "metobit unemp inc edu [pweight=IPW] || year:, pweight(wvar2) ll(0)". The wvar2 in pweight(wvar2) is the 2nd level weight similar to "size". I do not know how to derive the weight data from my first-level estimate. Stata manual explained the meaning of the weight but not explained the calculation method. Can you please help me by describing a) the 2nd level weight-deriving method as Stata calculates the weight "size" b) providing reading materials to calculate the weight?
Related Posts with Method deriving weight of second level for mtobit model
Chi square tests on many variables in a panel datasetDear all, I have a panel dataset and I am trying to do simple chi-square tests by sex on about 140 v…
Computing accuracy score on StataSay we have Stata variables "yBestPred", "sp" and "compliance": Code: list yBestPred 1. 1 2. 0…
Computing accuracy score on StataHello, I am trying to compare two Stata variables "yBestPred" and "compliance" and try to come up w…
Append within a loopHello, I've used the following loop command to generate two data sets that I will be using to run a…
Survival analysis factor variable output (i. versus ibn.)Hi, When running the log-logistic AFT regression with the i. command, the regression runs without p…
Subscribe to:
Post Comments (Atom)
0 Response to Method deriving weight of second level for mtobit model
Post a Comment