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
Advice on which model to use with binary dependent variable and endogenous ordinal independent variableHello, I have come to a roadblock in my research. I am trying to figure out what type of model to us…
mean through several variables Hello, I have 4 different variables, each with the expression 1-5. the variables include mental he…
Margins after -gsem-Dear all, I am having some trouble with my margins command after -gsem-. Here below my data looks l…
Probit model constant termHey I have a sample with different start ups, the funding amount, and three different investor type…
Generate new variable by command "if"Hi I want to create a new variable (var3) using an existing variable (var2). Like the attached photo…
Subscribe to:
Post Comments (Atom)
0 Response to Group Variables by Percentile and Regress
Post a Comment