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
Help with reshapeHello everyone, I have got the following matrix. * Example generated by -dataex-. To install: ssc …
Joining datasets when a variable is in a different formatHi all, I currently have a data set that looks like this where each quarter is represented by a sep…
Report estimates from Heckman AND margins commandDear all, I am using Stata 14 and have some questions regarding the commands -Heckman-, -margins- an…
reshape in StataDear All, I have some issues about reshape. Here is the original matrix I have. Code: * Example gen…
Help on modelling- endogeneity-panel dataHello, I am running a model to find the effect of corurption on GDP in across Italian regions using…
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment