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
Question about recoding a variable, having issues with deleting some unwanted values.Hello everybody. I am a stata beginner, trying to do some descriptive analysis on a survey data. My…
xtlogit is not supported by svy with vce(linearized)This question is similar to this one: Using XT commands with Svy commands I was dealing with panel …
The label is too long to fit on the X axis.Hi I'm stata beginner. I 'm drawing graph, but label is too long to fit on the X axis. Array Is t…
Setting string ID and string time variable - Panel DataI have a quarterly panel data of 20 countries from 2000q1-2012q4. When I import the excel file, both…
Can I draw logistic odds ratio coefplot with two x axis range according to variable ?Hi. I'm stata beginer. I want to draw odds ratio graph using coefplot. But difference of CI betwee…
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment