Learn R Programming

⚠️There's a newer version (4.0) of this package.Take me there.

erer (version 3.0)

Empirical Research in Economics with R

Description

Functions, datasets, and sample codes related to the book of 'Empirical Research in Economics: Growing up with R' by Dr. Changyou Sun are included. Marginal effects for binary or ordered choice models can be calculated. Static and dynamic Almost Ideal Demand System (AIDS) models can be estimated. A typical event analysis in finance can be conducted with several functions included.

Copy Link

Version

Install

install.packages('erer')

Monthly Downloads

3,393

Version

3.0

License

GPL (>= 2)

Maintainer

Changyou Sun

Last Published

May 1st, 2020

Functions in erer (3.0)

bsTab

Generating Pretty Statistical Tables
bsStat

Summary of Basic Statistics
bsFormu

Generating Formula for Models
daBed

Transformed Wooden Beds Import Data for Static AIDS Models
aiDynFit

Fitting a Dynamic AIDS Model
ocME

Marginal Effect for Ordered Choice Model
daEsa

Daily returns of 14 public firms from 1990 to 2004
daBedRaw

Wooden Beds Import Data
aiDiag

Diagnostic Statitics for Static or Dynamic AIDS Model
bsLag

Lagged Time Series
daInsNam

Liability Insurance Coverage for Hunters and Anglers in Mississippi: Variable Definitions
aiElas

Computing Elasticity for Static or Dynamic AIDS Models
daIns

Liability Insurance Coverage for Hunters and Anglers in Mississippi
daExp

Expenditure Data for a Hausman Test in AIDS Model
aiStaFit

Fitting a Static AIDS Model
head

Return the first or last part of time series data
download.lib

Downloading source and PDF version of R packages
aiData

Transforming Raw Data for Static AIDS Model
listn

Generate a list object with names
lss

List Objects with Their Sizes
evRisk

Risk Evaluation for Event Analysis
ocProb

Probability trend for a continuous variable in an ordered choice model
daRoll

Voting records for the Healthy Forests Restoration Act in 2003 and the associated characteristics of congressmen
write.list

Output and Write a List Object
maTrend

Trend of probability values in a binary choice model
daLaw

Data for statutory reforms and retention of prescribed fire liability laws on forest land by state
aiStaHau

Conducting a Hausman Test on a Static AIDS Model
summary.aiFit

Summary of Results from Static or Dynamic Models
daPe

Program Effectiveness of a New Method of Teaching Economics
erer-package

Empirical Research in Economics with R
systemfitAR

Linear Equation System Estimation with Correction on Autocorrelation
maBina

Marginal Effect for Binary Probit and Logit Model
ur.df2

Augmented-Dickey-Fuller Unit Root Test revised
evReturn

Estimating Abnormal Return from Event Analysis