Date: Mon, 1 May 2006 10:41:03 -0400
Reply-To: SUBSCRIBE SAS-L Anonymous <sas_use@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: SUBSCRIBE SAS-L Anonymous <sas_use@YAHOO.COM>
Subject: Re: Confidence Interval
Hi Toby,
Thanks for helping me out.
WHen i run this code it gives me an error. It doesn't recognize clm in the
third line. I m using 8.2 version...cud that be the problem?
This is the message i got.
NOTE: SCL source line.
2340 output out=cintv clm (Perc)=PerkClm;
---
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, (, /, CSS,
CV, IDGROUP, IDGRP, KURTOSIS, LCLM, MAX, MAXID,
MEAN, MEDIAN, MIN, MINID, N, NMISS, OUT, P1, P10, P25, P5,
P50, P75, P90, P95, P99, PROBT, Q1, Q3, QRANGE,
RANGE, SKEWNESS, STDDEV, STDERR, SUM, SUMWGT, T, UCLM, USS,
VAR.
ERROR 76-322: Syntax error, statement will be ignored.
On Mon, 1 May 2006 14:15:50 +0000, toby dunn <tobydunn@HOTMAIL.COM> wrote:
>Anonymous ,
>
>Try the following:
>
>proc means
> data = calc CLM alpha = 0.05 ;
> var perc ;
> output out = cintv clm(Perc) = PerkClm ;
>run ;
>
>Should put the confidense interval in the output data set with a name of
>PerkClm.
>
>
>Toby Dunn
>
>
>
>
>
>From: SUBSCRIBE SAS-L Anonymous <sas_use@YAHOO.COM>
>Reply-To: SUBSCRIBE SAS-L Anonymous <sas_use@YAHOO.COM>
>To: SAS-L@LISTSERV.UGA.EDU
>Subject: Confidence Interval
>Date: Mon, 1 May 2006 09:59:36 -0400
>
>Hello everyone,
>I have to calculate the Confidence Interval and i m not sure what am i
>doing wrong coz when i put it in PROC MEANS i get nothing.
>
>I have to compute the CI for just a number. This number is a the
>percentage of people who took the test out of all the students.
>So say i have
>
>perc=took_test/all*100;
>
>Now i have to calculate its Confidence interval.
>
>I was doing
>
>proc means data=calc CLM alpha=0.05;
>var perc;
>output out=cintv;
>run;
>
>But this doesn't give me the CI.
>
>Can someone plz help me out.
>
>Thanks in advance.
|