<?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 Re: Bland Altman plot: Log-transformation and back transformation of LOA in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Bland-Altman-plot-Log-transformation-and-back-transformation-of/m-p/307641#M61118</link>
    <description>&lt;P&gt;Not sure I understood but I will try to answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;My problem is when I am transforming back the LOA to original scale, which I want to insert on the original BA-plot, for easier interpretation.&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I plot with a log scale i am not doing any transformation, I specify "TYPE=LOG" in my GTL or SGPLOT code, SAS does the job.&lt;/P&gt;&lt;P&gt;Generally speaking avoid any back-transforming of your data, maybe create a macro that does the plot depending of the type of analysis you want (linear or logarithmic).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;"How do I calculate the slopes of the LOA".&lt;/EM&gt;&lt;/U&gt;.. If you mean the regression line use PROC REG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   ods select none;
   proc reg data=inputDS;
      model yvar = xvar ;
      ods output ParameterEstimates=outputDS;
   run;quit;
   data _null_;
      set outputDS;
      if variable eq 'Intercept' then call symput('Int', put(estimate, BEST.));    
      else            call symput('Slope', put(estimate, BEST.));  
   run;
   ods select all;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;how do I know the intersection with the y-axis?&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000" face="Times New Roman"&gt;&lt;I&gt;y = slope*x +intercept&amp;nbsp; &lt;/I&gt;intersection with y-axis is your intercept.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-forum-message-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-right lia-quilt-column-main-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-rating-metoo lia-component-body"&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;I also want to make 95 % CI of the mean difference of this data, how can I do this on log transformed data when I want the 95 % CI to be on the original scale? (for comparison to other normally-distributed data). Or should I just calculate 95 % CI of the mean difference on non-normally distributed data?&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;As I said, avoid back-transforming, calculate the 95%CI on original scale data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2016 14:06:49 GMT</pubDate>
    <dc:creator>Oligolas</dc:creator>
    <dc:date>2016-10-27T14:06:49Z</dc:date>
    <item>
      <title>Bland Altman plot: Log-transformation and back transformation of LOA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bland-Altman-plot-Log-transformation-and-back-transformation-of/m-p/307565#M61107</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to compare two methods with a Bland Altman plot. The difference between measurement 1 and measurement 2 are non-normally distributed data, therefore, I want to log-transform the data. I get the bias, SD and LOA on the log-transformed data, and can make the BA-plot.&lt;/P&gt;
&lt;P&gt;My problem is when I am transforming back the LOA to original scale, which I want to insert on the original BA-plot, for easier interpretation. How do I calculate the slopes of the LOA and how do I know the intersection with the y-axis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also want to make 95 % CI of the mean difference of this data, how can I do this on log transformed data when I want the 95 % CI to be on the original scale? (for comparison to other normally-distributed data). Or should I just calculate 95 % CI of the mean difference on non-normally distributed data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 05:42:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bland-Altman-plot-Log-transformation-and-back-transformation-of/m-p/307565#M61107</guid>
      <dc:creator>morten1</dc:creator>
      <dc:date>2016-10-27T05:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bland Altman plot: Log-transformation and back transformation of LOA</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Bland-Altman-plot-Log-transformation-and-back-transformation-of/m-p/307641#M61118</link>
      <description>&lt;P&gt;Not sure I understood but I will try to answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;My problem is when I am transforming back the LOA to original scale, which I want to insert on the original BA-plot, for easier interpretation.&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I plot with a log scale i am not doing any transformation, I specify "TYPE=LOG" in my GTL or SGPLOT code, SAS does the job.&lt;/P&gt;&lt;P&gt;Generally speaking avoid any back-transforming of your data, maybe create a macro that does the plot depending of the type of analysis you want (linear or logarithmic).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;"How do I calculate the slopes of the LOA".&lt;/EM&gt;&lt;/U&gt;.. If you mean the regression line use PROC REG:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   ods select none;
   proc reg data=inputDS;
      model yvar = xvar ;
      ods output ParameterEstimates=outputDS;
   run;quit;
   data _null_;
      set outputDS;
      if variable eq 'Intercept' then call symput('Int', put(estimate, BEST.));    
      else            call symput('Slope', put(estimate, BEST.));  
   run;
   ods select all;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;how do I know the intersection with the y-axis?&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" color="#000000" face="Times New Roman"&gt;&lt;I&gt;y = slope*x +intercept&amp;nbsp; &lt;/I&gt;intersection with y-axis is your intercept.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-forum-message-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-20 lia-quilt-column-right lia-quilt-column-main-right"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-rating-metoo lia-component-body"&gt;&lt;P&gt;&lt;U&gt;&lt;EM&gt;I also want to make 95 % CI of the mean difference of this data, how can I do this on log transformed data when I want the 95 % CI to be on the original scale? (for comparison to other normally-distributed data). Or should I just calculate 95 % CI of the mean difference on non-normally distributed data?&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;As I said, avoid back-transforming, calculate the 95%CI on original scale data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 14:06:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Bland-Altman-plot-Log-transformation-and-back-transformation-of/m-p/307641#M61118</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-10-27T14:06:49Z</dc:date>
    </item>
  </channel>
</rss>

