<?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: problem with output confidence interval using proc means in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71285#M20557</link>
    <description>OUTPUT OUT=tmp N=n1-n38 MEAN=mean1-mean38 STDERR=stderr1-stderr38 LCLM=lclm1-lclm38 UCLM=uclm1-uclm38;</description>
    <pubDate>Fri, 26 Mar 2010 13:25:46 GMT</pubDate>
    <dc:creator>Paige</dc:creator>
    <dc:date>2010-03-26T13:25:46Z</dc:date>
    <item>
      <title>problem with output confidence interval using proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71284#M20556</link>
      <description>Dear SAS users:&lt;BR /&gt;
&lt;BR /&gt;
I am trying to calculate means and confidence intervals for multiple variables (e.g 38 variables), listed in a table as 38 columns. My sas code is attached below. Somehow, the means and std can be calculated and print in the window, but the output file (out=tmp) only shows the result for the first variable V1. I am hoping get some help to have the full table with all the variable in it.The output is as follows:&lt;BR /&gt;
&lt;BR /&gt;
_TYPE_ _FREQ_ n mean stderr lclm uclm&lt;BR /&gt;
0 96 96 2.701145833 0.038329101 2.625052948 2.777238719&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
pharmpk &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
filename datain&lt;BR /&gt;
'd:\ ......csv';&lt;BR /&gt;
&lt;BR /&gt;
data fulldata;&lt;BR /&gt;
infile datain DELIMITER=',';&lt;BR /&gt;
input Prob V1 V2 V3 .....V38;&lt;BR /&gt;
if prob EQ _blank_ THEN delete;&lt;BR /&gt;
drop _blank_;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Proc means data=fulldata alpha=0.05;&lt;BR /&gt;
var V1 V2 V3 .....V38;&lt;BR /&gt;
OUTPUT OUT=tmp N=n MEAN=mean STDERR=stderr LCLM=lclm UCLM=uclm;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 26 Mar 2010 04:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71284#M20556</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-26T04:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: problem with output confidence interval using proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71285#M20557</link>
      <description>OUTPUT OUT=tmp N=n1-n38 MEAN=mean1-mean38 STDERR=stderr1-stderr38 LCLM=lclm1-lclm38 UCLM=uclm1-uclm38;</description>
      <pubDate>Fri, 26 Mar 2010 13:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71285#M20557</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2010-03-26T13:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem with output confidence interval using proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71286#M20558</link>
      <description>You are missing the &amp;lt;(variable)&amp;gt; specification in your OUTPUT statement.  See the documentation and examples.&lt;BR /&gt;
&lt;BR /&gt;
statistic-keyword&amp;lt;(variable-list)&amp;gt;=&lt;NAME&gt; &lt;BR /&gt;
&lt;BR /&gt;
would look like&lt;BR /&gt;
&lt;BR /&gt;
mean(V1 V2)=MeanV1 MeanV2&lt;BR /&gt;
&lt;BR /&gt;
to get means for V1 and V2.&lt;BR /&gt;
&lt;BR /&gt;
If you want one row per variable, use TRANSPOSE first to rearrange and add a CLASS statement to PROC MEANS.&lt;/NAME&gt;</description>
      <pubDate>Fri, 26 Mar 2010 13:27:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71286#M20558</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-03-26T13:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Paige and Doc@Duke</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71287#M20559</link>
      <description>Thank you very much!</description>
      <pubDate>Fri, 26 Mar 2010 15:33:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problem-with-output-confidence-interval-using-proc-means/m-p/71287#M20559</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-26T15:33:04Z</dc:date>
    </item>
  </channel>
</rss>

