Hello,
I am working on my thesis, with the topic "Factors determining life satisfaction in the USA". I was given a dataset of 265 variables and more than 2000 observations. My aim is to compare the effects of economics and social problems (which are not already variables in the dataset) on the happiness.
I would like to first, using LASSO (lasso2 depvar indepvar, lic(aic) ) to choose the suitable variables for the regression. And then, from the selected variables, I use PCA to combine them to only 10 factors, including economics and social problems). The last step is to build a model from these factors, with happiness as the dependent variables.
In this case, LASSO selected 98 variables, and the number is too large to build a model. Therefore, I would like to use PCA to both reduce the dimension and call out the needed latent variables.
May I ask is this an acceptable method to combine LASSO and PCA? If not, could you please suggest me a better method?
Thank you very much!
Related Posts with Can I combine feature selection and feature creation method?
Effect magnitudes interpretationDear all, I have a panel FE model, dependent variable (Y) is measured in % and also my independent v…
Interpretation Panel fixed effect with log dependent variableDear Stata users, I am running a fixed effect model on household data with log household per capita…
Help needed for ARDL model regressionHi all, I'm an Economics student who has only recently started using Stata (State/SE15.1) for analys…
Difference in Difference with only three clusters (one untreated, two treated)Hi there! I am currently working on my dissertation studying how a school-based initiative affects …
keep if(varname) ==r(max)Can someone explain the last two commands: I understand that r(max) or r(min) is to be used after th…
Subscribe to:
Post Comments (Atom)
0 Response to Can I combine feature selection and feature creation method?
Post a Comment