当前位置:网站首页>A commonly used statistical modeling method -- difference analysis
A commonly used statistical modeling method -- difference analysis
2022-06-25 12:19:00 【Halosec_ Wei】
1、 effect
Difference , In essence, it is the next value minus the previous value , It is mainly to eliminate some fluctuations and make the data tend to be stable , Nonstationary sequences can be obtained by Differential transformation Into a stationary sequence .
2、 Input / output description
Input :1 Time Quantitative variables of sequence data
Output : After the specified order difference Sequence diagram
3、 Learning Websites
SPSSPRO- Free professional online data analysis platform
4、 Case example
Case study : Based on a magazine 1995-2019 Annual printing volume data , The first-order difference and the second-order difference are carried out respectively .
5、 Case data

Differential analysis of case data
6、 Case operation

Step1: New analysis ;
Step2: Upload data ;
Step3: Select the corresponding data to open and preview , Click start analysis after confirmation ;

step4: choice 【 Differential analysis 】;
step5: View the corresponding data format ,【 Differential analysis 】 Request input 1 Quantitative variables of time series data .
step6: Set the difference order ( Be careful : Select the differential class , Generally speaking, more than the second-order difference has no reference significance in statistics )
step7: Click on 【 To analyze 】, Complete the operation .
7、 Output result analysis
Output results 1: Original sequence diagram

Chart description : The figure above shows the original figure without difference . among X The axis represents the time item ( year ),Y The axis represents the value ( Magazine print volume ). Subjectively , The original sequence diagram has an increasing trend , Is a nonstationary sequence . We need to convert the non-stationary original sequence diagram into a stationary sequence by difference .
Output results 2: First order difference graph

Chart description : The figure above shows the result of the first-order difference . When the time intervals are equal , Use the next value , Subtract the previous value , Get the first-order difference . Subjectively , The first-order difference sequence is numerically 1.5 Up and down , There is no obvious increasing and decreasing trend , It is preliminarily judged that the first-order difference sequence is a stationary sequence . In order to avoid artificial subjective judgment , Can pass ADF The unit root test is used to judge whether the first-order difference sequence is stable .
Output results 3: Second order difference graph

Chart description : The figure above shows the result of the second-order difference . Do the same action twice , That is, on the basis of the first-order difference, the latter value is subtracted by another value , Call “ Second order difference ”. For the stationary test of the second order difference sequence , Can pass ADF The unit root test is used to judge whether the second-order difference sequence is stable .
8、 matters needing attention
- In general, you can go through ADF Test to quantitatively evaluate the numerical difference , Whether there is stability
9、 Model theory


10、 reference
[1] Yao Zhipeng , He Dan , Cui Wei . Differential and integral calculus : Central China Normal University Press ,2015.05
边栏推荐
- Why can't you Ping the website but you can access it?
- An easy-to-use seal design tool - (can be converted to ofd file)
- The cloud native data lake has passed the evaluation and certification of the ICT Institute with its storage, computing, data management and other capabilities
- 为什么ping不通网站 但是却可以访问该网站?
- 网络 | 衡量网络好坏的指标及测试方法
- PD1.4转HDMI2.0转接线拆解。
- How far is it from the DBF of VFP to the web salary query system?
- 设置图片的透明度从左到右渐变
- 2022年首期Techo Day腾讯技术开放日将于6月28日线上举办
- R语言dist函数计算dataframe数据中两两样本之间的距离返回样本间距离矩阵,通过method参数指定距离计算的方法、例如欧几里得距离
猜你喜欢

SDN系统方法 | 9. 接入网

A set of automated paperless office system (oa+ approval process) source code: with data dictionary

How to use ARIMA model for prediction?

Using DBF of VFP to web salary query system

黑马畅购商城---6.品牌、规格统计、条件筛选、分页排序、高亮显示

2022年首期Techo Day腾讯技术开放日将于6月28日线上举办

一套自动化无纸办公系统(OA+审批流)源码:带数据字典

Database Series: MySQL index optimization summary (comprehensive version)

The cloud native data lake has passed the evaluation and certification of the ICT Institute with its storage, computing, data management and other capabilities

【OceanBase】OceanBase简介及其与MySQL的比较
随机推荐
VFP calls the command line image processing program, and adding watermark is also available
Découvrir gaussdb (pour redis): une comparaison complète avec Codis
图片打标签之获取图片在ImageView中的坐标
什么是Flink?Flink能用来做什么?
为什么ping不通网站 但是却可以访问该网站?
2020最新最全IT学习线路
黑马畅购商城---3.商品管理
Linear regression of common mathematical modeling models for College Students
Explain factor analysis in simple terms, with case teaching (full)
If you also want to be we media, you might as well listen to Da Zhou's advice
Kotlin Foundation
apple 为什么要改 objc_msgSend 的类型申明
What is Flink? What can Flink do?
R language dplyr package summary_ The at function calculates the count number, mean and median of multiple data columns (specified by vectors) in the dataframe data, and specifies na RM parameter, spe
How to use SPSS to do grey correlation analysis? Quick grasp of hand-to-hand Teaching
How to use ARIMA model for prediction?
属性分解 GAN 复现 实现可控人物图像合成
Gradle knowledge points
ARM V7 协处理器
机器学习自学成才的十条戒律