Data and Code for Financial Accounting Research
Area under curve
Confusion statistics.
Form deciles
Produce a table mapping announcements to trading dates
Produce a table of cumulative event returns
Produce a table of cumulative event returns using monthly data
Produce a table mapping announcements to trading dates
Produce a table of event returns
Fetch Fama-French industry grouping.
Generate simulated data as described in Gow, Ormazabal and Taylor (201...
Period for Inevitable Disclosure Doctrine (IDD)
Create a table of with cut-offs for size portfolios
Create a table of monthly returns for size portfolios
A function returning data on test_scores.
Produce a table mapping dates on CRSP to "trading days"
Function to load parquet file into database.
Calculate metric: NDCG at k
Save WRDS table as parquet file.
Pipe operator
A function returning data for a ROC plot.
Random under-sampling function
RUSBoost for two-class problems
Version of system.time()
that works with assignment
Truncate a vector.
Winsorize a vector.
Handy functions and data to support a course book for accounting research. Gow, Ian and Tongqing Ding (2022) 'Accounting Research: An Introductory Course' <https://iangow.github.io/far_book/>.