Hello,
I want to perform a multivariate linear polynomial regression on STATA. I am working with election data so I have data on candidate characteristics (X variables) and election outcome (Y variable). The Y variable in this case is a function of multiple X variables. I am interested in plotting the relationship between the probability of winning against one of the X variables i.e. a, projection of the multivariate function in two dimensions. Since it would not be technically correct to just run lpoly on the Y-variable against the X variable of interest, I want to know how to perform a multivariate linear polynomial regression and then plot the function against a single X variable.
Can anyone help me with this? Any help would be greatly appreciated.
Thanks a lot!
Amrutha
Related Posts with Multivariate Local Linear Polynomial Regression (lpoly)
Interpreting multilevel mixed-effects linear regressionHi, I am doing medical research and I am currently facing some challenges. I have received help fr…
Calculating average of variables from different years I would like to generate a variable equal to the simple average of some other variables. Problem is…
LoopHello Stata-Community, I have a varlist called 'surgery' containing numbers from 1-5. I would like …
Intra-Day Data SummationHi, I am working with the following sample of intra-day data: Code: * Example generated by -dataex-…
Margins of an interaction after xtlogit, reDear all, I run into an apparently (at least, for me) strange result. I have a longitudinal (even if…
Subscribe to:
Post Comments (Atom)
0 Response to Multivariate Local Linear Polynomial Regression (lpoly)
Post a Comment