Full Download (Ebook) MATLAB Econometrics Toolbox™ User's Guide by The MathWorks, Inc. PDF DOCX
Full Download (Ebook) MATLAB Econometrics Toolbox™ User's Guide by The MathWorks, Inc. PDF DOCX
com
https://ebooknice.com/product/matlab-econometrics-toolboxtm-
user-s-guide-11236174
DOWLOAD EBOOK
https://ebooknice.com/product/matlab-bioinformatics-toolboxtm-user-s-
guide-11236232
ebooknice.com
https://ebooknice.com/product/matlab-mapping-toolboxtm-user-s-
guide-11236250
ebooknice.com
https://ebooknice.com/product/matlab-optimization-toolboxtm-user-s-
guide-11236252
ebooknice.com
https://ebooknice.com/product/deep-learning-toolbox-getting-started-
guide-matlab-43710832
ebooknice.com
(Ebook) MATLAB Computer Vision Toolbox™ User's Guide by
The MathWorks, Inc.
https://ebooknice.com/product/matlab-computer-vision-toolboxtm-user-s-
guide-11236240
ebooknice.com
https://ebooknice.com/product/matlab-curve-fitting-toolboxtm-user-s-
guide-11236242
ebooknice.com
https://ebooknice.com/product/matlab-fuzzy-logic-toolboxtm-user-s-
guide-11236244
ebooknice.com
https://ebooknice.com/product/matlab-global-optimization-toolboxtm-
user-s-guide-11236246
ebooknice.com
https://ebooknice.com/product/matlab-image-processing-toolboxtm-user-
s-guide-11236248
ebooknice.com
Econometrics Toolbox™
User's Guide
R2020a
How to Contact MathWorks
Phone: 508-647-7000
Getting Started
1
Econometrics Toolbox Product Description . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22
Data Preprocessing
2
Data Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Why Transform? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Common Data Transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
iii
Nonseasonal Differencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
Model Selection
3
Box-Jenkins Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
iv Contents
Detect ARCH Effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Test Autocorrelation of Squared Residuals . . . . . . . . . . . . . . . . . . . . . . . 3-22
Conduct Engle's ARCH Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
v
Econometric Modeler
4
Econometric Modeler App Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Prepare Data for Econometric Modeler App . . . . . . . . . . . . . . . . . . . . . . . 4-3
Import Time Series Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Perform Exploratory Data Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Fitting Models to Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Conducting Goodness-of-Fit Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
Finding Model with Best In-Sample Fit . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
Export Session Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
vi Contents
Select ARCH Lags for GARCH Model Using Econometric Modeler App
........................................................ 4-109
vii
Known Parameter Values for a Regression Model with AR Errors . . . . . . 5-28
Regression Model with AR Errors and t Innovations . . . . . . . . . . . . . . . . 5-29
viii Contents
Optimization Settings for regARIMA Model Estimation . . . . . . . . . . . . 5-113
Optimization Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-113
Constraints on Regression Models with ARIMA Errors . . . . . . . . . . . . . 5-115
ix
Forecast Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-202
x Contents
Specify Nonseasonal Models Using Name-Value Pairs . . . . . . . . . . . . . . . . 7-7
Specify Multiplicative Models Using Name-Value Pairs . . . . . . . . . . . . . . 7-11
Specify Conditional Mean Model Using Econometric Modeler App . . . . . 7-14
xi
ARIMA Model Including Exogenous Covariates . . . . . . . . . . . . . . . . . . . . 7-62
ARIMAX(p,D,q) Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-62
Conventions and Extensions of the ARIMAX Model . . . . . . . . . . . . . . . . . 7-62
xii Contents
Infer Residuals for Diagnostic Checking . . . . . . . . . . . . . . . . . . . . . . . . . 7-123
xiii
Specify GARCH Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Default GARCH Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-6
Specify Default GARCH Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-7
Using Name-Value Pair Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-8
Specify GARCH Model Using Econometric Modeler App . . . . . . . . . . . . . 8-11
Specify GARCH Model with Mean Offset . . . . . . . . . . . . . . . . . . . . . . . . . 8-13
Specify GARCH Model with Known Parameter Values . . . . . . . . . . . . . . . 8-14
Specify GARCH Model with t Innovation Distribution . . . . . . . . . . . . . . . 8-14
Specify GARCH Model with Nonconsecutive Lags . . . . . . . . . . . . . . . . . . 8-15
xiv Contents
Compare Conditional Variance Models Using Information Criteria . . . . 8-69
xv
Partially Specified Model Object for Restricted Estimation . . . . . . . . . . . 9-23
Display and Change Model Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-23
Select Appropriate Lag Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-26
xvi Contents
Determine Cointegration Rank of VEC Model . . . . . . . . . . . . . . . . . . . . 9-111
xvii
Compare Markov Chain Mixing Times . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-50
State-Space Models
11
What Are State-Space Models? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
State-Space Model Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-5
xviii Contents
Estimate Time-Varying Diffuse State-Space Model . . . . . . . . . . . . . . . . . 11-39
xix
Assess Stability of Implicitly Created State-Space Model . . . . . . . . . . 11-134
Functions
12
Appendices
A
Data Sets and Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Glossary
xx Contents
1
Getting Started
Econometrics Toolbox provides functions for modeling and analyzing time series data. It offers a wide
range of diagnostic tests for model selection, including tests for impulse analysis, unit roots and
stationarity, cointegration, and structural change. You can estimate, simulate, and forecast economic
systems using a variety of models, including, regression, ARIMA, state space, GARCH, multivariate
VAR and VEC, and switching models representing dynamic shifts in data. The toolbox also provides
Bayesian and Markov-based tools for developing time-varying models that learn from new data.
1-2
Econometric Modeling
Econometric Modeling
In this section...
“Model Selection” on page 1-3
“Econometrics Toolbox Features” on page 1-3
Model Selection
A probabilistic time series model is necessary for a wide variety of analysis goals, including
regression inference, forecasting, and Monte Carlo simulation. When selecting a model, aim to find
the most parsimonious model that adequately describes your data. A simple model is easier to
estimate, forecast, and interpret.
• Specification tests help you identify one or more model families that could plausibly describe the
data generating process.
• Model comparisons help you compare the fit of competing models, with penalties for complexity.
• Goodness-of-fit checks help you assess the in-sample adequacy of your model, verify that all model
assumptions hold, and evaluate out-of-sample forecast performance.
Model selection is an iterative process. When goodness-of-fit checks suggest model assumptions are
not satisfied—or the predictive performance of the model is not satisfactory—consider making model
adjustments. Additional specification tests, model comparisons, and goodness-of-fit checks help guide
this process.
1-3
1 Getting Started
1-4
Econometric Modeling
See Also
Related Examples
• “Box-Jenkins Model Selection” on page 3-4
• “Detect Autocorrelation” on page 3-15
• “Detect ARCH Effects” on page 3-22
• “Unit Root Tests” on page 3-32
• “Time Series Regression I: Linear Models”
1-5
1 Getting Started
More About
• “Trend-Stationary vs. Difference-Stationary Processes” on page 2-6
• “Box-Jenkins Methodology” on page 3-2
• “Goodness of Fit” on page 3-63
• “Regression Models with Time Series Errors” on page 5-5
• “Nonspherical Models” on page 3-67
• “Conditional Mean Models” on page 7-3
• “Conditional Variance Models” on page 8-2
• “Vector Autoregression (VAR) Models” on page 9-3
• “Cointegration and Error Correction Analysis” on page 9-107
1-6
Econometrics Toolbox Model Objects, Properties, and Object Functions
Model Objects
After you have a potential model for your data, you must specify the model to MATLAB® to proceed
with your analysis. Econometrics Toolbox has model objects for storing discrete-time econometric
models.
• arima — for integrated, autoregressive, moving average (ARIMA) models optionally containing
exogenous predictor variables
• garch — for generalized autoregressive conditional heteroscedasticity models (GARCH)
• egarch — for exponential GARCH models
• gjr — for Glosten-Jagannathan-Runkle models
• regARIMA — for regression models with ARIMA errors
• varm — for vector autoregression models optionally containing exogenous predictor variables
• vecm — for vector error-correction (cointegrated VARM) models optionally containing exogenous
predictor variables
Econometrics Toolbox supports univariate Bayesian linear regression analysis. Bayesian linear
regression model objects specify the joint prior distribution of the regression coefficients and
disturbance variance. The available prior model objects are:
1-7
1 Getting Started
• mixconjugateblm — for performing stochastic search variable selection (SSVS). The regression
coefficients and disturbance variance are dependent random variables (the prior and posterior
distributions are conjugate).
• mixsemiconjugateblm — for performing SSVS. The regression coefficients and disturbance
variance are independent random variables (the prior and posterior distributions are
semiconjugate).
• lassoblm — for performing Bayesian lasso regression.
Econometrics Toolbox supports modelling and analyzing discrete or continuous state Markov models.
Available model objects are:
To create a model object, specify the form of your model to one of the model functions (e.g., arima or
garch). The function creates the model object of the corresponding type in the MATLAB workspace,
as shown in the figure.
You can work with model objects as you would with any other variable in MATLAB. For example, you
can assign the object variable a name, view it in the MATLAB Workspace, and display its value in the
Command Window by typing its name.
Model Properties
A model object holds all the information necessary to estimate, simulate, and forecast econometric
models. This information includes the:
1-8
Econometrics Toolbox Model Objects, Properties, and Object Functions
Such pieces of information are properties of the model, which are stored as fields within the model
object. In this way, a model object resembles a MATLAB data structure (struct array).
The five model types—arima, garch, egarch, gjr, and regARIMA—have properties according to the
econometric models they support. Each property has a predefined name, which you cannot change.
For example, arima supports conditional mean models (multiplicative and additive AR, MA, ARMA,
ARIMA, and ARIMAX processes). Every arima model object has these properties, shown with their
corresponding names.
When a model object exists in the workspace, double-click its name in the Workspace window to open
the Variable Editor. The Variable Editor shows all model properties and their names.
1-9
Exploring the Variety of Random
Documents with Different Content
Kiireesti sieppasi pappi vaatteet yllensä. Sydän alkoi kiivaasti
sykkiä. Ehkä se jo osasi huonoja uutisia aavistaa. Hän aukaisi ulko-
oven ja astui rappusille.
Näin sanoen nosti hän kuormalta korin, missä lapsi nukkui sikeästi
ja rauhallisesti, hanhi vieressään. Hanhi näytti vartioivan tyttöä kuten
hyväkin lapsenpiika, karkoittaen alituisilla päänliikkeillä pois kärpäset,
jotka olivat halukkaita asettumaan lapsen huulille, aivankuin hunajaa
niistä imeäkseen.
Siinä siis nukkui hänen pikku siskonsa. Nuori pappi ei ollut häntä
vielä koskaan nähnyt. Viimeisen kerran kävi hän kotonansa isänsä
hautajaisissa, eikä pikku Veronkaa vielä silloin ollut, vain äitinsä
kirjeistä hän sai sittemmin tietää hänen syntymänsä, ja nämät kirjeet
olivat kovin häveliäät ja harvasanaiset.
János astui nyt korin luo, katsellen lapsen pyöreitä, kauniita
kasvoja. Onpa äitinsä näköinen, hän ajatteli, ja hänen siinä
katsellessaan ja lasta tarkatessaan, alkoivat nuo kasvot hänen
kyyneltyneissä silmissään muuttua ja kasvaa, kunnes yhtäkkiä
ilmestyivät hänen eteensä pienintä piirrettä myöten äidin kasvot.
Herra Jumala, mikä ihme tämä, mikä lumous! Sitä kesti vain puolisen
minuttia. Sitte oli taas lapsonen hänen edessään. Kunpa avaisi
silmänsä. Siitäpä János olisi ihastunut, mutta lapsi ei niitä avannut;
pitkät ripset seisoivat suorina kuin mustat silkkiripsut.
Ah, hänkin täällä! Siis täälläkin hän! Enkä minä enää ole yksin
enkä avutonna. Minäkin silloin polvistun hänen eteensä ja kerron
hänelle aivan kuin tuo pappi, mikä mieltäni painaa. — Auta minua,
Herra Jeesus — tällaisia ajatuksia János pastori nyt hänelle esitti. —
Äitini on kuollut, pikku siskoni on tuotu tänne minun
kasvatettavakseni. Olen köyhä, kokematon, en tiedä miten on lapsia
kasvatettava. Ohjaa, Jeesus, ajatuksiani oikeaan! Ja vuodata
pohjattomasta yltäkylläisyydestäsi keinoja voidakseni häntä elättää
ja hoitaa. Tee minulle ihme, Herra Jeesus!
Siellä oli kori vielä paikallaan. Lapsi istui korissa, mutta hanhi
juoksenteli pihalla. Satoi rankasti edelleen, tuuli pieksi sadetta
rappusillekin, vesi silläkin kohdalla virtana juoksi, mutta lapsi oli
kuivana, terveenä, sillä korin päällä oli levällään suuri, haalistunut
punanen sateenvarjo; sen kankaassa oli jo paikka paikan päällä,
sisäpuolella tuskin voi enää eroittaa kapeata kukkaisreunustetta,
joka kiersi ympäri laidan entisten aikojen muodin mukaan.
Tosin kellonsoittaja Kvapka Pál väittää aivan toista. Hän sanoo että
kun hän rajuilman puhjetessa soitti kelloja pilviä karkottaakseen, ja
sattui vilkaisemaan taakseen, hän näki vanhan juutalaisen näköisen
ukon astua laahustavan pappilaa kohden ja että tämän kädessä oli
tuo suuri punanen kangaslautanen, jonka pastori sitte oli tavannut
korin päällä.
Kelpasi lapsen nyt elää. Hän pääsi heti kaikkein lemmikiksi. Kylän
emännät alkoivat kaikella kiireellä paistaa piirakoita ja
pannukaakkuja viedäkseen niitä pikku tulokkaalle. Tuskin oli pastori
ovensa auki saanut, niin jo alkoi heitä lappaa sisään, kantaen
hienoilla ja puhtailla liinasilla peitetyltä ruokatavaroita, toiset toistaan
hienompia. Pappi suuresti kummasteli, kun niitä yhä tuli uusia.
— Jo ymmärrän.
— Mikä punainen?
Mutta nyt pillahti emäntä itkemään. Millä tavoin oli hän ansainnut
sen häpeän, että Herran palvelija kieltäytyy tekemästä vainajalle
kuuluvaa palvelusta, joka olisi jälkeenjääneillekin lohdutukseksi. Mitä
ihmiset sanoisivatkaan? Sen sanoisivat että Srankon leski ei antanut
miehellensä edes kunniallista hautausta, vaan antoi työntää hänet
kuoppaan kuin minkäkin kerjäläisen. — Tehkää nyt niin hyvin, herra
pastori, — hän rukoeli, ja pyyhkiessään nenäliinallansa kosteita
silmiänsä hypisteli hän sen nurkkaa niin kauan, että siitä solmu
aukeni ja sisästä putosi kymmenen florinin seteli.
Emäntä nosti sen lattialta ja asetti kainostellen pastorin pöydälle.
TOINEN OSA.
GREGORICSIT.
TAHDITON GREGORICS.
Yritti Gregorics parka mitä tahansa, kohtasi häntä aina kova onni.
Jos hän joutuessaan jonkun kanssa riitaan, ei antanut perään,
sanottiin häntä riitapukariksi; jos hän taasen antoi perään, sai hän
kantaa raukan nimen.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com