Hi,
I’am new in this forum, I don’t know if I posted in good place for my question, this is my first message. I’am taking class about Inequality analysis, as i’am new in Stata, I have problem with some commands used. I didn’t understand the following code:
gen transfer = 0
loca total_transfers = 0
local limit = 0
while `total_transfers' < 300 {
qui replace transfer=max(0, `limit'-income)
qui sum transfer
local total_transfers=r(sum)
local limit = `limit'+1
}
I understood the first line of the code, but the rest is not clear for me. Could you help me for understanding please? Thanks very much
Related Posts with Inequality analysis
the exponential model, using the NLS, poisson and gamma QML estimatorsDear all, I have a question related to the estimation of the exponential model. This is related to …
Sampling using sample commandHello Everyone, I have a dataset which has data for 100 households from each of 3 cities. Further, …
Standardised independent variables using logistic regressionI am running a model in which I want to check the substantive effect of the different independent va…
RescalingHi Statlist! Is there a way to rescale the x and y axis in order to show them in in Millions dollar…
Incidence rateDear All,ho I used survival analysis to estimate the incidence of mother-to-child transmission of HI…
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment