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
Granger causality test for Panel data regressionI want to test the direction of causality for my panel data. In order to do so, I wanted to carry ou…
Detecting false zeros in panel dataI am working with some data about hospitals in England who are submitting information about the numb…
panel data analysiscould anyone please explain how to interpret the results of panel data fixed effects and random effe…
Initial estimates for logistic regressionWhat are the default initial estimates that the logit and logistic commands use when they start iter…
BsampleHello guys, Let's say i have a monthly panel data fo years 2010-2015. Is there a way to tell bsampl…
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment