Hello How I can replacement for the value of an observation where there is no data with a conditional
I want to replace the value of X1 with a 1 (it is binary) if X1=="" and X3=="" (i.e. both have no data) and x4>2
Related Posts with Conditionals
Constraining the X-Axis within a rangeI'm studying the causal impact of Puerto Rico's VacuTour policy with my event-study synthetic contro…
Stata 17 Tables - Constructing a table from nlcom in 1 results?I would like to use the Stata 17 table functions to automate a results table. I have used nlcom to e…
Generating new variableHi within a dataset I have been looking at there are 33 countries. I am trying to create a dummy var…
Creating variables in long formatHello, I am trying to create a variable "stage1_class" that represents different responses to lx_ite…
controlling for fixed effectsNone …
Subscribe to:
Post Comments (Atom)
0 Response to Conditionals
Post a Comment