{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# notes2 - Stat 430/Math468 Notes#2 Matrix Algebra and Random...

This preview shows pages 1–2. Sign up to view the full content.

Stat 430/Math468 – Notes #2 Chapter 2 Matrix Algebra and Random Vectors SAS code for histogram, normality test and normal Q-Q plot (dataset is in table 1.5 on page 39.). options formdlim= "*" ; data table1_5; infile 'F:\teachingS2010\T1-5.dat' ; input wind solar co no no2 o3 hc; run ; proc print data =table1_5; run ; proc univariate data =table1_5 normal ; *An option 'normal' is added for normality test; var wind solar co no no2 o3 hc; histogram ; *Plot histogram for each specified variable; qqplot ; *Plot normal Q-Q plot for each specified variable; run ; ***************************************************************************************** The UNIVARIATE Procedure Variable: wind Moments N 42 Sum Weights 42 Mean 7.5 Sum Observations 315 Std Deviation 1.58113883 Variance 2.5 Skewness 0.03887288 Kurtosis -0.9890281 Uncorrected SS 2465 Corrected SS 102.5 Coeff Variation 21.0818511 Std Error Mean 0.24397502 Basic Statistical Measures Location Variability Mean 7.500000 Std Deviation 1.58114 Median 8.000000 Variance 2.50000 Mode 8.000000 Range 5.00000 Interquartile Range 3.00000 Tests for Location: Mu0=0 Test -Statistic- -----p Value------ Student's t t 30.74085 Pr > |t| <.0001 Sign M 21 Pr >= |M| <.0001 Signed Rank S 451.5 Pr >= |S| <.0001 Tests for Normality Test --Statistic--- -----p Value------ Shapiro-Wilk W 0.92487 Pr < W 0.0087 Kolmogorov-Smirnov D 0.147895 Pr > D 0.0210 Cramer-von Mises W-Sq 0.151268 Pr > W-Sq 0.0225 Anderson-Darling A-Sq 0.989113 Pr > A-Sq 0.0125 1

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

notes2 - Stat 430/Math468 Notes#2 Matrix Algebra and Random...

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

View Full Document
Ask a homework question - tutors are online