Hello, I am trying to do two things:
1. Keep any variable which has a variable name that begins with _
2. Then truncate the variable name to remove the _ only if the underscore comes at the beginning of the variable name
Related Posts with Keep and truncate variables with specific character
Listing Characteristics of matched countriesHi, I am matching countries with their nearest neighbours (using the nnmatch command and a range of …
Does i.year (time dummies) change intercept or slope?Hi, guys, thanks for reading my post. I work with panel data (N dimension is much larger than T dim…
Panel Data OLS regression and fixed effects: Problem of heteroskedasticity and autocorrelationHello there, I am running a linear regression with panel data and fixed effects using the xtreg, fe…
Can i use pwcorr?Hello all, I want to know if respondentens answer the same on two questions: Question 1) How would …
How to replace zeroes with missing values?I've looking to change all the zeroes in a varlist to missing values. I think I first need to conver…
Subscribe to:
Post Comments (Atom)
0 Response to Keep and truncate variables with specific character
Post a Comment