<?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: computing the weights of categorical variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148660#M7824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC FREQ will certainly do something to give percentages, although they won't be beta-hats, or weights. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what good this will do, though.&amp;nbsp; What is the dependent variable?&amp;nbsp; Is it volume?&amp;nbsp; Do you wish to predict volume, given a day-month-year?&amp;nbsp; What are you going to do about trends/seasonality/autocorrelation?&amp;nbsp; I think a time series analysis might be of far more utility. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information on the proposed analysis would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 20:11:01 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-11-20T20:11:01Z</dc:date>
    <item>
      <title>computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148657#M7821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dependent continuous variable&amp;nbsp; and 3 dependet categorical variables (for instance - day in week(1-7), day in month (1-31), and month (1-12))&lt;/P&gt;&lt;P&gt;and I want to know according history data - what weight to give to each level in each category so I can predict the dependent continous variable based on the day.&lt;/P&gt;&lt;P&gt;The wight needs to be in precentage.&lt;/P&gt;&lt;P&gt;I made proc glm on the three variables and got a significancy in every one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I determine what precentage to give to each level of each variable, what test / procedure will give me that precentages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Liat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 17:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148657#M7821</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-19T17:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148658#M7822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Generalized Additive Model is another choice. Smoothing and other flexibility in modeling is all in PROC GAM. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148658#M7822</guid>
      <dc:creator>MohammadFayaz</dc:creator>
      <dc:date>2013-11-20T15:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148659#M7823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer. But I dont understand,&amp;nbsp; Can you be more specific?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the data for example -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;volume , day_in_week, day_in_month, month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1200,1,24,11&lt;/P&gt;&lt;P&gt;801,4,31,7&lt;/P&gt;&lt;P&gt;600,7,5,2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use Proc GLM it gave me beta estimatores for dummi variables so it is already include the volume&lt;/P&gt;&lt;P&gt;my line looks like this where X1=X2=X3=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y= intercept+ b1*X1+b2*X2+b3*X3&lt;/P&gt;&lt;P&gt;So I cannot user the beta estimatores as precentage.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What proc will out[ut the bet's as a precentage and not as a number of volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 15:25:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148659#M7823</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-20T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148660#M7824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC FREQ will certainly do something to give percentages, although they won't be beta-hats, or weights. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what good this will do, though.&amp;nbsp; What is the dependent variable?&amp;nbsp; Is it volume?&amp;nbsp; Do you wish to predict volume, given a day-month-year?&amp;nbsp; What are you going to do about trends/seasonality/autocorrelation?&amp;nbsp; I think a time series analysis might be of far more utility. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information on the proposed analysis would be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 20:11:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148660#M7824</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-11-20T20:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148661#M7825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven, here is answers for your questions -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the dependent variable?&amp;nbsp; Volume&lt;/P&gt;&lt;P&gt;Is it volume?&amp;nbsp; Yes&lt;/P&gt;&lt;P&gt;Do you wish to predict volume, given a day-month-year?&amp;nbsp; Yes, exactly.&lt;/P&gt;&lt;P&gt;What are you going to do about trends/seasonality/autocorrelation? I was thinking of adding another indicator variables for fast day and&amp;nbsp; and holiday day. which will take care of the seasonality and the rest the model will deal/find. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 20:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148661#M7825</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-20T20:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148662#M7826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Clarifications - I&lt;/SPAN&gt;&lt;/SPAN&gt; wish to predict volume, given a day-month-year + day in week (sunday/monday/...and holiday indicator)&lt;/P&gt;&lt;P&gt;looking to know what weight contribute each of the component (all categorical variables). &lt;/P&gt;&lt;P&gt;As the volume is not &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;necessarily &lt;/SPAN&gt;&lt;/SPAN&gt;spread uniqly (linear) throw the month. for example: if I'm at the begining of the month I might see a bad picture of what it may look at the end of the month. So I'm looking for some beta-hats, or weights for the day/month/day_in_week&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 21:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148662#M7826</guid>
      <dc:creator>Liat</dc:creator>
      <dc:date>2013-11-20T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: computing the weights of categorical variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148663#M7827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is starting to sound like a combination time-series/data mining problem.&amp;nbsp; I'm going to have to defer to others for an approach.&amp;nbsp; You may wish to post a similar question in the SAS Forecasting and Econometrics forum, where you may get eyes on the problem from those who deal with this sort of data more regularly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 14:42:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/computing-the-weights-of-categorical-variables/m-p/148663#M7827</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-11-21T14:42:09Z</dc:date>
    </item>
  </channel>
</rss>

