Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and...

66
Question 3 RExcel Analysis

description

a. Enter the data into an Excel spreadsheet such that each row contains the data for an unique individual

Transcript of Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and...

Page 1: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Question 3

RExcel Analysis

Page 2: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

1. Double click on the RExcel2007 icon on your desktop to launch R and Excel

Page 3: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

a. Enter the data into an Excel spreadsheet such that each row contains the data for an unique individual

Page 4: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 5: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

b. Produce numerical summary statistics for the height of all children, irrespective of the groupings

Page 6: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Num of observations

Standard Deviation

Page 7: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

c. Explore the data, stratified by the groupings.

Page 8: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 9: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Notice now the variable group is no longer present in the selection box

Page 10: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 11: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

d. Produce informative figures that will aid the understanding of the dataset.

Page 12: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 13: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

An excellent way to observe graphical/preliminary evidence of any differences between the groups!

No comments can be made if the boxes overlap. Only when two boxes (or more not overlap), can we say there is graphical evidence of a difference between the two (or more) groups

Page 14: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Question 3

SPSS Analysis

Page 15: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

1. Double click on the SPSS icon on your desktop or go to START -> All Programs -> SPSS for Windows -> SPSS 14.0

Page 16: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

a. Enter the data into an Excel spreadsheet such that each row contains the data for an unique individual

Page 17: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 18: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 19: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

b. Produce numerical summary statistics for the height of all children, irrespective of the groupings

Page 20: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 21: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Similarities and differences between RExcel and SPSS?

Page 22: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

c. Explore the data, stratified by the groupings.

Page 23: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 24: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 25: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

d. Produce informative figures that will aid the understanding of the dataset.

Page 26: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 27: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 28: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 29: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 30: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 31: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Question 4

Download from http://www.statistics.nus.edu.sg/~statyy/ST1232/bin/mathematics.xls

Page 32: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

How many variables are there?How many observations are there?What are the variable types?Missing values?

Page 33: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

RExcel Analysis

Page 34: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

?????????

Page 35: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 36: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 37: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 38: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(a)

Page 39: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 40: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(b)

Page 41: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 42: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 43: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(c)

Page 44: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 45: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 46: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(d)

Page 47: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 48: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(e)

Page 49: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(f)

Page 50: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 51: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 52: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

Remember to encode both school and sex as factors

(f)

Page 53: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(g)

Page 54: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

SPSS

Page 55: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 56: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 57: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(a)

Page 58: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(b)

Page 59: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 60: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(c)

Page 61: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(d)

Page 62: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(e)

Page 63: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(f)

Page 64: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.
Page 65: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.

(f)

Page 66: Question 3 RExcel Analysis. 1.Double click on the RExcel2007 icon on your desktop to launch R and Excel.