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
Holtz-Eakin, Newey and Rosen regression on a lagged variableI have a variable operating income and I want to auto regress it on lagged operating income using th…
support - neophyte stataHello everybody! Can you please help me with the following problem? I have created an easy example…
Display p-values with psmatch2 commandDear Statalist, I am using Stata 16 and want to use the propensity score matching algorithm provide…
Creating a variable that is chosen from two different distributions with probability=0.5Hi there, I am trying to create a variable u with 1000 observations that is distributed according t…
Lagrange MultiplierWhat is the purpose of Lagrange Multiplication in Heteroscedasticity? …
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment