Dear all,
I am trying to use the command that STATA has for DML (Cross-fit partialing-out lasso linear regression; xporegress) but I have some questions for which I could not find a solution:
1. I know that usually with Lasso methods we have to standardize the variables. I am wondering, is the command doing this automatically ? Moreover, as DML is not about predictions but inference, should the variables of interest also be standardized?
2. About this standardization procedure, I know there is a whole debate about whether categorical variables should be standardized. I have a few as well as controls and I am currently just transforming them to be considered as dummy variables. (i. command). Do you think that's enough ?
3. Lastly, I am also considering applying a log-scale to some of my continuous variables (e.g average income and expenditures). Do you think this is feasible after standardizing the variables?
4. Is there a way to create automatically interactions between variables as controls ?
To put it all in context, I am trying to estimate the effect of two variables (one categorical/dummy and one a continuous one) while taking into account the effect of a bunch of controls.
If you have any ideas about these questions or any general comments, please let me know.
Many thanks in advance.
Related Posts with Double Machine Learning (DML) in STATA (xporegress command)
GraphingDear Users, I used an online app to produce this graph. Possible to do the same using Stata?: Array …
no observation error (2000) after entering control variables.Hi, I'm working on mexico pension program and at primary steps, when I want to estimate impact of pr…
KPSS stationarity test without trendHi there, I would like to perform KPSS stationarity tests to compliment my ADF tests. By default, th…
Mixlogit- "Some variables are collinear, check your model specification"Hello, I am doing a mixlogit regression for a DCE. This is the command that I am using- mixlogit c…
Using -rtfutil- for page breaks and other simple tasksHello Statatalist I just discovered the user-written -rtfutil- command from SSC, which seems to be …
Subscribe to:
Post Comments (Atom)
0 Response to Double Machine Learning (DML) in STATA (xporegress command)
Post a Comment