Skip to content

Nathni641/MeanVarLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo MeanVarLab

MeanVarLab is an R package that provides an interactive Shiny application to explore portfolio optimization under the Mean-Variance framework.

It enables users to visualize the efficient frontier, analyze risk-return trade-offs, and evaluate portfolio performance using key financial metrics.


🚀 Features

  • 📈 Interactive visualization of the Efficient Frontier

  • ⚖️ Portfolio optimization based on Mean-Variance Theory

  • 📊 Calculation of performance metrics:

    • Sharpe Ratio
    • Sortino Ratio
  • 🎯 Utility-based portfolio optimization with user-defined preferences

  • 🔍 Exploration of asset allocation and risk-return dynamics


🧠 Methodology

The package is based on Modern Portfolio Theory (MPT), allowing users to:

  • Estimate expected returns and covariance matrices
  • Construct optimal portfolios under different constraints
  • Evaluate trade-offs between risk and expected return
  • Incorporate investor preferences through utility functions

💻 Installation

install.packages("remotes")
remotes::install_github("Nathni641/MeanVarLab")

▶️ Run the Application

MeanVarLab::run_meanvarlab()

📊 Outputs

  • Efficient frontier plot
  • Expected returns and covariance matrix
  • Portfolio performance metrics
  • Risk-return visualizations

🛠️ Tech Stack

  • R
  • Shiny
  • Portfolio Optimization techniques
  • Statistical modeling

🎯 Use Cases

  • Financial analysis and portfolio optimization
  • Academic projects in finance or data science
  • Interactive teaching tool for Modern Portfolio Theory

👤 Author

Nathalie Yuliana Niño-Vega & Julian Andrés Díaz Tautiva


📄 License

This project is open-source and available under the MIT License.

About

MeanVarLab provides a 'shiny' application to visualize the efficiency frontier of a portfolio under a mean-variance framework.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages