Hi everyone,
I am using browse or count to investigate in my merged data, but when I add a value to the values of another variable by using -gen- I cannot find the values using the if option.
Here is an example
When I do
it perfectly works.
But when I do
or
The table that appears is completely empty.
I use Stata now for quite a while, but this problem never occurred.
Any help is appreciate.
I am using browse or count to investigate in my merged data, but when I add a value to the values of another variable by using -gen- I cannot find the values using the if option.
Here is an example
Code:
* Example generated by -dataex-. For more info, type help dataex clear input long grid_id float(year radiance_full radiance_full_add) 1 2000 0 .01 1 2001 0 .01 1 2002 0 .01 1 2003 0 .01 1 2004 0 .01 1 2005 0 .01 1 2006 0 .01 1 2007 0 .01 1 2008 0 .01 1 2009 0 .01 1 2010 0 .01 1 2011 0 .01 1 2012 0 .01 1 2013 0 .01 1 2014 0 .01 1 2015 0 .01 1 2016 0 .01 1 2017 0 .01 2 2000 0 .01 2 2001 0 .01 2 2002 0 .01 2 2003 0 .01 2 2004 0 .01 2 2005 0 .01 2 2006 0 .01 2 2007 0 .01 2 2008 0 .01 2 2009 0 .01 2 2010 0 .01 2 2011 0 .01 2 2012 0 .01 2 2013 0 .01 2 2014 0 .01 2 2015 0 .01 2 2016 0 .01 2 2017 0 .01 3 2000 0 .01 3 2001 0 .01 3 2002 0 .01 3 2003 0 .01 3 2004 0 .01 3 2005 0 .01 3 2006 0 .01 3 2007 0 .01 3 2008 0 .01 3 2009 0 .01 3 2010 0 .01 3 2011 0 .01 3 2012 0 .01 3 2013 0 .01 3 2014 0 .01 3 2015 0 .01 3 2016 0 .01 3 2017 0 .01 4 2000 0 .01 4 2001 0 .01 4 2002 0 .01 4 2003 0 .01 4 2004 0 .01 4 2005 0 .01 4 2006 0 .01 4 2007 0 .01 4 2008 0 .01 4 2009 0 .01 4 2010 0 .01 4 2011 0 .01 4 2012 0 .01 4 2013 0 .01 4 2014 0 .01 4 2015 0 .01 4 2016 0 .01 4 2017 0 .01 5 2000 0 .01 5 2001 0 .01 5 2002 0 .01 5 2003 0 .01 5 2004 0 .01 5 2005 0 .01 5 2006 0 .01 5 2007 0 .01 5 2008 0 .01 5 2009 0 .01 5 2010 0 .01 5 2011 0 .01 5 2012 0 .01 5 2013 0 .01 5 2014 0 .01 5 2015 0 .01 5 2016 0 .01 5 2017 0 .01 6 2000 0 .01 6 2001 0 .01 6 2002 0 .01 6 2003 0 .01 6 2004 0 .01 6 2005 0 .01 6 2006 0 .01 6 2007 0 .01 6 2008 0 .01 end
Code:
br if radiance_full==0
But when I do
Code:
br if radiance_full_add==0.01
Code:
br if radiance_full_add==.01
I use Stata now for quite a while, but this problem never occurred.
Any help is appreciate.
Comment