Title: | Econometrics with R |
---|---|
Description: | Function and data sets in the book entitled "R ile Temel Ekonometri", S.Guris, E.C.Akay, B. Guris(2020). The book published in Turkish. It is possible to makes Durbin two stage method for autocorrelation, generalized differencing method for correction autocorrelation, Hausman Test for identification and computes LM, LR and Wald test statistics for redundant variable by using the functions written in this package. |
Authors: | Selahattin Guris [aut], Ebru Caglayan Akay [aut], Burak Guris [cre] |
Maintainer: | Burak Guris <[email protected]> |
License: | GPL (>= 2) |
Version: | 1.4 |
Built: | 2024-12-19 06:39:52 UTC |
Source: | CRAN |
This function makes Durbin two stage method for autocorrelation.
Durbin2(y, x)
Durbin2(y, x)
y |
series name |
x |
series name, |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH Durbin2(ITH,IHR)
IHR = REcoData$IHR ITH = REcoData$ITH Durbin2(ITH,IHR)
This function uses generalized differencing method for correction autocorrelation.
Gfdiff(y, x)
Gfdiff(y, x)
y |
series name |
x |
series name, |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH Gfdiff(IHR, ITH)
IHR = REcoData$IHR ITH = REcoData$ITH Gfdiff(IHR, ITH)
This function allows you to make Hausman Test for identification
HausmanTest(y, x, z)
HausmanTest(y, x, z)
y |
series name |
x |
series name, |
z |
series name |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH DK =REcoData$DK HausmanTest(IHR,ITH,DK)
IHR = REcoData$IHR ITH = REcoData$ITH DK =REcoData$DK HausmanTest(IHR,ITH,DK)
Mothly time series data between 2010.1-2019.4
REcoData
REcoData
A data frame containing :
IHR Export
ITH Import
IO Unemployment Rate
DK Exchange Rate
ENF Inflation Rate
SUE Industrial Production Index
summary(REcoData)
summary(REcoData)
Poverty data for 100 people
REcoData_DCM
REcoData_DCM
A data frame containing :
Yoksulluk Poverty, 1 if poor, 0 if not poor
YKGelir Annual Disposable Income
KK 1 if living in the city, 0 if living in the countryside
summary(REcoData_DCM)
summary(REcoData_DCM)
Panel data between 1996-2017 for G8 countries
REcoData_Panel
REcoData_Panel
A data frame containing :
YIL Year
ULKE Countries
POPG Population Growth
INF Inflation Rate
UR Unemployment Rate
GDP Gross Domestic Product
EXP Export
FDI Foreign Direct Investment
summary(REcoData_Panel)
summary(REcoData_Panel)
Panel data between 1980-2017 for fifteen countries
REcoData_Panel_UR
REcoData_Panel_UR
A data frame containing :
EC Electricity net consumption
summary(REcoData_Panel_UR)
summary(REcoData_Panel_UR)
Yearly data for Turkey between 1990-2002
REcoData_SEM
REcoData_SEM
A data frame containing :
LIH Natural Logarithm of Import
LIT Natural Logarithm of Export
LPA Natural Logarithm of Money Supply
LDK Natural Logarithm of Exchange Rate
summary(REcoData_SEM)
summary(REcoData_SEM)
Quarterly tourism revenue data for Turkey between 2003.Q1-2019.Q2
REcoData_Tourism
REcoData_Tourism
A data frame containing :
tur Tourism Revenue (Million USD)
summary(REcoData_Tourism)
summary(REcoData_Tourism)
This function computes LM, LR and Wald test statistics for redundant variable.
ResTest(y, x1, x2)
ResTest(y, x1, x2)
y |
series name, |
x1 |
series name |
x2 |
series name |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH DK =REcoData$DK ResTest(IHR,ITH,DK)
IHR = REcoData$IHR ITH = REcoData$ITH DK =REcoData$DK ResTest(IHR,ITH,DK)
This function computes standardized regression model.
stdreg(y, x)
stdreg(y, x)
y |
series name, |
x |
series name |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH stdreg(IHR,ITH)
IHR = REcoData$IHR ITH = REcoData$ITH stdreg(IHR,ITH)
This Function makes Weighted Least Square estimation.
Wls(y, x)
Wls(y, x)
y |
series name, |
x |
series name |
Selahattin Güriş, Ebru Çağlayan Akay, Burak Güriş, R ile Temel Ekonometri, DER Yayinevi, 2020.
IHR = REcoData$IHR ITH = REcoData$ITH Wls(ITH,IHR)
IHR = REcoData$IHR ITH = REcoData$ITH Wls(ITH,IHR)