Hello, I want all the observations of the variable "Website" to start with "www.". As shown below, most of the websites are written as "www.blahblahblah.com" but "www." is omitted in some of the observations. How do I write code so that all the obs of the variable starts with www.?
Thank you in advance!
Related Posts with replace variable values if it does not satisfy a certain condition
Saving pointer matrixes using -mata matsave-I am relatively new to the use of pointers in Mata and have thusfar been impressed with their utilit…
Cumulative frequencies and names of observations calculated across rows of different variablesHi Statalisters, Could someone help me with the below or direct me to any previous thread (which I …
Demand elasticityHi all, I am using stata to estimate demand for automobiles. I have panel data of 4 years 2014-2017…
Add confidence intervals to medianDear Stata users, I would like to add 95% confidence intervals to q50. But it does not appear to be…
ttest by different classification standardHi, I have a bunch of variables, say: a,b,c,d,e. I want to do ttest by different classification. Th…
Subscribe to:
Post Comments (Atom)
0 Response to replace variable values if it does not satisfy a certain condition
Post a Comment