Hi,
We have a problem with margins after rifreg command: it works without writting xi in front of rifreg, but not with xi. Anyone know if there is an instruction to estimante rifreg without writting xi in front?
Thank you in advance
The instruction:
global ylist LNSALHORA
global xlist_x "i.cnaceagr i.mujer_sector i.anos2 i.estu"
*unconditional quantile regression
local quartile 20 50 80
qui foreach q of local quartile {
noisily display "quartile" `q'
xi: rifreg $ylist $xlist_x [fw=factor], quantile(`q') w(0.0)
est sto uqr`q'
noisily margins cnaceagr
}
Related Posts with Stata- margins and rifreg command
Stata commands for summing up z scores of 3 variable measuresI have an independent variable with four measures based on Likert scale of 7-point scale from strong…
How to loop using dateHi everyone, I have a dataset like this, Code: * Example generated by -dataex-. To install: ssc i…
non-overlapping CIs in predicted probabilities after mlogit: can we conclude statistically significant difference?Hi all, I produced the below plot of predicted probabilities after running mlogit (full code below).…
How to add up all the previous valueHi everyone, My data looks like below: Code: * Example generated by -dataex-. To install: ssc ins…
Construct a variable when other two takes the same values but invertedDear All, suppose I have the following data: Code: * Example generated by -dataex-. For more info…
Subscribe to:
Post Comments (Atom)
0 Response to Stata- margins and rifreg command
Post a Comment