This preview shows pages 1–4. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Rweb:> X < read.table("/tmp/Rdata.19940.data", header=T) Rweb:> attach(X) Rweb:> names(X) [1] "Gender" "Minutes" Rweb:> Rweb:> Rweb:> summary(Minutes) Min. 1st Qu. Median Mean 3rd Qu. Max. 0.00 93.75 120.00 141.20 180.00 360.00 Rweb:> boxplot(Minutes ~ Gender, ylab="Study Time (min/night)", main + = "Boxplot of Study Times by Gender") Rweb:> 3 Images (a) See above. (b) Q1 is 93.75, which means 25% of the data below 93.75. Q3 is 180.00, which means that 25% of the data above 180.00. (c) See above. (d) The distribution for female should be more leftskewed than that for male since the median of female group is close to the 3rd quartile. Besides, all summary statistics of female group are larger than those of male group, indicating that female students spent more time than male ones. 4...
View Full
Document
 Spring '09
 WANG,ZHAN

Click to edit the document details