python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why does ppmlhdfe give different results for manually interacted variables?
I am running a regression using ppmlhdfe with two dummy variables and the interaction between them. This is constructed as follows:
gen interaction = D1*D2
ppmlhdfe y D1#D2 control i.year, vce(robust...
Pia
Votes: 0
Answers: 1
Creating a conditional dummy variable column in R
I'm working with a cross-country panel dataset, one of my variables (cc_dummy) takes the value of 1 & 0 (there are also missing values indicated by NAs). I want to create a new column such that if...
user3227641
Votes: 0
Answers: 1
Variable Importance Dummy Variables R
How can I determine variable importance (vip package in r) for categorical predictors when they have been one-hot encoded? It seems impossible for r to do this when the model is built on the dummy var...
mapleleaf
Votes: 0
Answers: 1
Trying to generate a dummy variable based on a range of data and one cell
I have a dataset that consists of two Date columns. Both of the date columns are in reference to different events happening. I want to generate a dummy variable that equals 1 if both of the dates and ...
Ronan Dunne
Votes: 0
Answers: 1