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
generating new variable from panel data.*I have multiple observations for individuals. My data is long. I have a columns for whether the even…
How to create dummy variables for day of the week, day of the month etc.Hello, I am fairly new at using stata, thus since I want to control for time varying influences (my …
boottest now does "bootstrap-c" advocated by Alwyn YoungAt the suggestion of James MacKinnon, I've added an option to boottest that lets you bootstrap the d…
boottest now offers "bootstrap-c" advocated by Alwyn YoungAt the suggestion of James MacKinnon, I've added an option to boottest that lets you bootstrap the d…
Show number of respondentsHi Statalist! A quick and (likely) easy question here: I have been searching for ways to find the nu…
Subscribe to:
Post Comments (Atom)
0 Response to Group Variables by Percentile and Regress
Post a Comment