Table of Contents
1.移动平均计算的种类
2.绘制移动平均图表
3.移动平均分析的注意事项
Home Database Mysql Tutorial Excel-移动平均分析(趋势分析)

Excel-移动平均分析(趋势分析)

Jun 07, 2016 pm 03:28 PM
analyze Can average average have move trend

移动平均数可以有效地消除实际数据值的随机波动,从而得到较为平滑的数据变动趋势图表,通过对历史趋势变动的分析,可以预测未来一期或几期内数据的变动方向。 1.移动平均计算的种类 根据预测时使用的各元素的权重不同,可以分为:简单移动平均和加权移动平

移动平均数可以有效地消除实际数据值的随机波动,从而得到较为平滑的数据变动趋势图表,通过对历史趋势变动的分析,可以预测未来一期或几期内数据的变动方向。

1.移动平均计算的种类

根据预测时使用的各元素的权重不同,可以分为:简单移动平均和加权移动平均。
移动平均有一个很重要的概念就是“间隔”,移动平均数的计算是限定在间隔数之内的。以简单移动平均数的计算为例,假设间隔为3,则每个移动平均数都是前3个原始数据的平均值。在图9-86中,C4是A2、A3、A4单元格的平均值,C5是A3、A4、A5单元格的平均值,以此类推。通过这种移动方式的平均值计算可以有效消除数值波动影响。例如,图9-86中移动平均数最大值与最小值的差是9(即25-16),而原始数据中最大值与最小值的差是21(即31-10)。
加权移动平均只不过是为期内每个数据分配了不同的权重,而不是简单地计算平均数。例如,在图9-87所示的C4单元格中,间隔仍旧为3,第一个数据的权重为35%,第二个为30%,第三个为35%。注意,权重相加必须等于1。对比图9-86和图9-87中的数据,可以看出加权移动平均与简单移动平均的差异。
在运用加权移动平均时,权重的选择是一个应该注意的问题。一般而言,最近期的数据最能预示未来的情况,因而权重应大些。例如,根据前一个月的销售情况比根据前几个月能更好地估测下个月的销售情况。但是,如果数据是季节性的,则权重也应是季节性的,例如,不能以1月份T恤衫的销量预测春季的销量。
 
\
图9-86简单移动平均数计算
\
图9-87加权移动平均数计算

2.绘制移动平均图表

绘制简单移动平均可以使用Excel提供的数据分析工具。

单击“数据”选项卡中的“数据分析”按钮,在打开的对话框中选择“移动平均”并单击“确定”按钮,将打开如图9-88所示的“移动平均”对话框。

 

\

图9-88“移动平均”对话框

在输入区域选择原始数据区域A1:A32,由于A1是标题,因此勾选“标志位于第一行”选项。间隔选择3。“输出区域”用于指定移动平均数的放置位置,选择一个起始单元格即可。勾选“图表输出”,将同时绘制折线图。

单击“确定”按钮,即可看到移动平均计算结果和绘制的图表,如图9-89所示。

 

\

图9-89绘制的移动平均折线图

图中的“预测值”数据系列即是使用移动平均数绘制的折线图,可以看出比实际值平滑了许多,更易于进行趋势的判断。由于间隔为3,所以C2、C3的值为#N/A。

3.移动平均分析的注意事项

移动平均对原序列有修匀或平滑的作用,并且加大间隔数会使平滑波动效果更好,但这也会使预测值对数据实际变动更不敏感,因此移动平均的间隔不宜过大。例如,图9-90是在间隔为6的情况下绘制的折线图,可以看到“预测值”数据系列比图9-89中平滑了很多。

 

\

图9-90间隔为6时绘制的移动平均折线图

当数据包含季节、周期变动时,移动平均的间隔数与季节、周期变动长度一致,才能消除其季节或周期变动影响。

移动平均数并不能总是很好地反映出趋势。由于是平均值,预测值总是停留在过去的水平上而无法预计会导致将来更高或更低的波动。

移动平均分析需要由大量的历史数据才可以进行。
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Can the appdata folder be moved to the D drive? Can the appdata folder be moved to the D drive? Feb 18, 2024 pm 01:20 PM

Can the appdata folder be moved to the D drive? With the increasing popularity of computer use, more and more users' personal data and applications are stored on the computer. In Windows operating system, there is a specific folder called appdata folder, which is used to store user's application data. Many users wonder whether this folder can be moved to the D drive or other disks for data management and security considerations. In this article, we will discuss this problem and provide some solutions. First, let me

6000 mAh silicon negative battery! Xiaomi 15Pro upgrade leaked again 6000 mAh silicon negative battery! Xiaomi 15Pro upgrade leaked again Jul 24, 2024 pm 12:45 PM

According to news on July 23, blogger Digital Chat Station broke the news that the battery capacity of Xiaomi 15 Pro has been increased to 6000mAh and supports 90W wired flash charging. This will be the Pro model with the largest battery in Xiaomi’s digital series. Digital Chat Station previously revealed that the battery of Xiaomi 15Pro has ultra-high energy density and the silicon content is much higher than that of competing products. After silicon-based batteries are tested on a large scale in 2023, second-generation silicon anode batteries have been identified as the future development direction of the industry. This year will usher in the peak of direct competition. 1. The theoretical gram capacity of silicon can reach 4200mAh/g, which is more than 10 times the gram capacity of graphite (the theoretical gram capacity of graphite is 372mAh/g). For the negative electrode, the capacity when the lithium ion insertion amount reaches the maximum is the theoretical gram capacity, which means that under the same weight

Stop or allow this PC to access your mobile device on Windows 11 Stop or allow this PC to access your mobile device on Windows 11 Feb 19, 2024 am 11:45 AM

Microsoft changed the name of PhoneLink to MobileDevice in the latest Windows 11 version. This change allows users to control computer access to mobile devices through prompts. This article explains how to manage settings on your computer that allow or deny access from mobile devices. This feature allows you to configure your mobile device and connect it to your computer to send and receive text messages, control mobile applications, view contacts, make phone calls, view galleries, and more. Is it a good idea to connect your phone to your PC? Connecting your phone to your Windows PC is a convenient option, making it easy to transfer functions and media. This is useful for those who need to use their computer when their mobile device is unavailable

How to implement data statistics and analysis in uniapp How to implement data statistics and analysis in uniapp Oct 24, 2023 pm 12:37 PM

How to implement data statistics and analysis in uniapp 1. Background introduction Data statistics and analysis are a very important part of the mobile application development process. Through statistics and analysis of user behavior, developers can have an in-depth understanding of user preferences and usage habits. Thereby optimizing product design and user experience. This article will introduce how to implement data statistics and analysis functions in uniapp, and provide some specific code examples. 2. Choose appropriate data statistics and analysis tools. The first step to implement data statistics and analysis in uniapp is to choose the appropriate data statistics and analysis tools.

Can I delete the downloads folder? Can I delete the downloads folder? Feb 19, 2024 pm 03:38 PM

Can downloads be deleted? In recent years, with the advent of the digital age, more and more digital products and services have appeared in our lives. What follows is that our demand for digital content is increasing day by day. In our daily life and work, we often need to download a variety of files, such as documents, pictures, audios, videos, etc. These downloaded files are usually saved in a folder called "downloads". However, over time we often find that,"

Which games are suitable for playing with i34150 and 1G independent graphics (which games is suitable for i34150) Which games are suitable for playing with i34150 and 1G independent graphics (which games is suitable for i34150) Jan 05, 2024 pm 08:24 PM

What games can be played with i34150 with 1G independent graphics? Can it play small games such as LoL? GTX750 and GTX750TI are very suitable graphics card choices. If you just play some small games or not play games, it is recommended to use the i34150 integrated graphics card. Generally speaking, the price difference between graphics cards and processors is not very big, so it is important to choose a reasonable combination. If you need 2G of video memory, it is recommended to choose GTX750TI; if you only need 1G of video memory, just choose GTX750. GTX750TI can be seen as an enhanced version of GTX750, with overclocking capabilities. Which graphics card can be paired with i34150 depends on your needs. If you plan to play stand-alone games, it is recommended that you consider changing the graphics card. you can choose

The new king of domestic FPS! 'Operation Delta' Battlefield Exceeds Expectations The new king of domestic FPS! 'Operation Delta' Battlefield Exceeds Expectations Mar 07, 2024 am 09:37 AM

"Operation Delta" will launch a large-scale PC test called "Codename: ZERO" today (March 7). Last weekend, this game held an offline flash mob experience event in Shanghai, and 17173 was also fortunate to be invited to participate. This test is only more than four months away from the last time, which makes us curious, what new highlights and surprises will "Operation Delta" bring in such a short period of time? More than four months ago, I experienced "Operation Delta" in an offline tasting session and the first beta version. At that time, the game only opened the "Dangerous Action" mode. However, Operation Delta was already impressive for its time. In the context of major manufacturers flocking to the mobile game market, such an FPS that is comparable to international standards

Analysis of the reasons why the secondary directory of DreamWeaver CMS cannot be opened Analysis of the reasons why the secondary directory of DreamWeaver CMS cannot be opened Mar 13, 2024 pm 06:24 PM

Title: Analysis of the reasons and solutions for why the secondary directory of DreamWeaver CMS cannot be opened. Dreamweaver CMS (DedeCMS) is a powerful open source content management system that is widely used in the construction of various websites. However, sometimes during the process of building a website, you may encounter a situation where the secondary directory cannot be opened, which brings trouble to the normal operation of the website. In this article, we will analyze the possible reasons why the secondary directory cannot be opened and provide specific code examples to solve this problem. 1. Possible cause analysis: Pseudo-static rule configuration problem: during use

See all articles