Learn R Programming

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

erer (version 1.3)

Empirical Research in Economics with R

Description

This package contains functions and datasets for the book of 'Empirical Research in Economics: Growing up with R' by Dr. Changyou Sun. These functions can calculate marginal effects for a binary probit or logit model, estimate static and dynamic Almost Ideal Demand System (AIDS) models, and conduct event analysis.

Copy Link

Version

Install

install.packages('erer')

Monthly Downloads

2,880

Version

1.3

License

GPL (>= 2)

Maintainer

Changyou Sun

Last Published

September 18th, 2012

Functions in erer (1.3)

aiStaFit

Fitting a Static AIDS Model
aiDynFit

Fitting a Dynamic AIDS Model
daBedRaw

Wooden Beds Import Data
bsLag

Lagged Time Series
daBed

Transformed Wooden Beds Import Data for Static AIDS Models
evReturn

Estimating Abnormal Return from Event Analysis
aiStaHau

Conducting a Hausman Test on a Static AIDS Model
aiElas

Computing Elasticity for Static or Dynamic AIDS Models
evRisk

Risk Evaluation for Event Analysis
bsTab

Generating Pretty Statistical Tables
bsStat

Summary of Basic Statistics
daExp

Expenditure Data for a Hausman Test in AIDS Model
maTrend

Trend of Marginal Effects
print.aiFit

Printing results from AIDS models
print.evReturn

Printing Abnormal Return Results from Event Analsyis
head

Return the first or last part of time series data
aiData

Transforming Raw Data for Static AIDS Model
plot.evReturn

Plot for Average Cumulative Abnormal Returns from Event Analysis
erer-package

Empirical Research in Economics with R
daIns

Liability Insurance Coverage for Hunters and Anglers in Mississippi
maBina

Marginal Effect for Binary Probit and Logit Model
daPe

Program Effectiveness of a New Method of Teaching Economics
summary.aiFit

Summary of Results from Static or Dynamic Models
plot.maTrend

Plot for Marginal Effect Trends
aiDiag

Diagnostic Statitics for Static or Dynamic AIDS Model
bsFormu

Generating Formula for Models
print.maTrend

Printing Marginal Effect Trends
print.evRisk

Printing Risk Results from Event Analsyis