how to perform paired t-test using Base/SAS & SAS/Stat?

Answers were Sorted based on User's Feedback



how to perform paired t-test using Base/SAS & SAS/Stat?..

Answer / mili

proc ttest data=a;
paired var1 var2;
run;

Is This Answer Correct ?    7 Yes 4 No

how to perform paired t-test using Base/SAS & SAS/Stat?..

Answer / shwetha

I tried the above code.But it worked after I gave * or :
between var1 and var2.

proc ttest data=a;
paired var1:var2;
run;

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More SAS Interview Questions

proc means? proc sort? proc append? proc freq? proc print? proc content?

4 Answers   Oracle,


Explain what is the use of proc gplot?

0 Answers  


State the difference between INFORMAT and FORMAT ?

0 Answers  


What are the ways to do a “table lookup” in sas?

0 Answers  


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,






if reading an external file to produce an external file, what is the shortcut to write that record without coding every single variable on the record

4 Answers   HSBC,


How could you generate test data with no input data?

14 Answers   CTS,


How to limit decimal places for the variable using proc means?

0 Answers  


Difference Between Scan and Substr

2 Answers  


name the scheduler for scheduling job and explain the scheduler? : Sas-di

0 Answers  


Mention common programming errors committed in sas ?

0 Answers  


what is the function of catx syntax? : Sas-administrator

0 Answers  


Categories