hi all, I have a variable (crops_yield) with following kind of observations. The variable type is double and format %6.2f. I am trying to select value 11666.67 using "tab crops_yield if crops_yield==11,666.67" but Stata says no observations. Why is this the case and what code fixes this problem? Please let me know.
tab crops_yield
crops_yield | Freq. Percent Cum.
1921.00 | 1 0.78 94.57
2083.33 | 1 0.78 95.35
2160.00 | 1 0.78 96.12
2700.00 | 1 0.78 96.90
2750.00 | 1 0.78 97.67
3008.57 | 1 0.78 98.45
4500.00 | 1 0.78 99.22
11666.67 | 1 0.78 100.00
Thank you,
Ramu
Related Posts with Precision issue- if command doesn't select variable with requested values
ICD10 with multiple variablesHi, I am relatively new to Stata so apologies if this is a basic question but I hope someone can he…
Conflicting results - xtsktest and jb -Hello everyone, I apologize in advance in case this is a silly questions but I could not find enligh…
Unifying country names when merging dataI have data from different sources, some use names for a country and other sources use different nam…
Sargan's criteriaHi, I want to calculate Sargan's criteria (S) to choose between two alternative equations (1 and 2)…
Counting Occurrences X Years Before Each ObservationHi everyone, I am relatively new to stata. For my thesis, I am working on a dataset that lists paten…
Subscribe to:
Post Comments (Atom)
0 Response to Precision issue- if command doesn't select variable with requested values
Post a Comment