Rで何かをしたり、読書をするブログ

政府統計の総合窓口のデータや、OECDやUCIやのデータを使って、Rの練習をしています。ときどき、読書記録も載せています。

時系列データ

時系列データの分析 9 - Static Log-Log モデルの Serial Correlation の有無をチェックして、Serial Correlation Robust Inference

(Bing Image Creator で生成: プロンプト: Nature landscape, long view of sand desert, close up of yellow and red cactus flowers, photo.) www.crosshyou.info の続きです。今回は Log-LogモデルでのSerail Correlationの有無をチェックしたいと思いま…

時系列データの分析 8 - Cochrane-Orcutt 法でモデルを推定する

(Bing Image Creator で生成: プロンプト: Close up of blue Hydrangea, pink Hydrangea and green hydrangea flowers, photo) www.crosshyou.info の続きです。前回の分析で、static model, FDL model, AR(1) model すべてで Serail Correlation があること…

時系列データの分析 7 - Serial Correlation があるかどうかをチェックする

(Bing Image Creator で生成: プロンプト: Close-up of yellow and pink Bougainvillea flowers, back scene is blue sky, photo) www.crosshyou.info の続きです。 今回は、Serial Correlation があるかどうかをチェックしたいと思います。 static_model の…

時系列データの分析 6 - AR(1) model を推定する。東証株価指数は random walk

(Bing Image Creator で生成: プロンプト: Photograph of spring season landscape in Japan, there is flowering sunflowers.) www.crosshyou.info の続きです。前回の分析で、tpx: 東証株価指数には季節性は見られないことがわかりました。 今回は、1期前…

時系列データの分析 5 - 月のダミー変数を追加した回帰分析。季節性は見られない。

(Bing Image Creator で生成: プロンプト: Close up of purple and pink Hyacinth flowers, flowering near by old small pond, background is blue sky and a few white clouds, photo) www.crosshyou.info の続きです。前回は、1989年12月以前とその後とい…

時系列データの分析 4 - バブル前・バブル後のダミー変数を追加した回帰分析

(Bing Image Creator で生成: プロンプト: Beautiful highland landscape, close up of Carnation flowers, blue sky, photo) www.crosshyou.info の続きです。 前回は tpx: 東証株価指数と Lg5: 法人税収の水準どうしで回帰分析しました。 今度は、対数変換…

時系列データの分析 3 - Static Model と Finite Distributed Lag Model

(Bing Image Creator で生成: プロンプト: Close up of Agapanthus flowers, landscape of great valley, blight sky, photo) www.crosshyou.info の続きです。 今回は、Wooldridge(2019), Introductory Econometorics: A Modern Approach 7e の 10-2 Exampl…

時系列データの分析 2 - 東証株価指数と一番相関の高い景気動向指数の個別系列を見つける 。それは、法人税収入だった。

(Bing Image Creator で生成: プロンプト: Landscape photography, flowering Peony flowers, wide blue sky and white clouds) www.crosshyou.info の続きです。 前回は、東証株価指数の前月と当月の比率をグラフにしました。 こんな感じでかなり予測は難し…

時系列データの分析 1 - 景気動向指数の個別系列の数値を R にアップロードする

(Bing Image Creator で生成: プロンプト: Landscape of flowering Wisteria floribunda trees, background is blue sky, photo.) いままではクロスセクションのデータばかり分析してきましたが、今回は時系列データを分析してみようと思います。時系列デー…