I ran a lasso regression on my data and it does not reach the r^2 that a regression of my own design achieved. Does stata's lasso tune based on r^2? Ideally I would like it to tune optimizing the adjusted r^2, but I do not know what feature to use.
Related Posts with General Lasso Confusion
Dummy VariableHi, So I created a dummy variable by the following code: gen YearGroup = 0 replace YearGroup = 1 i…
PVAR irfDear All, I'm running panel var on two datasets and i want to compare their irf graphs. i want to pu…
Summary Variables for Household CharacteristicsHello Statalisters, I'm trying to summarize some statistics by household (NUM_HOG). Specifically, I …
Converting data to numericHi All, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc ins…
Stata commmands to analyze data where each record contains monthly totals: aggregate data problem but not really a wide to long solutionHi, I have some health centre data from Africa where each record consists of fields that represent …
Subscribe to:
Post Comments (Atom)
0 Response to General Lasso Confusion
Post a Comment