Ou, Xinhua
996136884
STA 137 Final Project
Introduction:
In this project, a data set consists of monthly car sales in Quebec from 1960 to
1968 are used to perform time and frequency domain analysis. The dataset is obtained
from Rob J Hyndmans web page, un
Stat 137
Chan Lam Leong
Xiao Lin
Zhentong Lu
Homework 1
1)
6
4
0
2
frequency
8
4
0
10 20
30 40
50
60 70
80
1.0
1.5
2.0
2.5
Dataset$Serum.creatinine.concentration
The histogram is slightly skewed to the
lef
The histogram is mostly skewed to the
right
0
6
4
Project I
Chan Lam Leong
Xiao Lin
Zhentong Lu
STA 137
Professor: Burman
Introduction:
The data set is on Boston Armed Robberies from January 1966 to October 1975. This is
clearly a time series because it is a set of data observed over time. It is importan
Stat 137
Xiao Lin
Chan Lam Leong
Zhentong Lu
Homework 4
2) a.
The ACF plot shows a downtrend, and all of the lags are on the same side. The PACF plot
shows tail off begin from lag 2, and the first two lags are in the same direction.
b.
The ACF plot shows
Stat 137
Chan Lam Leong
Xiao Lin
Zhentong Lu
Homework 3
1.
a)
b)
Because the AICC in model 5 is smallest which is equal -3.157144, then we choose Model 5, q=4
The graph is below:
c)
2.
a)MA(1), =0.8
b) MA(2), 1=0.4, 2=-0.6
c) AR (2) with 1=0.5, 2=-0.6
d)
Project I
Chan Lam Leong
Xiao Lin
Zhentong Lu
STA 137
Professor: Burman
Introduction: The data set is on Boston Armed Robberies from January 1966 to October
1975. This is clearly a time series because it is a set of data observed over time. The
intention
Stat 137
Chan Lam Leong
Xiao Lin
Zhentong Lu
Homework 2
1 (a)
> 1-sum(fit$residuals^2)/(112*var(Data$production)
[1] 0.993933, so R2 is 0.993933
(b)
> 1-sum (fit$residuals^2)/(112*var(Data$LNY)
[1] 0.9970717 so R2 is 0.9970717
I would work with the data w
Notes for Homework 1
April 18, 2013
1
Histograms
data = read.table("example.txt",header=TRUE)
hist(data[,2])
2
Matrix Plots
To show a matrix plot of the rst ve variables
plot(data[,c(1,2,3,4,5)])
3
Linear Model
fit = lm(data$PBE~data$YEAR+data$CBE+data$PP
Students: Ou, Xinhua
Chan, Tze-Kit Hanson
Date: 5/24/2012
Statistics 137 Project 2
Introduction: Statement of the Problem
In an industrialized country, we often use time series data to analyze the birthrate
of women over time. We wish to measure the birth
Ou, Xinhua
Chan, Tze-Kit Hanson
Introduction
In the financial world, we are always using time series data to analyze stocks
performances, and financial analysts use moving averages or other indicators, in order
to precisely predict the future direction of
Ou, Xinhua
996136884
STA 137 midterm project
Introduction:
We are interested to analyze the relationship between Monthly legal handgun sales and
firearms related deaths in California over a time period. The interest of analysis is relevant
because of the
Stat 137
Xiao Lin
Chan Lam Leong
Zhentong Lu
Take home Midterm
a)
Do Box-Cox transformation:
Based on observation, the model log chicago displays fluctuations that seem to be almost
the same over time. The rest of the models display larger variation in fl