Man pages for farr
Data and Code for Financial Accounting Research

aaer_datesAAER dates from SEC
aaer_firm_yearAAERs from Bao et al. (2020)
apple_eventsDates for Apple Events
aucArea under curve
aus_bank_fundsAustralian bank fundamental data
aus_bank_retsAustralian bank stock market data
aus_banksAustralian banks
bloomfield_2021Firm-years in RDD analysis of Bloomfield (2021).
by_tag_yearTags on StackOverflow
compData on accruals and auditor choice
confusion_statsConfusion statistics.
fhk_firm_yearsFirm-years for replication of Fang, Huang and Karpoff (2016)
fhk_pilotTreatment indicators for SHO pilot firms
form_decilesForm deciles
get_annc_datesProduce a table mapping announcements to trading dates
get_event_cum_retsProduce a table of cumulative event returns
get_event_cum_rets_mthProduce a table of cumulative event returns using monthly...
get_event_datesProduce a table mapping announcements to trading dates
get_event_retsProduce a table of event returns
get_ff_indFetch Fama-French industry grouping.
get_got_dataGenerate simulated data as described in Gow, Ormazabal and...
get_idd_periodsPeriod for Inevitable Disclosure Doctrine (IDD)
get_me_breakpointsCreate a table of with cut-offs for size portfolios
get_size_rets_monthlyCreate a table of monthly returns for size portfolios
get_test_scoresA function returning data on test_scores.
get_trading_datesProduce a table mapping dates on CRSP to "trading days"
idd_datesDates for Inevitable Disclosure Doctrine (IDD)
iliev_2010Data on public float.
llz_2018GVKEYs used in Li, Lin and Zhang (2018)
michels_2017Data on firms suffering natural disasters.
ndcgCalculate metric metric: NDCG at k
pipePipe operator
rocA function returning data for a ROC plot.
rusRandom under-sampling function Function to create temporary...
rusboostRUSBoost for two-class problems
sho_r3000Russell 3000 stocks at time of SEC Reg SHO sample formation.
sho_r3000_gvkeysRussell 3000 sample used by SEC with GVKEYs
sho_r3000_sampleRussell 3000 sample used by SEC
sho_tickersTickers of pilot firms for Reg SHO.
state_hqData on firm headquarters based on SEC EDGAR filings.
test_scoresTest scores
truncateTruncate a vector.
undisclosed_namesCustomer names that represent non-disclosures.
winsorizeWinsorize a vector.
zhang_2007_eventsEvent dates from Zhang (2007)
zhang_2007_windowsEvent windows from Zhang (2007)
farr documentation built on Feb. 16, 2023, 8:11 p.m.