├── .Rbuildignore ├── .Rinstignore ├── .gitattributes ├── .github ├── .gitignore └── workflows │ └── R-CMD-check.yaml ├── .gitignore ├── .gitmodules ├── ChangeLog ├── DESCRIPTION ├── LICENSE ├── Makefile ├── NAMESPACE ├── R ├── AllClass.r ├── Ops.r ├── bind.r ├── blockrep.r ├── coerce.r ├── data.r ├── det.r ├── diag.r ├── eigen.r ├── elwise.r ├── madness_pkg.r ├── matwise.r ├── max.r ├── norm.r ├── numderiv.r ├── reshape.r ├── solve.r ├── sum.r ├── sums.r ├── theta.r ├── to_objective.r ├── trace.r ├── twomoments.r ├── utils.r ├── vcov.r └── vec.r ├── README.Rmd ├── README.md ├── data-raw ├── .gitignore ├── AAPL.csv ├── F-F_Research_Data_Factors_weekly.CSV └── IBM.csv ├── data ├── stock_returns.rda └── wff3.rda ├── docker ├── Dockerfile ├── apt_packages.txt └── r_packages.txt ├── github_extra └── figure │ └── GevbfLD.jpg ├── inst └── CITATION ├── m4 ├── DESCRIPTION.m4 └── basedefs.m4 ├── man-roxygen └── etc.R ├── man ├── NEWS.Rd ├── accessor-methods.Rd ├── arithops.Rd ├── as.Rd ├── as.madness.Rd ├── bind.Rd ├── blockrep.Rd ├── colsums.Rd ├── det.Rd ├── eigen.Rd ├── elwise.Rd ├── extract-methods.Rd ├── figures │ ├── cosym-mo-1.png │ ├── marksym-check-1.png │ └── matracer-1.png ├── madness-class.Rd ├── madness-pkg.Rd ├── marithops.Rd ├── matrix.trace.Rd ├── matwise.Rd ├── max.Rd ├── norm.Rd ├── numderiv.Rd ├── outer.Rd ├── reshapes.Rd ├── setter-methods.Rd ├── show-methods.Rd ├── solve.Rd ├── stock_returns.Rd ├── sumprod.Rd ├── theta.Rd ├── to_objective.Rd ├── todiag.Rd ├── twomoments.Rd ├── vcov.madness.Rd ├── vec.Rd └── wff3.Rd ├── nodist ├── .footer.r ├── .header.r ├── gen_bib.R ├── github_extra │ └── figure │ │ └── GevbfLD.jpg ├── make_stocks.r ├── make_wff3.r └── svd.r ├── rebuildTags.sh ├── tests ├── testthat.R └── testthat │ ├── test-basic.r │ └── test-correctness.r ├── tools └── figure │ └── GevbfLD.jpg └── vignettes ├── common.bib └── introducing_madness.Rnw /.Rbuildignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/.Rbuildignore -------------------------------------------------------------------------------- /.Rinstignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /.github/workflows/R-CMD-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/.github/workflows/R-CMD-check.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/.gitmodules -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/ChangeLog -------------------------------------------------------------------------------- /DESCRIPTION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/DESCRIPTION -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/Makefile -------------------------------------------------------------------------------- /NAMESPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/NAMESPACE -------------------------------------------------------------------------------- /R/AllClass.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/AllClass.r -------------------------------------------------------------------------------- /R/Ops.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/Ops.r -------------------------------------------------------------------------------- /R/bind.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/bind.r -------------------------------------------------------------------------------- /R/blockrep.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/blockrep.r -------------------------------------------------------------------------------- /R/coerce.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/coerce.r -------------------------------------------------------------------------------- /R/data.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/data.r -------------------------------------------------------------------------------- /R/det.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/det.r -------------------------------------------------------------------------------- /R/diag.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/diag.r -------------------------------------------------------------------------------- /R/eigen.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/eigen.r -------------------------------------------------------------------------------- /R/elwise.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/elwise.r -------------------------------------------------------------------------------- /R/madness_pkg.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/madness_pkg.r -------------------------------------------------------------------------------- /R/matwise.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/matwise.r -------------------------------------------------------------------------------- /R/max.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/max.r -------------------------------------------------------------------------------- /R/norm.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/norm.r -------------------------------------------------------------------------------- /R/numderiv.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/numderiv.r -------------------------------------------------------------------------------- /R/reshape.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/reshape.r -------------------------------------------------------------------------------- /R/solve.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/solve.r -------------------------------------------------------------------------------- /R/sum.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/sum.r -------------------------------------------------------------------------------- /R/sums.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/sums.r -------------------------------------------------------------------------------- /R/theta.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/theta.r -------------------------------------------------------------------------------- /R/to_objective.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/to_objective.r -------------------------------------------------------------------------------- /R/trace.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/trace.r -------------------------------------------------------------------------------- /R/twomoments.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/twomoments.r -------------------------------------------------------------------------------- /R/utils.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/utils.r -------------------------------------------------------------------------------- /R/vcov.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/vcov.r -------------------------------------------------------------------------------- /R/vec.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/R/vec.r -------------------------------------------------------------------------------- /README.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/README.Rmd -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/README.md -------------------------------------------------------------------------------- /data-raw/.gitignore: -------------------------------------------------------------------------------- 1 | *.zip 2 | -------------------------------------------------------------------------------- /data-raw/AAPL.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/data-raw/AAPL.csv -------------------------------------------------------------------------------- /data-raw/F-F_Research_Data_Factors_weekly.CSV: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/data-raw/F-F_Research_Data_Factors_weekly.CSV -------------------------------------------------------------------------------- /data-raw/IBM.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/data-raw/IBM.csv -------------------------------------------------------------------------------- /data/stock_returns.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/data/stock_returns.rda -------------------------------------------------------------------------------- /data/wff3.rda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/data/wff3.rda -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/apt_packages.txt: -------------------------------------------------------------------------------- 1 | pandoc 2 | ghostscript 3 | qpdf 4 | -------------------------------------------------------------------------------- /docker/r_packages.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/docker/r_packages.txt -------------------------------------------------------------------------------- /github_extra/figure/GevbfLD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/github_extra/figure/GevbfLD.jpg -------------------------------------------------------------------------------- /inst/CITATION: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/inst/CITATION -------------------------------------------------------------------------------- /m4/DESCRIPTION.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/m4/DESCRIPTION.m4 -------------------------------------------------------------------------------- /m4/basedefs.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/m4/basedefs.m4 -------------------------------------------------------------------------------- /man-roxygen/etc.R: -------------------------------------------------------------------------------- 1 | #' @author Steven E. Pav \email{shabbychef@@gmail.com} 2 | -------------------------------------------------------------------------------- /man/NEWS.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/NEWS.Rd -------------------------------------------------------------------------------- /man/accessor-methods.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/accessor-methods.Rd -------------------------------------------------------------------------------- /man/arithops.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/arithops.Rd -------------------------------------------------------------------------------- /man/as.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/as.Rd -------------------------------------------------------------------------------- /man/as.madness.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/as.madness.Rd -------------------------------------------------------------------------------- /man/bind.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/bind.Rd -------------------------------------------------------------------------------- /man/blockrep.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/blockrep.Rd -------------------------------------------------------------------------------- /man/colsums.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/colsums.Rd -------------------------------------------------------------------------------- /man/det.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/det.Rd -------------------------------------------------------------------------------- /man/eigen.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/eigen.Rd -------------------------------------------------------------------------------- /man/elwise.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/elwise.Rd -------------------------------------------------------------------------------- /man/extract-methods.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/extract-methods.Rd -------------------------------------------------------------------------------- /man/figures/cosym-mo-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/figures/cosym-mo-1.png -------------------------------------------------------------------------------- /man/figures/marksym-check-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/figures/marksym-check-1.png -------------------------------------------------------------------------------- /man/figures/matracer-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/figures/matracer-1.png -------------------------------------------------------------------------------- /man/madness-class.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/madness-class.Rd -------------------------------------------------------------------------------- /man/madness-pkg.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/madness-pkg.Rd -------------------------------------------------------------------------------- /man/marithops.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/marithops.Rd -------------------------------------------------------------------------------- /man/matrix.trace.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/matrix.trace.Rd -------------------------------------------------------------------------------- /man/matwise.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/matwise.Rd -------------------------------------------------------------------------------- /man/max.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/max.Rd -------------------------------------------------------------------------------- /man/norm.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/norm.Rd -------------------------------------------------------------------------------- /man/numderiv.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/numderiv.Rd -------------------------------------------------------------------------------- /man/outer.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/outer.Rd -------------------------------------------------------------------------------- /man/reshapes.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/reshapes.Rd -------------------------------------------------------------------------------- /man/setter-methods.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/setter-methods.Rd -------------------------------------------------------------------------------- /man/show-methods.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/show-methods.Rd -------------------------------------------------------------------------------- /man/solve.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/solve.Rd -------------------------------------------------------------------------------- /man/stock_returns.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/stock_returns.Rd -------------------------------------------------------------------------------- /man/sumprod.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/sumprod.Rd -------------------------------------------------------------------------------- /man/theta.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/theta.Rd -------------------------------------------------------------------------------- /man/to_objective.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/to_objective.Rd -------------------------------------------------------------------------------- /man/todiag.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/todiag.Rd -------------------------------------------------------------------------------- /man/twomoments.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/twomoments.Rd -------------------------------------------------------------------------------- /man/vcov.madness.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/vcov.madness.Rd -------------------------------------------------------------------------------- /man/vec.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/vec.Rd -------------------------------------------------------------------------------- /man/wff3.Rd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/man/wff3.Rd -------------------------------------------------------------------------------- /nodist/.footer.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/.footer.r -------------------------------------------------------------------------------- /nodist/.header.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/.header.r -------------------------------------------------------------------------------- /nodist/gen_bib.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/gen_bib.R -------------------------------------------------------------------------------- /nodist/github_extra/figure/GevbfLD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/github_extra/figure/GevbfLD.jpg -------------------------------------------------------------------------------- /nodist/make_stocks.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/make_stocks.r -------------------------------------------------------------------------------- /nodist/make_wff3.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/make_wff3.r -------------------------------------------------------------------------------- /nodist/svd.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/nodist/svd.r -------------------------------------------------------------------------------- /rebuildTags.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/rebuildTags.sh -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/tests/testthat.R -------------------------------------------------------------------------------- /tests/testthat/test-basic.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/tests/testthat/test-basic.r -------------------------------------------------------------------------------- /tests/testthat/test-correctness.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/tests/testthat/test-correctness.r -------------------------------------------------------------------------------- /tools/figure/GevbfLD.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/tools/figure/GevbfLD.jpg -------------------------------------------------------------------------------- /vignettes/common.bib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/vignettes/common.bib -------------------------------------------------------------------------------- /vignettes/introducing_madness.Rnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shabbychef/madness/HEAD/vignettes/introducing_madness.Rnw --------------------------------------------------------------------------------