Package: PCRA 1.3.1
PCRA: Companion to Portfolio Construction and Risk Analysis
A collection of functions and data sets that support teaching a quantitative finance MS level course on Portfolio Construction and Risk Analysis, and the writing of a textbook for such a course. The package is unique in providing several real-world data sets that may be used for problem assignments and student projects. The data sets include cross-sections of stock data from the Center for Research on Security Prices, LLC (CRSP), corresponding factor exposures data from S&P Global, and several SP500 data sets.
Authors:
PCRA_1.3.1.tar.gz
PCRA_1.3.1.zip(r-4.7)PCRA_1.3.1.zip(r-4.6)PCRA_1.3.1.zip(r-4.5)
PCRA_1.3.1.tgz(r-4.6-any)PCRA_1.3.1.tgz(r-4.5-any)
PCRA_1.3.1.tar.gz(r-4.7-any)PCRA_1.3.1.tar.gz(r-4.6-any)
PCRA_1.3.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
PCRA/json (API)
| # Install 'PCRA' in R: |
| install.packages('PCRA', repos = c('https://robustport.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/robustport/pcra/issues
- BXMdata - CBOE S&P 500 BuyWrite Index
- CboeOptionStrategies - CboeOptionStrategies
- ConferenceBoardETI - ConferenceBoardETI
- crsp.returns8 - CRSP Returns for 8 stocks in 4 cap groups
- CRSPLiquidMktCapGrpsCnts - CRSP Stocks Cap Groups Counts
- datFF3W - Fama-French 3-Factor Model Weekly Time Series
- datFF4W - Fama-French 4-Factor Model Weekly Time Series
- factorsSPGMI - SPGMI Data 14 Factors for 294 Stocks
- factorsSPGMIr - Rounded Version of SPGMI Data 14 Factors
- FRBinterestRates - Federal Reserve Board Interest Rates
- gfunds5 - Five German Investment Funds
- HFstrategies - Hedge Fund Strategies Returns
- invensysEPS - Invensys Earnings per Share
- MarketData - Global Baskets of Equity and Bonds
- retDD - CRSP Returns of Stock with Ticker DD
- retEDS - CRSP Returns of Stock with Ticker EDS
- retFNB - CRSP Returns of Stock with Ticker FNB
- retKBH - CRSP Returns of Stock with Ticker KBH
- retMER - CRSP Returns of Stock with Ticker MER
- retOFG - CRSP Returns of Stock with Ticker OFG
- retPSC - CRSP Returns of Stock with Ticker PSC
- retVHI - CRSP Returns of Stock with Ticker VHI
- retWTS - CRSP Returns of Stock with Ticker WTS
- ShortDurationCredit - ShortDurationCredit
- SP400Industrials - SP400Industrials
- SP425Industrials - SP425Industrials
- SP500 - SP500
- SP500data - SP500data
- SP500from1967to2007 - SP500from1967to2007
- SPIndustrials - SPIndustrials
- stocksCRSPdaily - CRSP daily stocks data for 294 stocks
- stocksCRSPmonthly - StocksCRSPmonthly
- stocksCRSPweekly - CRSP weekly stocks data for 294 stocks
- USTreasuryTradeweb - USTreasuryTradeweb
Last updated from:dea6a6f59f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 328 | ||
| source / vignettes | OK | 394 | ||
| linux-release-x86_64 | OK | 270 | ||
| macos-release-arm64 | OK | 157 | ||
| macos-oldrel-arm64 | OK | 166 | ||
| windows-devel | OK | 218 | ||
| windows-release | OK | 177 | ||
| windows-oldrel | OK | 196 | ||
| wasm-release | OK | 229 |
Exports:abbreviate_namebarplotWtsbootEfrontsbuildPortfolioschart.EfrontcleanOutliersdivHHIellipsesPlotPCRA.covfmewmaMeanVolgetPCRADataKRestlevgLongShortmathEfrontmathEfrontCashRiskymathEfrontRiskymathEfrontRiskyMuCovmathGmvmathGmvMuCovmathTportmathWtsEfrontRiskymathWtsEfrontRiskyMuCovmeanReturns4TypesminVarCashRiskyminVarRiskyLOopt.outputMvoPCRAplotLSandHuberRobustSFMplotLSandRobustSFMpsiHuberqqnormDatWindatreturnsCRSPxtsrunMultipleBacktestsrunPortfolioBacktestselectCRSPandSPGMISKeststocksCRSPxtsto_monthlyto_weeklytransferCoeftsPlotMPturnOverupdate_dev_pkgwinsorizewinsorMean
Dependencies:askpassbackportsbase64encbootbrewbriobslibcachemcallrcheckmateclicliprcodetoolscommonmarkcorpcorcpp11crayoncredentialscurldata.tableDEoptimRdescdevtoolsdiffobjdigestdownlitellipsisevaluatefansifastmapfontawesomeforeachfsGenSAgertgitcredsgluehighrhtmltoolshtmlwidgetshttpuvhttr2iniiteratorsjquerylibjsonliteknitrlaterlatticelifecyclemagrittrMASSmcomemoisemimeminiUImvtnormopensslotelpakpcaPPPerformanceAnalyticspillarpkgbuildpkgconfigpkgdownpkgloadPortfolioAnalyticspraiseprettyunitsprocessxprofvispromisespspsopurrrpyinitquadprogR.cacheR.methodsS3R.ooR.utilsR6raggrappdirsrcmdcheckRcppregistryrlangrmarkdownRobStatTMrobustbaseROIROI.plugin.symphonyroxygen2rprojrootrrcovrstudioapiRsymphonyrversionssasssessioninfoshinyslamsourcetoolsstringisyssystemfontstestthattextshapingtibbletinytexurlcheckerusethisutf8vctrswaldowhiskerwithrxfunxml2xopenxtablextsyamlzipzoo
Last update: 2026-07-14
Started: 2026-07-14
Last update: 2026-07-14
Started: 2026-07-14
Last update: 2026-07-14
Started: 2026-07-14
