Hi Statalists,
I keeps getting an error message, ""pweights must be positive", when using the "mixed" command.
Array
I have checked that the values of weights for both levels are all positive. I'm using Stata 14 version. I'm not sure why it keeps showing this error message.
The same question has been asked in the forum in the post from 2018, 2016, and 2014
However, my question is: is there any way I can apply the pweights without changing the "mixed" command to "svy"?
Thank you for your help.
Related Posts with Error "pweights must be positive"
Plotting curves for hazard model with firm level stratificationDear all, I am running a stratified cox model on a firm-year dataset. The command i use is: stset y…
Shifting all the points down in a graph, to include main effect for interaction termsHi All, My dataset resembles the following: -------------------- copy starting from the next line …
Interactive fixed effectsDear All Is there any non-technical introduction to "Interactive fixed effects". Especially when it …
Stock Prices Technical Analysis Pattern Recognition using STATAHello everyone. I am trying to use STATA to detect technical analysis patterns in stock prices. Does…
Sum observations in different lines into one (by ID)Hello everyone, I'm trying to add observations in different lines into one line by ID. Below is t…
Subscribe to:
Post Comments (Atom)
0 Response to Error "pweights must be positive"
Post a Comment