I have been trying for hours and also searching for assistance on using the destring, ignore command since I have a varlist "ph_pta" that contains pH values ( should be formatted: "7.40" as an example"
Some of the observations have "<" or random other characters that I have tried directly typing the command in the line or even using the Data- convert string var to numeric var menu. I have 6 or 7 characters that I've manually found that need to be removed so that I can then proceed with destring and convert this varlist to numbers.
I've tried ignore("<" "-" "`"), which is how I've seen it is supposed to be formatted?
I've also tried with commas in between each of those.
The error I most often get is "too few quotes. It adds its own quotes & `' each time also, when I use the menu.
Please assist. I can give you more info too if needed.
Related Posts with destring, ignore
Create numlist based on values? I am currently struggling a bit with Stata syntax. As I am using the "margins" command, I want to s…
Creating principal components output after pcaHi All, I wish to create a table depicting the complete output tables post PCA estimation. I found …
Question: Creating an indicator for every fifth eventI have a question concerning an efficient way to create an indicator for the date at which an event …
C:\Users\AppData\Local\Temp\ST_04000001.tmp * *not foundI´m converting spss files into .dta files through many loops and one of those is like the following …
Literature on Stata's Extended Regression Models (ERMs): is there any?I'm using extended probit (eprobit) and extended linear regression (eregress) in my dissertation. I'…
Subscribe to:
Post Comments (Atom)
0 Response to destring, ignore
Post a Comment