Learn R Programming

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

erer (version 3.1)

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

2,716

Version

3.1

License

GPL (>= 2)

Maintainer

Changyou Sun

Last Published

April 18th, 2022

Functions in erer (3.1)

bsTab

Generating Pretty Statistical Tables
bsLag

Lagged Time Series
aiStaHau

Conducting a Hausman Test on a Static AIDS Model
aiDiag

Diagnostic Statitics for Static or Dynamic AIDS Model
bsFormu

Generating Formula for Models
aiDynFit

Fitting a Dynamic AIDS Model
aiStaFit

Fitting a Static AIDS Model
aiData

Transforming Raw Data for Static AIDS Model
bsStat

Summary of Basic Statistics
aiElas

Computing Elasticity for Static or Dynamic AIDS Models
daIns

Liability Insurance Coverage for Hunters and Anglers in Mississippi
daRoll

Voting records for the Healthy Forests Restoration Act in 2003 and the associated characteristics of congressmen
maTrend

Trend of probability values in a binary choice model
maBina

Marginal Effect for Binary Probit and Logit Model
daEsa

Daily returns of 14 public firms from 1990 to 2004
evRisk

Risk Evaluation for Event Analysis
daInsNam

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

Return the first or last part of time series data
summary.aiFit

Summary of Results from Static or Dynamic Models
daBedRaw

Wooden Beds Import Data
daExp

Expenditure Data for a Hausman Test in AIDS Model
daBed

Transformed Wooden Beds Import Data for Static AIDS Models
systemfitAR

Linear Equation System Estimation with Correction on Autocorrelation
ocME

Marginal Effect for Ordered Choice Model
download.lib

Downloading source and PDF version of R packages
daLaw

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

Empirical Research in Economics with R
listn

Generate a list object with names
lss

List Objects with Their Sizes
daPe

Program Effectiveness of a New Method of Teaching Economics
ocProb

Probability trend for a continuous variable in an ordered choice model
ur.df2

Augmented-Dickey-Fuller Unit Root Test revised
write.list

Output and Write a List Object
evReturn

Estimating Abnormal Return from Event Analysis