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
-putpdf- with -tempfile-Dear All, I am puzzled why the putpdf command requires the output file name to have specifically th…
Maximum length of arguments passed to Stata in batch modeI'm calling Stata from PowerShell and want to pass some arguments for the do file to be run. The com…
Bar graph colorsDear All, consider the following code and the corresponding output: Code: clear all sysuse auto g…
Inverse probability weighting regression adjustment with dynamic treatment effectsDear all I am trying to estimate the dynamic treatment effects of my model with inverse probability…
First differences - Ordered ProbitHi, I have a dataset (T=2 and N=4300 (2300 in the first wave of which 2000 panels are present in the…
Subscribe to:
Post Comments (Atom)
0 Response to Stata- margins and rifreg command
Post a Comment