test- solution

# test- solution - UNIVERSITY OF HONG KONG DEPARTMENT OF...

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

UNIVERSITY OF HONG KONG DEPARTMENT OF STATISTICS AND ACTUARIAL SCIENCE STAT1303 DATA MANAGEMENT (SEMESTER 1 2009/2010) Suggested Solutions of Class Test Question 1 n TEMP (a) data Q1.perform; input ID 1-3 DOE date9. Name \$11. Dept \$ 25-30 Section \$ 31-31 group\$ 32-32 perform 33-36 salary comma7.; format doe date9.; run; (b) data Q1.perform; input ID 3. DOE date9. Name \$11. @25 Dept \$6. @31 Section \$1. @32 group \$1. @33 perform 4. salary comma7.; format doe date9.; run; Question 2 (a) proc univariate data=fertilizer normal; var height; where (fertilizer=1); run; proc univariate data=fertilizer normal; var height; where (fertilizer=2); run; Alternatively, the following SAS codes can also be used. proc sort data=fertilizer; by fertilizer; run; proc univariate data=fertilizer normal; var height; by fertilizer; run; (b) For fertilizer = 1 , mean = 51 : 91 , SD = 3 : 3703 , skewness = 0 : 6000 , kurtosis = & 0 : 2954 . Since skewness > 0, positively skewed and the distribution has thicker 1

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

View Full Document
tails on the positive side. Also, since kurtosis
This is the end of the preview. Sign up to access the rest of the document.

## This document was uploaded on 05/04/2011.

### Page1 / 4

test- solution - UNIVERSITY OF HONG KONG DEPARTMENT OF...

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

View Full Document
Ask a homework question - tutors are online