I have a dataset where the variable x is a string. I need to keep only observations at which the first 2 characters in the variable x is capital letter. Can anyone tell me how to do it ?
Related Posts with keep observations if first 2 character of the string is capital letter
Weird 'file not found' error while appending excel sheets in a folderHey all, I got some datasets in .xlsx format in a folder which I appended through the following: …
Random slope Frailty modelGreetings!! I need help in fitting random slope frailty model. Thanks in Advance!! …
weighted population density of the neighborhood in a locationHi everyone, I have a question about how to calculate the population density of the neighborhood in…
mestreg - How to change covariance structureGreetings!! I'm John, currently working on multilevel survival analysis using mestreg command.. I wa…
Histogram command but want to use values greater than 0 but less than 80 from a dataset?What is the stata histogram command for when we want to make a histogram of a dataset, but want to u…
Subscribe to:
Post Comments (Atom)
0 Response to keep observations if first 2 character of the string is capital letter
Post a Comment