Archive for March, 2013

MATH 6820 Week12: Multivariate Data

Friday, March 29th, 2013

The dataset UScereal in the MASS package gives eleven variables for a group of 65 breakfast cereals.  Based on the requirement I choose three variables, which are calories, fat and potassium. Later, I construct a scatterplot matrix, a coplot and a spinning 3-dimensional scatterplot for these variables. The first graph is a scatterplot matrix with […]

MATH 6820 Week 11: Time Series

Friday, March 22nd, 2013

As required, I choose one time series data set in the “datasets” package, which is sunspot.year. This data set is yearly sunspots data from 1700 to 1988. Then, I use all four methods to graph the data and explain which method is best for your dataset. From the allowing graphs, we can see an overall […]

MATH 6820 Week 10: Loess

Friday, March 15th, 2013

Loess First, simulates some (x, y) data where the true signal follows one of the curves sin(x)+cos(x), sin(x)-cos(x), sin(x)*cos(x), .28-.88*x-0.03*x^2+.14*x^3. Then we get a list, where d$x is the x values and d$y contains the y values. > head(cbind(d$x,d$y)) [,1] [,2] [1,] -3.141593 -0.7723653 [2,] -3.110019 -1.0347078 [3,] -3.078445 -1.3321508 [4,] -3.046871 -1.9027887 [5,] -3.015297 -1.4537965 […]

MATH 6820 Week 8: Dot Plots

Friday, March 1st, 2013

Find a two-way table (this is a table with a response, like temperature, and row and column classifications, like city and month). The table should have at least 4 rows and at least 4 columns. According to this requirement, I collect data from Ohio Department of Education: http://ilrc.ode.state.oh.us/power_users.asp Data is regard to high school graduate number […]