RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post

Recently Published

Orenetes a Sant Sadurni
2026-2024
Workflow PCI Saint Jean
Workflow description in clinique Saint Jean
Mengenal Quarto pada RSudio
Penjelasan ringkas mengenai Quarto dan penggunaannya
Taller 3. Curso de Diseño y Análisis de Datos
Análisis Bivariado y Evaluación de Pruebas de Hipotesis en Pacientes de la Unidad de Cuidados Intensivos (UCI)
Mapa clustering
Mapa interactivo clustering "Valencia: Ciudad de los 15 minutos"
Risk Analysis of Stock Portfolios Using Value at Risk (VaR) with the Extreme Value Theory Approach (Case Study: Banking Sub-sector Stocks Period May 1, 2019 - May 31, 2025)
This document contains the R code syntax and computational workflow for an undergraduate thesis focusing on the risk analysis of a stock portfolio within the Indonesian banking sub-sector (BBCA, BBNI, BBRI, BMRI, and BRIS). This analysis specifically estimates market risk—rather than seeking an optimal portfolio—using the Extreme Value Theory (EVT) approach to capture fat-tail phenomena and extreme events in the capital market. A crucial step in this computation is data transformation, where the log returns are multiplied by -1. This transformation is mandatory to invert the distribution direction so that the loss metric can be accurately modeled using extreme value theory.