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?
How copy database only with variable codes into ExcelHello! Explain me please. I have a database. I need to copy the table only with the "value label" an…
Random effects Fractional Regression ModelHello everyone! I am planning to run a fractional regression model in the context of panel data . As…
Create indicator variable within unbalanced panelHi Statalist I have an unbalanced panel & I would like to create an indicator variable based on…
Copy database only with variable codes into ExcelI need to copy and paste database only with variable codes into Excel from STATA. How to do it? Plea…
How to use Mata for calculations within a Stata ML evaluator program?[This is picking up on the thread I began here: https://www.statalist.org/forums/for...normal-densit…
Subscribe to:
Post Comments (Atom)
0 Response to Can I combine feature selection and feature creation method?
Post a Comment