how can you code the confidence intervals?
Answers were Sorted based on User's Feedback
Answer / kumaraswamy maduri
If your question if How can you code the confidence
intervals for mean then the code will be as follows:
Proc Means
Data = act.admit
Alpha = 0.05
mean std lclm uclm;
var x y;
by z;
run;
If it is for proportions its better to depend up on
standard formulae.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / akanshu
Use proc Univariate with clm option and alpha=
For example -
Proc univariate data=sashelp.class clm alpha=0.05;
Run;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kiran
by using proc ttesat we can get lower and higher confidence
limits
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / abhaya
First find out the mean and variance of data set by proc
univariate then automatically you will get the result of
confidence interval.
| Is This Answer Correct ? | 1 Yes | 4 No |
Answer / tulika
Proc Mean
Data = xyz
Alpha = 0.05
mean std;
var x y;
by x;
run;
| Is This Answer Correct ? | 0 Yes | 3 No |
Can we create datasets by proc step ? (Proc contents, Means)?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
how would you determine the number of missing or nonmissing values in computations? : Sas programming
What is the sas data set? : sas-grid-administration
SAS System ?
How to get top scorer student from a class-table having different sections A,B, C & D? Each section having same number of students.
In the flow of DATA step processing, what is the first action in a typical DATA Step?
how to do user inputs and command line arguments in sas?
Name statements that are recognized at compile time only?
tell me about use of arrays in sas
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.