An IntRoduction to grey methods by using R

Similar documents
2012 Typhoon Activity Prediction

2011 Typhoon Activity Prediction

Design, Development and Application of Northeast Asia Resources and Environment Scientific Expedition Data Platform

能源化学工程专业培养方案. Undergraduate Program for Specialty in Energy Chemical Engineering 专业负责人 : 何平分管院长 : 廖其龙院学术委员会主任 : 李玉香

The Lagrange Mean Value Theorem Of Functions of n Variables

Measurement of accelerator neutron radiation field spectrum by Extended Range Neutron Multisphere Spectrometers and unfolding program

第五届控制科学与工程前沿论坛 高志强. Center for Advanced Control Technologies

THE INVERSE DERIVATIVE

Application of time-temperature superposition method in thermal aging life prediction of shipboard cables

Rigorous back analysis of shear strength parameters of landslide slip

Cooling rate of water

Integrated Algebra. Simplified Chinese. Problem Solving

La pietra da altre colline può levigare la giada di questa qui Il Classico dei Versi 可 以 攻 玉

Simulation of Construction Process and stability analysis of surrounding rocks at the underground waterway tunnel based on ABAQUS

Tsinghua-Berkeley Shenzhen Institute (TBSI) PhD Program Design

张平文 北京大学数学科学学院科学与工程计算系邮编 : 电话 : 传真 : 电子邮件 个人网页 :

New Newtonian Mechanics and New Laws of Motion

三系杂交棉花粉育性对高温和低温胁迫的反应. Reaction of Pollen Fertility to High or Low Temperature Stresses in CMS-Based Hybrid Cotton 邵明彦 1 张海平 张昭伟 朱云国 袁淑娜 1

上海激光电子伽玛源 (SLEGS) 样机的实验介绍

A new operational medium-range numerical weather forecast system of CHINA. NWPD/NMC/CMA (Beijing,CHINA)

d) There is a Web page that includes links to both Web page A and Web page B.

XING Sheng-Kai LI Yun ZHAO Xue-Zhuang * CAI Zun-Sheng SHANG Zhen-Feng WANG Gui-Chang *

1. Space-based constraints on non-methane VOC emissions in Asia

Riemann s Hypothesis and Conjecture of Birch and Swinnerton-Dyer are False

The Fourth Workshop on Recent Advances in Spectral Methods and Related Applications

Microbiology. Zhao Liping 赵立平 Chen Feng. School of Life Science and Technology, Shanghai Jiao Tong University

Surveying,Mapping and Geoinformation Services System for the Major Natural Disasters Emergency Management in China

数理经济学教学大纲 内容架构 资料来源 : 集合与映射 (JR,pp ) 1. 数学 : 概念 定理 证明, 重在直觉, 多用图形 ; 2. 举例 : 数学例子 ; 3. 应用 : 经济学实例 ;

Establishment and data analysis of sea-state monitoring system along Taiwan coast

通量数据质量控制的理论与方法 理加联合科技有限公司

Recent Physics Results

铁硒超导薄膜的原位制 备和电子结构测量 谢斌平 复旦大学 杭州 2014 全国表面分析应用技术学术交流会及赛默飞世尔科技 XPS 应用及设备维护技术培训班

Application of Argo Data in the Analysis of Water Masses in the Northwest Pacific Ocean

矩阵论 马锦华 数据科学与计算机学院 中山大学

Multivariate Statistics Analysis: 多元统计分析

Solar Radiation Climatology Calculation in China

CAGS. The First Marine Observation Network System: Neptune Canada Submarine Observation Technology. JI Zai-liang 1), DONG Shu-wen 2)

2 Results and Discussion

2012 AP Calculus BC 模拟试卷

A fluorescence polarization immunoassay for the detection of aflatoxins in herbal teas 基于荧光偏振免疫分析技术检测药茶中的黄曲霉素

三类调度问题的复合派遣算法及其在医疗运营管理中的应用

POSTERIOR CRAMÉR-RAO BOUNDS ANALYSIS FOR PASSIVE TARGET TRACKING 1

2018 Mid-Year Examination - Sec 3 Normal (Academic) Editing Skills, Situational Writing Skills, Continuous Writing Skills

2017 East China Normal University workshop on special. functions 地点 : 华东师大数学系办公楼 401 室 9 月 26 日上午

1 The length measurement unit in two difference space-time structures

Influence of surface strain on activity and selectivity of Pd based catalysts for the hydrogenation of acetylene: A DFT study

ILC Group Annual Report 2018

物理化学学报 (Wuli Huaxue Xuebao) Acta Phys. -Chim. Sin. 2014, 30 (11), ,2 杨子祥

Introduction. 固体化学导论 Introduction of Solid State Chemistry 新晶体材料 1976 年中科院要求各教研室讨论研究方向上海硅酸盐所 福州物质所. Textbooks and References

There are only 92 stable elements in nature

Contents. PLUS Factorization of Matrices and Its Applications. 1. Background. 1. Background 2. Main Achievements 3. Applications 4.

第 6 届北京师范大学偏微分方程 研讨会及高级课程

A Study on Dynamics and Problems of Residential Suburbanization in Xi an

Type and Propositions

WANG Pei-yu. School of Foreign Languages, Renmin University of China, Beijing, P. R. China

Explainable Recommendation: Theory and Applications

ILC Group Annual Report 2017

QTM - QUALITY TOOLS' MANUAL.

Breathing New Life into Old Theories

The 2016 Xiamen International Conference on Partial Differential Equations and Applications

第三届全国概率统计青年学者会议 会议日程 2013 年 11 月 1 日 ( 星期五 ) 全天报到 金晨假日酒店 B 座 1 楼大厅 2013 年 11 月 2 日 ( 星期六 ) 上午

沙强 / 讲师 随时欢迎对有机化学感兴趣的同学与我交流! 理学院化学系 从事专业 有机化学. 办公室 逸夫楼 6072 实验室 逸夫楼 6081 毕业院校 南京理工大学 电子邮箱 研 究 方 向 催化不对称合成 杂环骨架构建 卡宾化学 生物活性分子设计

Sino-Deutsch Symposium GZ842 on pi-structured Polymers and Carbon Nanomaterials for Energy Applications. Symposium Program

暗物质 II 毕效军 中国科学院高能物理研究所 2017 年理论物理前沿暑期讲习班 暗物质 中微子与粒子物理前沿, 2017/7/25

个人简历 冯新龙 : 男, 中共党员, 理学博士, 教授, 博士生导师通信地址 : 新疆大学数学与系统科学学院邮编 :830046

Species surface concentrations on a SAPO 34 catalyst exposed to a gas mixture

A new approach to inducing Ti 3+ in anatase TiO2 for efficient photocatalytic hydrogen production

[1] C. YUNHAO, S. PEIJUN, F. TUNG, J. WANG and L. XIAOBING, Object-oriented classification for urban land cover mapping with ASTER imagery,

Backlash analysis of a new planetary gearing with internal gear ring

从事科研工作以来, 在中高能重离子碰撞, 对称能密度依赖性, 强子 ( 反质子 质子 介子等 ) 引起的核反应机制, 超重核反应机制和其结构等方面共发表学术论文 70 余篇, 被引用 800 余次, 其中被 SCI 期刊引用 734 次

复杂航天领域动态 2016 年第 5 期 ( 总第 5 期 ) 2016 年 10 月 本期目录 研究动态: 星上信息处理与应用... 1 星上实时信息处理... 1 嵌入式实时信息处理... 2 星载图像信息处理... 3 天基图像目标检测技术... 4 信息交互...

Thermodynamic model for equilibrium solubility of gibbsite in concentrated NaOH solutions

PREDICTION AND ANALYSIS OF STRUCTURAL NOISE FROM A U-BEAM USING THE FE-SEA HYBRID METHOD

Effect of lengthening alkyl spacer on hydroformylation performance of tethered phosphine modified Rh/SiO2 catalyst

Atmospheric Water Vapor Real-Time Monitoring System in Pearl- River-Delta Region Using GPS/GNSS 珠三角地区基于 GPS/GNSS 技术的大气水汽实时监测系统

Search for the QCD Critical Point - Fluctuations of Conserved Quantities in High-Energy Nuclear Collisions at RHIC. Xiaofeng Luo ( 罗晓峰 )

Factors Driving the Expansion of Construction Land: A Panel Data Study of Districts and Counties in Ningbo City, China

Properties Measurement of H ZZ* 4l and Z 4l with ATLAS

2EX. MAYFLOWER SECONDARY SCHOOL 2018 SEMESTER TWO EXAMINATION Format Topics Comments. Exam Duration Art NA T3 Wk 7 to T4 Wk 2.

International Workshop on Advances in Numerical Analysis and Scientific Computation

时间相关密度泛函理论的发展 及其在重离子碰撞中的应用

YIFEI SUN. Department of Geography California State University Northridge, CA Tel: (818) (o)

Synthesis of anisole by vapor phase methylation of phenol with methanol over catalysts supported on activated alumina

Preparation of LaMnO3 for catalytic combustion of vinyl chloride

The dynamic N1-methyladenosine methylome in eukaryotic messenger RNA 报告人 : 沈胤

Jules Henri Poincaré

Quantitative Assessment of Seismic Mortality Risks in China

第 12 届中国智能系统会议暨纪念人工智能诞生 60 周年

系统生物学. (Systems Biology) 马彬广

强子谱和强子结构研究前沿简介 邹冰松 中国科学院高能物理研究所 中国科学院大科学装置理论物理研究中心

Since the economic boom that started in the

Adrien-Marie Legendre

Yu-Feng LI ( 李玉峰 ) Institute of High Energy Physics, Beijing May 23, The 4th Geo-neutrino Joint Meeting

X 射线和 γ 射线天文观测 王俊贤 中国科技大学天体物理中心

李真江苏南京市卫岗 1 号南京农业大学资环学院办公室 : 资环学院大楼 A Tel: 教育与工作经历 学术兼职与服务 获奖经历

A timed communication behaviour model for distributed systems

国际数值预报现状和发展 沈学顺 中国气象局数值预报中心

2NA. MAYFLOWER SECONDARY SCHOOL 2018 SEMESTER ONE EXAMINATION Format Topics Comments. Exam Duration. Number. Conducted during lesson time

Na LI. Professional Chronology:

Transcription:

An IntRoduction to grey methods by using R Tan Xi Department of Statistics, NUFE Nov 6, 2009 2009-2-5

Contents: A brief introduction to Grey Methods An analysis of Degree of Grey Incidence Grey GM(, ) Model ()Construction (2)Test the accuracy of the model Some Envisions 2009-2-5 2

A brief introduction to Grey Methods Who? Professor Deng! A Chinese! When? Long ago About 970s! What? White, Grey, Black? Application? Many realms! Economics, Physics, Social Science, and the list will go on! 2009-2-5 3

An easy example Step by Step Suppose that the original sequence is Y { 0 = 8, 8.8,6,8, 24, 32 } comparative sequences are :. Y { = 0, 2.2, 9.28, 20.25, 23.4, 30.69 } Y { 2 = 6, 6.35, 6.57, 6.98, 8.35, 8.75} Which of the comparative sequences is much closer to the original series? Y 0 2009-2-5 4

Before computing the exact values, you can get the intuition by looking at the graph. (Ads: Where is Xie? ). 35 30 25 20 5 0 5 GET THE INTUITION 0 2 3 4 5 6 Y0 Y Y2 2009-2-5 5

Step: Initialize all sequences X X X 0 2 = {,.,2,2.25,3,4} = {,.22,.928, 2.205, 2.34, 3.069} = {,.0583,.0950,.633,.397,.4583} Step2 : Compute the absolute subtraction sequences Δ ( k) = Y ( k) Y( k) 0i 0 i 2009-2-5 6

Step3: Compute the two-step minimum and maximum of the absolute subtraction sequences Δ = min min Y ( k) Y( k) = 2.547 min 0 i k i Δ = max max Y ( k) Y( k) = 0 max 0 i k i 2009-2-5 7

Step4: Compute coefficients of Grey incidence Formula: γ ( Y ( k), Y( k)) 0 i Δ + ρ Δ min max = Δ oi ( k) + ρ Δ max of which the distinguishing coefficient is 0.5. ρ 2009-2-5 8

Step5: Compute the degree of Grey incidence 0 n γ( Y, Y) = γ( Y ( k), Yi( k)) 0 i 0 n k = γ ( Y, Y) = 0.825 Y0 Y2 γ (, ) = 0.6444 And so our intuition is right! The computed results show that Y 0 is much more closer to Y than to Y 2, which is in coincidence with our intuition! 2009-2-5 9

Recap: Initialize all sequences. Compute the absolute subtraction sequences Δ ( k) = Y ( k) Y( k) 0i 0 Compute the two-step minimum and maximum of the absolute subtraction sequences Δ = minmin Y ( k) Y( k) Δ max = maxmax Y0 ( k) Yi ( k) min 0 i k Compute coefficients of Grey incidence i Δ + ρ Δ γ ( Y ( k), Y( k)) = Δ + Δ min max 0 i oi ( k) ρ max 2009-2-5 0 i i k

Recap: Bingo!! Compute the degree of Grey incidence: n γ( Y, Y) = γ( Y ( k), Yi( k)) 0 i 0 n k = 2009-2-5

All steps in one function Are you bored or puzzled with these steps?? Alternatives: The first: R functions! I ve involved all preceding steps in one function: 灰色关联分析函数.R I ll show you how to use it! The second: Click-Mouse Statistical Packages It s your choice! It s all up to you! For R-Users?? 2009-2-5 2

GM(, )Model GM(, ) type of Grey model is the most widely used in the literature, pronounced as Grey Model First Order One Variable. This model is a time series forecasting model. The differential equations of the GM(, ) model have time-varying coefficients. 2009-2-5 3

How to construct the GM(,) Model? Consider a time sequence X (0), which has n observations, X (0) = { X (0) (), X (0) (2),, X (0) ( n)} When this sequence is subjected to the Accumulating Generation Operation (AGO), the following sequence X () is obtained where () X = X () X () X () n { (), (2),, ( )} k () X k = X (0) i ( ) ( ) i= 2009-2-5 4

How to construct the GM(,) Model? The grey difference equation of GM(,) is defined as follows: dx dt () () + = μ ax The least square estimate sequence of the grey difference equation of GM(,) is defined as follows: a μ ˆ α = = ( ) T T BB BY n 2009-2-5 5

How to construct the GM(,) Model? Solve the grey difference equation of GM(,), the predicted GM(,) Model can be obtained: μ X k X e a ˆ () (0) ak ( + ) = () + To obtain the predicted value of the primitive data at time ( k+ H), the IAGO is used to establish the following grey model: (0) (0) b a( k+ H ) a X p ( k+ H) = [ X () ] e ( e ) a μ a 2009-2-5 6

How to test the accuracy of the GM(,) Model? Residual Tests () i X () i Xˆ () i i,2,, n (0) (0) (0) Δ = = (0) Δ () i Φ ( i) = 00% i =, 2,, n (0) X () i 2009-2-5 7

How to test the accuracy of the GM(,) Model? The Test of the degree of Grey incidence γ = n n ˆ (0) (0) ˆ (0) (0) ( X, X ) γ( X ( i), X ( i)) i= According to experience, the GM(,) Model is qualified if ˆ (0) (0) γ ( X, X ) > 0.6 ρ = 0.5, when. 2009-2-5 8

How to test the accuracy of the GM(,) Model? C and P Criteria S = [ X ( i) X ] (0) (0) 2 n S 2 = [ Δ ( i) Δ ] (0) (0) 2 n S S = 2 C= 0.0887908 P = p Δ i Δ < S (0) (0) { ( ) 0.6745 } 2009-2-5 9

How to test the accuracy of the GM(,) Model? C and P Criteria 2009-2-5 20

An easy example executed by R Program Suppose the original sequence is: Construct the GM(,) Model and predict the values of 7~th Periods. R program : GM(,) 模型建立 检验和预测.R 2009-2-5 2

Step: Construct the AGO sequence: Step2: Construct the matrix B and the vector Y n () () [ () (2)] X + X 2 () () [ (2) (3)] X + X -42.45 2-74.60 () () B = [ X (3) + X (4)] = -08.05 2-43.00 () () [ X (4) + X (5)] -79.65 2 () () [ (5) (6)] X + X 2 (0) X (2) 3.5 (0) X (3) 32.8 = = (0) X (4) 34. (0) X (5) 35.8 (0) X (6) 37.5 2009-2-5 22 Y n

T Step3: Compute B B, ( T ) and BY. B B T n T 7765.09-547.75 B B = -547.75 5.00 T 0.000085 0.00936 ( BB) = 0.00936.22059 T BY n -0.043804 = 29.54220 Step4: Solve the vector of parameters by using the least square estimate. ˆ α = -0.043804 29.54220 a = -0.043804 μ = 29.54220 2009-2-5 23

Step5: Construct the GM(,) prediction Model dx dt dx dt () () () + =μ ax () 0.043804 29.54220 X = ˆ () (0) μ ak μ X ( k+ ) = X () e + a a (0) μ X () = 26.7, = -674.3883 a So the GM(,) prediction model is: ˆ () 0.043804k ( ) 70.0883-674.3883 X k+ = e 2009-2-5 24

Test the accuracy of the GM(,) Model Residual Test 2009-2-5 25

Residual Test 2009-2-5 26

The Test of the degree of Grey incidence γ X X = γ X i X i = n n ˆ (0) (0) ˆ (0) (0) (, ) ( ( ), ( )) 0.709 i= 2009-2-5 27

C and P Criteria S (0) (0) 2 [ X ( i) X ] = = n 3.775006 S 2 2 C= 0.0887908 (0) (0) 2 [ Δ ( i) Δ ] = = 0.0726863 n S S = 0 S = 2.54624 ei =Δ () i Δ (0) (0) = {0.06202667, 0.04460833, 0.062567, 0.057533, 0.05980467, 0.03259733} P = p Δ i Δ < S = (0) (0) { ( ) 0.6745 } 2009-2-5 28

GM(,) Model can be used to predict. 2009-2-5 29

R package? Some Envisions Any existing R package? Or can we write the first one? Collaboration More R programs and R Functions On grey methods? 2009-2-5 30

Reference: [] 邓聚龙, 灰理论基础 [M]. 上海 : 华中科技大学出版社, 2003. [2] 刘思峰, 谢思明, 灰色系统理论及其应用 [M]. 北京 : 科学出版社,2008. [3] 王庚, 现代数学建模方法 [M]. 北京 : 科学出版社,2008. [4] 徐国祥, 统计预测与决策 [M]. 上海 : 上海财经大学出版社,2005. [5] Erdal Kayacan, Baris Ulutas, Okyay Kaynak, Grey system theory-based models in time series prediction[j]. Expert Systems with Applications, 200:784 789. 2009-2-5 3

Acknowledgements I am grateful to all members of COS, without your excellent work, no R conferences could be held currently in China. I am also grateful to Professor Wang Gen for his help and suggestions on this topic. And thank everyone here for your patient listening and welcome any suggestions. 2009-2-5 32

Thank you! Contact Information: Tel: 3770636679 Email: xitannj@gmail.com 2009-2-5 33