Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Confidence interval

Status
Not open for further replies.

maonome

Instructor
Apr 15, 2009
2
CA
I am work with a large amount of data and am trying to isolate the values that are outside the range of the confidence interval. But I am only getting values that are above the upper "line" and not below the lower "line". Would really appreciate any help.


upper=UCL lower=LCL, logW = log of the weight, logL = log of the length

proc print data=bpout;
by species;
where logW<upper;
where logL>lower;
run;
 
Try this:-
Code:
proc print data=bpout;
by species;
where logW<upper AND logL>lower;
run;
I'd think if you do two WHERE statements, only the last one gets evaluated...

Chris
Business Analyst, Code Monkey, Data Wrangler.
SAS Guru.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top