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
Find outcome of the most recent and second most recent event within groupDear all, I am trying to find the outcomes of the most recent and second most recent events (in the…
Create a loop to repeat the same operation several timesGood morning, I'll explain my problem to you. I would like to create a loop to repeat the same opera…
Testing interactions in xtregI am fairly new to xtreg and what to sure I am doing the right thing: Code: * Example generated b…
encode and destringHi, this is Alice. I am constantly facing problems of destring a variable that contains both numeric…
How to make a table with multiple variables?I want to make a table that looks like: Rate of Graduation (%) Parent’s Years of Education Tal…
Subscribe to:
Post Comments (Atom)
0 Response to destring, ignore
Post a Comment