func - dm 'log;clear;output;clear;'; o options ps=50 ls=75...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
dm 'log;clear;output;clear;'; options ps=50 ls=75 pageno=1; o title1 'STAT 6360'; t *Find the date and time; data time; time_func = time(); hour = hour(time()); minute = minute(time()); second = second(time()); month = month(today()); day = day(today()); year = year(today()); run; title2 'The time is:'; proc print data=time; run; r data set1; input x1 x2 x3; datalines; 1 2 3 4 5 6 ; run; r data set2; set set1; sum1 = sum(x1, x2, x3); sum2 = sum(of x1-x3); max1 = max(x1, x2, x3); max2 = max(of x1-x3); run; title2 'Illustrate the sum and max functions'; proc print data=set2; run; r data set3; input alpha df1 df2; norm = probit(1-alpha); t = tinv(1-alpha, df1); chisq = cinv(1-alpha, df1); f = finv(1-alpha, df1, df2); datalines; 0.01 5 5 0.025 5 5 0.05 5 5 0.10 5 5 ; run; title2 'Percentiles from probability distributions'; proc print data=set3; run; r *Another example; data set4;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
input area_to_left; norm = probit(area_to_left); datalines; 0.975 0.025 ; run; r proc print data=set4; run; r data set5;
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/06/2011 for the course STAT 4360 taught by Professor Park during the Spring '11 term at University of Georgia Athens.

Page1 / 3

func - dm 'log;clear;output;clear;'; o options ps=50 ls=75...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online