<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Log transformation in ArcGIS 10 in Spatial Statistics Questions</title>
    <link>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36186#M121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear experts and valued members,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing OLS and cant come up with a better model. I found out that some of my variables need transformation however, I can't figure out the right transformation of my explanatory variables as I am not that well verse in stat. I have attached the screenshot of what I did in ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explanatory variables: DEM and MAR (mean annual rain)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Log transformed Field: demtra and lograin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Formula: Demtra = Log ([DEM])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Formula: MAR = = Log ([MAR])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Demtra = Log ([DEM]) (result is highlighted in light blue). I did the same calculation in Excel, when I used the Log function in excel I got different results. I tried LN (natural logarithm) in Excel and got the same result as Log ([DEM]) in ArcGIS. I am wondering if I am doing the right transformation using the above formula when there is a need to transform the data to logarithm. The DEM variable is skewed to the right as such I am doing log transformation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did the same transformation for MAR (mean annual rainfall) and the Lograin (last column)&amp;nbsp; resulted to single values though I indicated a precision of 2 when I added a new field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any assistance on this. Thank you so much for your valuable comments and time in helping out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eiffel8&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Aug 2011 05:58:04 GMT</pubDate>
    <dc:creator>EifLeffie</dc:creator>
    <dc:date>2011-08-13T05:58:04Z</dc:date>
    <item>
      <title>Log transformation in ArcGIS 10</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36186#M121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear experts and valued members,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing OLS and cant come up with a better model. I found out that some of my variables need transformation however, I can't figure out the right transformation of my explanatory variables as I am not that well verse in stat. I have attached the screenshot of what I did in ArcGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explanatory variables: DEM and MAR (mean annual rain)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Log transformed Field: demtra and lograin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Formula: Demtra = Log ([DEM])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Formula: MAR = = Log ([MAR])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Demtra = Log ([DEM]) (result is highlighted in light blue). I did the same calculation in Excel, when I used the Log function in excel I got different results. I tried LN (natural logarithm) in Excel and got the same result as Log ([DEM]) in ArcGIS. I am wondering if I am doing the right transformation using the above formula when there is a need to transform the data to logarithm. The DEM variable is skewed to the right as such I am doing log transformation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did the same transformation for MAR (mean annual rainfall) and the Lograin (last column)&amp;nbsp; resulted to single values though I indicated a precision of 2 when I added a new field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any assistance on this. Thank you so much for your valuable comments and time in helping out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eiffel8&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2011 05:58:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36186#M121</guid>
      <dc:creator>EifLeffie</dc:creator>
      <dc:date>2011-08-13T05:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Log transformation in ArcGIS 10</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36187#M122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Eif, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you are using the right Log function in ArcGIS.&amp;nbsp; The "&lt;/SPAN&gt;&lt;A href="http://www.w3schools.com/vbscript/func_log.asp"&gt;Log&lt;/A&gt;&lt;SPAN&gt;" function using VB is the same as the "&lt;/SPAN&gt;&lt;A href="http://www.techonthenet.com/excel/formulas/ln.php"&gt;Ln&lt;/A&gt;&lt;SPAN&gt;" function in Excel...both use the Natural Log.&amp;nbsp; The "&lt;/SPAN&gt;&lt;A href="http://www.techonthenet.com/excel/formulas/log.php"&gt;Log&lt;/A&gt;&lt;SPAN&gt;" function in excel actually defaults to a log with a base of 10, so that is where the difference you're seeing is coming from.&amp;nbsp; Sorry for the confusion there!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the precision issue that you're having, it looks like the field that you are using to calculate the log is an integer field (either short integer or long integer).&amp;nbsp; You will need to create new fields and use either Double or Float, which will then give you the precision that you're looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 21:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36187#M122</guid>
      <dc:creator>LaurenRosenshein</dc:creator>
      <dc:date>2011-08-15T21:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Log transformation in ArcGIS 10</title>
      <link>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36188#M123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks much Lauren for the help!..so helpful indeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eif&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:49:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/spatial-statistics-questions/log-transformation-in-arcgis-10/m-p/36188#M123</guid>
      <dc:creator>EifLeffie</dc:creator>
      <dc:date>2011-08-18T06:49:15Z</dc:date>
    </item>
  </channel>
</rss>

