<?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 Problems about take logarithm in two obs. in single variable in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1793#M799</link>
    <description>Can anyone suggest the method for me to me to take logarithm on divided of two observation, e.g. log(VariableX&lt;N&gt;/VariableX[n+1])that like Excel? &lt;BR /&gt;
Example, =log(A10/A11).&lt;BR /&gt;
My Constraint is huge amount of data that cannot process in Excel.&lt;/N&gt;</description>
    <pubDate>Fri, 17 Nov 2006 07:40:39 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-11-17T07:40:39Z</dc:date>
    <item>
      <title>Problems about take logarithm in two obs. in single variable</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1793#M799</link>
      <description>Can anyone suggest the method for me to me to take logarithm on divided of two observation, e.g. log(VariableX&lt;N&gt;/VariableX[n+1])that like Excel? &lt;BR /&gt;
Example, =log(A10/A11).&lt;BR /&gt;
My Constraint is huge amount of data that cannot process in Excel.&lt;/N&gt;</description>
      <pubDate>Fri, 17 Nov 2006 07:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1793#M799</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-11-17T07:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problems about take logarithm in two obs. in single variable</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1794#M800</link>
      <description>This question is perhaps best answered by Technical Support.  You can enter it online at &lt;A href="http://support.sas.com/ctx/supportform/index.jsp" target="_blank"&gt;http://support.sas.com/ctx/supportform/index.jsp&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 21 Nov 2006 14:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1794#M800</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-11-21T14:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems about take logarithm in two obs. in single variable</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1795#M801</link>
      <description>In SAS, you can't read the value of the next line... but you can use the value of the previous line.&lt;BR /&gt;
So in a Data step, compute a new variable, the formula of which will be :&lt;BR /&gt;
LOG(LAG(X)/X) ;&lt;BR /&gt;
&lt;BR /&gt;
The LAG function returns the value for variable X on the previously read observation.</description>
      <pubDate>Thu, 23 Nov 2006 14:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problems-about-take-logarithm-in-two-obs-in-single-variable/m-p/1795#M801</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2006-11-23T14:50:31Z</dc:date>
    </item>
  </channel>
</rss>

