I am trying to group a set of x variables by 10th percentiles, and then I have 11 numbers for the percentiles(one of them is zero so it may be omitted), now I'd like to use these 10 values to run a regression on variable y, where y is the mean of a certain percentile group.
How do I get my grouped variables, and how do I calculate their mean? Detailed step by step answers appreciated!
Much thanks in advance!
Related Posts with Group Variables by Percentile and Regress
Problems with the ppplot command and resulting graphHi Statalisters, I faced a problem with the ppplot command by Nicholas J. Cox. First, I want to ed…
Help on Thesis : Migrant wage gap Data Analysis.Hi, My thesis is on assessing the impact of nationality on workers earnings in UK. I have downloade…
DATE ***Please help***Hi all, I am trying to put the day, month and year columns in one column. So the format is as foll…
Cs-ardlHello, I use stata code (xtdcce2 d.y , lr(l.y l.x1 l.x2) lr_options(ardl) cr(d.y d.x1 d.x2) cr_lags…
Passing arguments to mata functionsArray why is there two arguments needed in the functions?What does touse stand for?I don't understan…
Subscribe to:
Post Comments (Atom)
0 Response to Group Variables by Percentile and Regress
Post a Comment