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-any)PCRA_1.3.1.zip(r-4.6-any)PCRA_1.3.1.zip(r-4.5-any)
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
- iceIndices - IceIndices
- 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:0cb9edd1b5. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 287 | ||
| source / vignettes | OK | 393 | ||
| linux-release | OK | 347 | ||
| macos-release | OK | 179 | ||
| macos-oldrel | OK | 261 | ||
| windows-devel | OK | 237 | ||
| windows-release | OK | 176 | ||
| windows-oldrel | OK | 215 | ||
| wasm-release | OK | 259 |
Exports:abbreviate_namebarplotWtsbootEfrontsbuildPortfolioschart.EfrontchartCusumcleanOutlierscusumActMgrdivHHIellipsesPlotPCRA.covfmewmaMeanVolgetPCRADataKRestlevgLongShortmathEfrontmathEfrontCashRiskymathEfrontRiskymathEfrontRiskyMuCovmathGmvmathGmvMuCovmathTportmathWtsEfrontRiskymathWtsEfrontRiskyMuCovmeanReturns4TypesminVarCashRiskyminVarRiskyLOopt.outputMvoPCRAplotLSandHuberRobustSFMplotLSandRobustSFMpsiHuberqqnormDatWindatreturnsCRSPxtsrunMultipleBacktestsrunPortfolioBacktestselectCRSPandSPGMISKeststocksCRSPxtsto_monthlyto_weeklytransferCoeftsPlotMPturnOverupdate_dev_pkgwinsorizewinsorMean
Dependencies:abindaskpassbackportsbase64encbootbrewbriobroombslibcachemcallrcarcarDatacheckmateclicliprcodetoolscolorspacecommonmarkcorpcorcorrplotcowplotcpp11crayoncredentialscurldata.tableDEoptimRDerivdescdevtoolsdiffobjdigestdoBydownlitdplyrellipsisevaluatefansifarverfastmapfontawesomeforeachforecastFormulafracdifffsgenericsGenSAgertggplot2ggpubrggrepelggsciggsignifgitcredsgluegridExtragtablehighrhtmltoolshtmlwidgetshttpuvhttr2iniisobanditeratorsjquerylibjsonliteknitrlabelinglaterlatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmcomemoisemgcvmimeminiUIminqamodelrmvtnormnlmenloptrnnetnumDerivopensslotelpakpbkrtestpcaPPPerformanceAnalyticspillarpkgbuildpkgconfigpkgdownpkgloadpolynomPortfolioAnalyticspraiseprettyunitsprocessxprofvispromisespspsopurrrpyinitquadprogquantregR.cacheR.methodsS3R.ooR.utilsR6raggrappdirsrbibutilsrcmdcheckRColorBrewerRcppRcppArmadilloRcppEigenRdpackrdtoolsreformulasregistryrlangrmarkdownRobStatTMrobustbaseROIROI.plugin.symphonyroxygen2rprojrootrrcovrstatixrstudioapiRsymphonyrversionsS7sassscalessessioninfoshinyslamsourcetoolsSparseMstringistringrsurvivalsyssystemfontstestthattextshapingtibbletidyrtidyselecttimeDatetinytexurcaurlcheckerusethisutf8vctrsviridisLitewaldowhiskerwithrxfunxml2xopenxtablextsyamlzipzoo
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