Hi,
I’am new in the 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
Dynamically rename variable (using "word()")I have a dataset that looks as follows: Code: clear input str7 index int data "EOSQ041" 42…
Compare multiple regression coefficients across regression modelsHi guys, I want to compare coefficients across two different regression models. I found a useful in…
import delimited and accidental carriage returnsHi Statalist, I am importing about 75 csv's and appending them together. I got these csvs from a go…
Pre-announcement driftDear Statalist, I would really apreciate any help/tips members have to offer on this topic. I am w…
Problem with -import dbase-I am using -import dbase- to convert a DBF file to DTA. However, it is replacing some of the non-mis…
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment