<?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 Is there a way to scale two variables in order to match the target variable? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-scale-two-variables-in-order-to-match-the/m-p/887119#M350520</link>
    <description>&lt;P&gt;I've been working on a clustering project where I cluster customers based on their thresholds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Distance from centroid:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Avg TH for Cluster:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Target:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;0.0617&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8977&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal of this project is to be able to predict thresholds for a customers based on their cluster average threshold and the distance from that cluster's centroid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the above example, when scaled the values would look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Distance from centroid:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Avg TH for Cluster:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Target:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;0.89&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8977&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(0.89) * 8977 = 8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there is an obvious scaling issue between the distance from centroid values and the average threshold per cluster value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've explored Proc Transgres and OPSCAL, however I am not sure how I can incorporate the multiplication of the two values to get the target value.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 15:37:20 GMT</pubDate>
    <dc:creator>JeremySmith</dc:creator>
    <dc:date>2023-07-31T15:37:20Z</dc:date>
    <item>
      <title>Is there a way to scale two variables in order to match the target variable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-scale-two-variables-in-order-to-match-the/m-p/887119#M350520</link>
      <description>&lt;P&gt;I've been working on a clustering project where I cluster customers based on their thresholds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Distance from centroid:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Avg TH for Cluster:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Target:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;0.0617&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8977&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal of this project is to be able to predict thresholds for a customers based on their cluster average threshold and the distance from that cluster's centroid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the above example, when scaled the values would look like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Distance from centroid:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Avg TH for Cluster:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Target:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;0.89&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8977&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(0.89) * 8977 = 8000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, there is an obvious scaling issue between the distance from centroid values and the average threshold per cluster value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've explored Proc Transgres and OPSCAL, however I am not sure how I can incorporate the multiplication of the two values to get the target value.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-scale-two-variables-in-order-to-match-the/m-p/887119#M350520</guid>
      <dc:creator>JeremySmith</dc:creator>
      <dc:date>2023-07-31T15:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to scale two variables in order to match the target variable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-scale-two-variables-in-order-to-match-the/m-p/887138#M350521</link>
      <description>By "Transgres" did you mean Transreg?&lt;BR /&gt;&lt;BR /&gt;Perhaps STDIZE before the clustering?</description>
      <pubDate>Mon, 31 Jul 2023 16:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-way-to-scale-two-variables-in-order-to-match-the/m-p/887138#M350521</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-07-31T16:52:25Z</dc:date>
    </item>
  </channel>
</rss>

