コース
Rで学ぶ時系列データ操作
中級スキルレベル
更新日 2024/12
RData Manipulation4時間15 ビデオ49 演習4,100 XP7,271修了証明書
無料アカウントを作成
Googleで続行その他のオプションを表示または
何千もの企業の従業員が支持
チームのトレーニングを担当していますか?
Businessをお試しくださいコース説明
時系列データについてすべて学ぶ
時間とともに変化するデータを扱うことは、データサイエンスにおいて欠かせないスキルです。 この種のデータは時系列データとして知られています。 時系列が何を表すのかという基礎、時系列内のデータに関する要約統計量の取得方法、そして時系列を視覚的に解釈する方法を学びます。zoo、lubridate、xtsで時系列を自在に操る
Rで時系列データを取り込み、探索し、可視化するために、zooパッケージとlubridateパッケージの使い方を習得します。データの期間やサンプリング頻度など、時系列情報の主要な属性を取得する方法を学び、その過程でデータフレームと時系列の相互変換にも習熟します。 さらに、データを集計することで、xtsパッケージを使ってデータ全体の傾向を把握する方法を学べます。サブセット化スキルを完璧に磨く
時系列からウィンドウを抽出して、特定の関心期間に焦点を当てる方法を学びます。 あなたは、分、時間、月、年ごとなど、さまざまな頻度で時系列データをサンプリングします。 データの欠損値を、定数補完、LOCF、または線形補間法で埋める「補完」の手法も学びます。 さらに、データとともに移動する、つまり「ロール」する時系列の「ローリング」ウィンドウを作成する方法も学び、時間の経過に伴うデータの傾向を要約できるようになります。 また、拡張ウィンドウの作成方法も学びます。これは、これらの要約統計量が最終値にどのように近づいていくかを示します。前提条件
Working with Dates and Times in R1
What Is Time Series Data?
You'll learn the foundations of what a time series represents, how to retrieve summary statistics about the data in a time series, and how to visually interpret a time series plot as part of the exploration step of your analysis. You’ll also cover how to manage date and time information within R objects and ways of incorporating consistent formatting for dates.
2
Manipulating Time Series with zoo
Here, you’ll learn to retrieve key attributes of time series information, such as the range in time of the data and how often the data were sampled, to understand your data better. You'll also be introduced to the zoo package, which contains tools and functions for creating and manipulating time series objects. Many data science applications in R use the data frame paradigm; you'll learn how to convert between a data frame and a time series.
3
Indexing Time Series Objects
You’ll cover how to subset a window from a time series to focus on a particular period of interest. You’ll see that when working with real-world time series data, the timespan of your dataset may cover more information than you need, which can clutter your visualizations. You’ll sample time series data at various rates, such as every minute, hour, month, or year. Further, by aggregating your data, you’ll learn to see the overall trends in the data using the xts package. You'll also learn methods of 'imputing' your data – filling in missing values with constant fill, LOCF, or linear interpolation methods.
4
Rolling and Expanding Windows
You’ll learn to create “rolling” windows of a time series that move, or "roll" along with data, making it possible to summarize trends in the data across time, such as the average over success months of observations or the sum over several weeks of sales. Overall summary statistics, like mean, median, sum, maximum, and so on, do not always provide insight into how data changes over time, and rolling windows will allow you to compute statistics dynamically. In addition to rolling windows, you will also learn how to create expanding windows, which show how these summary statistics approach their final value.
Rで学ぶ時系列データ操作
コース完了 19百万人を超える学習者と共にRで学ぶ時系列データ操作を始めましょう!
無料アカウントを作成
Googleで続行その他のオプションを表示または
DataCamp for Mobileでデータスキルを磨きましょう
モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。