<?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: Can I get HHMM. formatted output in T test of a time variable? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508450#M72905</link>
    <description>The time variables are formatted in the data step. The FORMAT statement in PROC TTEST has no effect, unfortunately.&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Oct 2018 18:21:04 GMT</pubDate>
    <dc:creator>strufan</dc:creator>
    <dc:date>2018-10-29T18:21:04Z</dc:date>
    <item>
      <title>Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508441#M72899</link>
      <description>&lt;P&gt;I am performing a t-test on two time intervals. The variables are formatted HHMM.&lt;BR /&gt;The output displays as the unformatted SAS time:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;time Mean&lt;BR /&gt;No &lt;STRONG&gt;14859.2&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;Yes &lt;STRONG&gt;28801.9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to get SAS to display the output in HHMM. format, so that the output would look like (and read as time, as in "4 hours and 7 minutes"):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;time Mean&lt;BR /&gt;No &lt;STRONG&gt;4:07&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;Yes&lt;STRONG&gt; 8:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd rather not have to redo it by hand every time if possible. I have tried the FORMAT option on t-test but it had no effect.&lt;/P&gt;&lt;P&gt;Thank you for any ideas.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 18:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508441#M72899</guid>
      <dc:creator>strufan</dc:creator>
      <dc:date>2018-10-29T18:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508443#M72901</link>
      <description>&lt;P&gt;Assign the format in the data step before PROC TTEST. Or use a format statement in PROC TTEST (note: I have not tried this)&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 18:14:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508443#M72901</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-10-29T18:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508450#M72905</link>
      <description>The time variables are formatted in the data step. The FORMAT statement in PROC TTEST has no effect, unfortunately.&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2018 18:21:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508450#M72905</guid>
      <dc:creator>strufan</dc:creator>
      <dc:date>2018-10-29T18:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508454#M72906</link>
      <description>I think you are stuck reformatting at the end or modifying the template but then it's modified for all t-tests. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Oct 2018 18:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508454#M72906</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-29T18:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508548#M72907</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/188317"&gt;@strufan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;The time variables are formatted in the data step. The FORMAT statement in PROC TTEST has no effect, unfortunately.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Send output from Proc Ttest into dataset(s). Then use one of the report procedures, Proc Print, Report or Tabulate to display the result where you have more control.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 23:54:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/508548#M72907</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-29T23:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get HHMM. formatted output in T test of a time variable?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/509875#M72964</link>
      <description>&lt;P&gt;Thanks. I was hoping to avoid that, but it actually was not too difficult with ODS OUTPUT.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 14:14:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-I-get-HHMM-formatted-output-in-T-test-of-a-time-variable/m-p/509875#M72964</guid>
      <dc:creator>strufan</dc:creator>
      <dc:date>2018-11-02T14:14:15Z</dc:date>
    </item>
  </channel>
</rss>

