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
Xtset for Same "Stage" but Different TimeDear all, I have a company dataset. Each company has two-stage (e.g., stage = 0 or stage =1). Howev…
extract letters from wordsDear All, Suppose that I have this data set (with variable "Journal_e": Code: * Example generated b…
Correlation between variablesHello Statalists, Please, could anyone help with the correct command? I have two datasets measuring …
Finding sum per row based on conditionsMembers, I have a dataset with multiple columns (var1, var2, var3, etc.) with missing observations.…
Graph of event study for multiple regressions using eventdd packageUsing the following command and using the data, you can use an event study graph for only one set of…
Subscribe to:
Post Comments (Atom)
0 Response to Stata- margins and rifreg command
Post a Comment