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
Autocorrelation and ARCH/GARCHHi, I have times series of a stock return, and I want to detect if there is any effect on the month…
generate all Root MSE from regressionHey there, I have run 722 regressions with my data set for each firm year by using: bysort variable…
cluster robust hausman test for multiway clusteringDear all, I was looking to run a generalized hausman test for panel models with cluster-robust stan…
Too many observations for gen id = _nI am using a very large dataset and this technique for generating a unique id for each observation d…
Looping through Stata datasets applying the same processing codeHello, I have a large dataset that I have split into 10 chunks, I have written some code to loop th…
Subscribe to:
Post Comments (Atom)
0 Response to destring, ignore
Post a Comment