<?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: How to Match one Histogram/Distribution to another Histogram/Distribution?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919621#M362216</link>
    <description>&lt;P&gt;Are you requesting how to change the values of your variable(s) to a normal distribution or close to it? Or how to change the graph so the tails on the outliers to right do not appear?&lt;/P&gt;
&lt;P&gt;If it is to change the appearance of the graph then you should provide the code you are currently using to create the graph so we can make informed suggestions. While a "picture is worth a thousand words" the picture can't actually show us things like the options used in code.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2024 07:37:07 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2024-03-09T07:37:07Z</dc:date>
    <item>
      <title>How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919620#M362215</link>
      <description>&lt;P&gt;I get one histogram/distribution, which is good and close to Normal (see blow).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wt_A.jpg" style="width: 674px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94531i7D74585C38F434B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="wt_A.jpg" alt="wt_A.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get another one, which is not good and skewed heavily. (see below).&lt;/P&gt;
&lt;P&gt;How to convert this histogram/distribution to the one above, but mapping/changing value?!&lt;/P&gt;
&lt;P&gt;Code, or Logic?!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wt_B.jpg" style="width: 674px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94532i9DE819CF18EFD551/image-size/large?v=v2&amp;amp;px=999" role="button" title="wt_B.jpg" alt="wt_B.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 03:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919620#M362215</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2024-03-09T03:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919621#M362216</link>
      <description>&lt;P&gt;Are you requesting how to change the values of your variable(s) to a normal distribution or close to it? Or how to change the graph so the tails on the outliers to right do not appear?&lt;/P&gt;
&lt;P&gt;If it is to change the appearance of the graph then you should provide the code you are currently using to create the graph so we can make informed suggestions. While a "picture is worth a thousand words" the picture can't actually show us things like the options used in code.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 07:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919621#M362216</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-09T07:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919625#M362219</link>
      <description>I need change the values of  variable(s) to a  perfect/theoretical normal distribution or close to it.&lt;BR /&gt;Better if Lamda Distribution due to non-zero. &lt;BR /&gt;&lt;BR /&gt;By indexing, I know how to map A to B already.</description>
      <pubDate>Sat, 09 Mar 2024 09:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919625#M362219</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2024-03-09T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919626#M362220</link>
      <description>Or simply how to generate the cumulative value of a perfect normal distribution, what function?&lt;BR /&gt;&lt;BR /&gt;By indexing, I can map it.</description>
      <pubDate>Sat, 09 Mar 2024 09:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919626#M362220</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2024-03-09T09:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919629#M362222</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;You can standardize to&amp;nbsp;a Given Mean and (given) Standard Deviation, but that does not make it 'normal' of course.&lt;BR /&gt;Base SAS Procedures Guide&lt;BR /&gt;STANDARD Procedure&lt;BR /&gt;Example 1: Standardizing to a Given Mean and Standard Deviation&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p10clalffl60gsn1f2h17q0yf5k0.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p10clalffl60gsn1f2h17q0yf5k0.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Your best bet is probably the &lt;STRONG&gt;Box-Cox near-normality transformation&lt;/STRONG&gt;.&lt;BR /&gt;Visit this page :&lt;BR /&gt;SAS/STAT 15.3 User's Guide&lt;BR /&gt;The TRANSREG Procedure&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_transreg_details02.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_transreg_details02.htm&lt;/A&gt;&lt;BR /&gt;... then scroll down to : &lt;BR /&gt;"The next example shows how to find a Box-Cox transformation without an independent variable. This seeks to &lt;STRONG&gt;normalize the univariate histogram&lt;/STRONG&gt;."&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Good luck,&lt;BR /&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 11:13:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919629#M362222</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-03-09T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Match one Histogram/Distribution to another Histogram/Distribution?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919630#M362223</link>
      <description>&lt;P&gt;I think you will have to resort anyway to:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Box-Cox or Yeo-Johnson transformations&lt;/STRONG&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;See here:&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;The Box-Cox and Yeo-Johnson transformations for continuous&amp;nbsp;variables&lt;BR /&gt;&lt;A href="https://statisticaloddsandends.wordpress.com/2021/02/19/the-box-cox-and-yeo-johnson-transformations-for-continuous-variables/" target="_blank"&gt;https://statisticaloddsandends.wordpress.com/2021/02/19/the-box-cox-and-yeo-johnson-transformations-for-continuous-variables/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I also have SAS-code for that Yeo-Johnson transformation ... but cannot spot it right now.&lt;/P&gt;
&lt;P&gt;For Box-Cox code, see the post just above (with link to SAS doc).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 11:24:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Match-one-Histogram-Distribution-to-another-Histogram/m-p/919630#M362223</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-03-09T11:24:12Z</dc:date>
    </item>
  </channel>
</rss>

