<?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: Format for MEAN under SEG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105313#M9184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Marie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me like you're using your time variable as an "Analysis variable / VAR", not as a "Classification variable / CLASS" (I only have English&amp;nbsp; EG installed). If this is the case, I tried a couple of tests, and I agree with you that there doesn't seem to be a way to assign a format to the statistical results of PROC MEANS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, is that what you're actually trying to do? In other words, are you trying to obtain an "average time" from your task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, are you getting displayed results from your task, or are you saving your statistics to a dataset. If you're saving to a dataset, it's easy to apply your format after your PROC MEANS run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, I suggest sending your problem to SAS Technical Support. They are excellent at this kind of thing, and if there's a way to do it using the task in Enterprise Guide, they'll be able to tell you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2012 15:36:35 GMT</pubDate>
    <dc:creator>TomKari</dc:creator>
    <dc:date>2012-10-24T15:36:35Z</dc:date>
    <item>
      <title>Format for MEAN under SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105312#M9183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using SAS under EG and I have a format problem with the mean procedure etc (descriptive statistics in french)...&lt;/P&gt;&lt;P&gt;It works fine with most of my variables but there is a problem with a variable in HHMM5. format (a time set in hours and minutes): the results are not in the same format, it uses what I think is the SAS format for date and time. When the mean should be something around 3:00 (3 hours)&amp;nbsp; the result is "11254.67". How can I translate it? The format is finely applied in the table but not in the MEAN report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help or hints!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 14:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105312#M9183</guid>
      <dc:creator>marieamure</dc:creator>
      <dc:date>2012-10-24T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Format for MEAN under SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105313#M9184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Marie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks to me like you're using your time variable as an "Analysis variable / VAR", not as a "Classification variable / CLASS" (I only have English&amp;nbsp; EG installed). If this is the case, I tried a couple of tests, and I agree with you that there doesn't seem to be a way to assign a format to the statistical results of PROC MEANS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, is that what you're actually trying to do? In other words, are you trying to obtain an "average time" from your task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, are you getting displayed results from your task, or are you saving your statistics to a dataset. If you're saving to a dataset, it's easy to apply your format after your PROC MEANS run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, I suggest sending your problem to SAS Technical Support. They are excellent at this kind of thing, and if there's a way to do it using the task in Enterprise Guide, they'll be able to tell you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:36:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105313#M9184</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2012-10-24T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Format for MEAN under SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105314#M9185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sufficiently familiar with EG to give you direction on how to solve your problem, but it looks like you are trying to average a time variable, i.e., the number of seconds that the time represents.&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;11254.67&lt;/SPAN&gt;/(60*60) would equal (approximately) 3 hours.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105314#M9185</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-24T15:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Format for MEAN under SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105315#M9186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes this is what I am trying to do, and that is obtaining an average time from the variable "time spent on site" in hours and minutes.&lt;/P&gt;&lt;P&gt;I was only displaying the statistical results in a report.&lt;/P&gt;&lt;P&gt;But now I have tried to save them in a dataset as you suggested, and the results for that variable appear in the right format HHMM5. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks a lot!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 15:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105315#M9186</guid>
      <dc:creator>marieamure</dc:creator>
      <dc:date>2012-10-24T15:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Format for MEAN under SEG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105316#M9187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still suggest submitting the question to SAS Tech Support. If there's a way to format the result from PROC MEANS, I guarantee they'll find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One caution; make sure that your variable is a SAS TIME variable, not a DATETIME variable, or you'll get terrible results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One trick I've used in the past on summarized results datasets is to process them with PROC TABULATE (the Summary Tables task). You can get very pleasing results this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 17:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Format-for-MEAN-under-SEG/m-p/105316#M9187</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2012-10-24T17:11:27Z</dc:date>
    </item>
  </channel>
</rss>

