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
Pooled probit,random effect probit and fixed effectsI am trying to run a pooled probit, random effects probit and fixed effects and producing them on th…
Restrictions years codeHi all, I have a data on my stata and I am needed to run data replicate table separately according t…
Removing third bracket from*a column which is numericHello everyone, How I can remove the third bracket from a column ( which is numeric and gives count…
Check for confounder in logistic regressionArray Hi, The below result shows my logistic regression, which I used to find potential confounders…
What multivariate analyses could be performed with employment tenure and temporary employment rate before and after labour reforms?I'm studying the employment tenure (the duration of contracts) and the temporary employment rate of …
Subscribe to:
Post Comments (Atom)
0 Response to Inequality analysis
Post a Comment