Learn R Programming

desk (version 1.1.2)

Didactic Econometrics Starter Kit

Description

Written to help undergraduate as well as graduate students to get started with R for basic econometrics without the need to import specific functions and datasets from many different sources. Primarily, the package is meant to accompany the German textbook Auer, L.v., Hoffmann, S., Kranz, T. (2024, ISBN: 978-3-662-68263-0) from which the exercises cover all the topics from the textbook Auer, L.v. (2023, ISBN: 978-3-658-42699-6).

Copy Link

Version

Install

install.packages('desk')

Monthly Downloads

450

Version

1.1.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Soenke Hoffmann

Last Published

December 20th, 2024

Functions in desk (1.1.2)

data.comp

Monthly Rentals and Qualitative Characteristics of Computers
data.fertilizer

Fertilizer in the Cultivation of Barley
data.filter

Water Filter Sales
data.regional

Regional Cost of Living in Germany
data.ballb

Defective Ball Bearings
cochorc

Estimating Linear Models under AR(1) with Cochrane-Orcutt Iteration
data.rent

Average Basic Rent in City Districts
data.burglary

Burglaries and Power Blackouts
data.iv

Instrumental Variables
data.pharma

Pharmaceutical Advertisements
data.lifesat

Life Satisfaction
data.tip

Tip Data in a Restaurant
data.printer

Prices and Qualitative Characteristics of Laser Printers
data.savings

International Life-Cycle Savings and Disposable Income
data.cars

Speed and Stopping Distances of Cars
data.cobbdoug

Cobb-Douglas Production Function
data.icecream

Sales of Ice Cream
data.wage

Wage Data in a Company
data.eu

Expenditures of the EU-25
data.windscreen

Efficiency of a Car Glass Service Company
data.macro

Macroeconomic Data from Germany
data.software

Employment Data of a Software Company
data.spurious

Non-Stationary Time Series Data
data.income

Income Per Capita
data.insurance

Sales of Insurance Contracts
datasets

Datasets in DESK
data.tip.all

Tip Data in a Restaurant with all 20 observations. Only used in textbook.
ddw

Durbin Watson Distribution
dw.test

Durbin-Watson Test on AR(1) Autocorrelation
ivr

Two-Stage Least Squares (2SLS) Instrumental Variable Regression
jb.test

Jarque-Bera Test
data.milk

Milk Production
par.f.test

F-test on Multiple Linear Combinations of Estimated Parameters in a Linear Model
par.t.test

t-Test on Estimated Parameters of a Linear Model
data.trade

Gravity Model Applied to Germany
makedata.corr

Generate Exogenous Normal Data with Specified Correlations
mc.table

Generate R² Matrix of all Possible Regressions Among Regressors to Check Multicollinearity
gq.test

Goldfeld-Quandt Test
qlr.cv

Calculates the critical value in a Quandt Likelihood Ratio-Test for Structural Breaks in a Parameter with Unknown Break Date
ols.infocrit

Calculate Common Information Criteria
ols.has.const

Check if Model has a Constant
data.sick

Sick Leave and Unemployment
rprofile.add

Add a Command to User R Startup File Rprofile.site
qlr.test

Quandt Likelihood Ratio-Test for Structural Breaks in any Parameter with Unknown Break Date
hcc

Heteroskedasticity Corrected Covariance Matrix
hilu

Estimating Linear Models under AR(1) Autocorrelation with Hildreth and Lu Method
rprofile.open

Open User R Startup File Rprofile.site
data.unempl

German Economic Growth and Unemployment Rates
def.exp

Lambda Deformed Exponential
ols.interval

Calculate Different Types of Intervals in a Linear Model
lagk

1 to k-Period Lags of Given Vector
ols.predict

Predictions in a Linear Model
def.log

Lambda Deformed Logarithm
makedata.bc

Generate Artificial, Non-linear Data for Simple Regression
plot.desk

Simplified Plotting of Regression- and Test-results
repeat.sample

Generates OLS Data and Confidence/Prediction Intervals for Repeated Samples
new.session

R Session Reset
print.desk

Alternative Console Output for Regression- and Test-results
reset.test

RESET Method for Non-linear Functional Form
pc.test

Prognostic Chow Test on Structural Break
pdw

Durbin-Watson Distribution
ols

Ordinary Least Squares Regression
wh.test

White Heteroskedasticity Test
rm.all

Remove All Objects
roll.win

Rolling Window Analysis of a Time Series
data.anscombe

Anscombe's Quartet
Sxy

Variation and Covariation
ar1sim

Simulate AR(1) Process
bc.test

Box-Cox Test
bc.model

One Dimensional Box-Cox Model
bp.test

Breusch-Pagan Test
arguments

Arguments of a Function
acc

Autocorrelation Coefficient
data.auto

Prices and Qualitative Characteristics of US-Cars
data.govexpend

Government Expenditures of US-States