Publications by C. Alberto Dorantes Dosamantes, Ph.D.

Workshop 1 Solution - Financial Modeling and Programming

14.11.2023

Content 1 Introduction 2 Review of logit regression and its applications in Finance 3 Data collection 4 CHALLENGE 1 - CALCULATE QUARTERLY EBIT FROM YTD EBIT 5 CHALLENGE 1 SOLUTION 6 Brief descriptive statistics 6.1 CHALLENGE 2 - Creating a cross-sectional dataset 7 CHALLENGE 2 SOLUTION 8 CHALLENGE 3 - PASTE THE INDUSTRY INTO THE USPANEL AND THE ...

23508 sym Python (12771 sym/56 pcs) 7 img 3 tbl

Workshop 2, Investment Funds

25.09.2023

Content 1 General directions for this Workshop 2 The CAPM model 2.1 Data collection 2.2 Download stock data 2.3 Download risk-free data from the FED 2.4 Subsetting the risk-free dataset 2.5 Estimating the premium returns 3 Q Visualize the relationship 4 Q Estimating the CAPM model for a stock 5 Multi-Factor Models 6 W2 submission Workshop 1, In...

8776 sym Python (3049 sym/18 pcs) 2 img

Workshop 1 - Investment Funds

19.09.2023

Content 1 General directions for this Workshop 2 Portfolio Theory - Review 2.1 What is a Portfolio 2.2 Estimation of expected return of an asset 2.3 Estimation of expected risk of an asset 2.3.1 Variance 2.3.2 Standard deviation - volatility 2.4 Historical Sharpe ratio of a portfolio 3 Calculating expected portfolio return 3.1 Expected portfo...

28483 sym Python (11626 sym/96 pcs) 7 img

Project 2 - Advanced Statistics for AI

21.09.2023

Table of contents 1 Part 1 - Advanced topics in multiple regression 1.1 Descriptive Statistics 1.2 Multiple Regression - advanced topics 1.2.1 Calculation of Variables 1.2.2 Winsorization of variables 1.2.3 Multicollienarity 1.2.4 Multiple regression model 1.2.5 Regression Diagnosis 2 Part 2 - Forecasting Queretaro industrial activity 3 Evaluat...

7248 sym 2 tbl

Workshop 4 - Statistics for AI

25.08.2023

Content 1 Workshop Directions 2 Introduction 3 Interesting facts from history 4 Types of data structures 5 The OLS method 6 CHALLENGE: Estimate a market regression model 7 The standard error of the beta coefficients 8 CHALLENGE: Estimate moving betas for the market regression model 9 t-Statistic, p-value and 95% confidence interval of beta coeffic...

34445 sym Python (9494 sym/20 pcs) 7 img 3 tbl

Workshop 3 - Statistics for AI

23.08.2023

Content 1 Workshop Directions 2 Hypothesis testing - comparing the mean of 2 groups 3 Confidence level, Type I Error and pvalue 3.1 CHALLENGE - IS AMD MEAN RETURN HIGHER THAN INTEL MEAN RETURN? 4 Measures of linear relationship 4.1 Covariance 4.2 Correlation 4.3 Calculating covariance and correlation 5 References Workshop 3, Advanced AI - Sta...

19772 sym Python (4964 sym/39 pcs) 7 img 1 tbl

Project 1 - Statistics for AI

09.08.2023

Table of contents 1 Case Description 2 Business Questions 2.1 General questions: 2.2 Specific questions: 2.2.1 About descriptive statistics: 2.2.2 About statistical modeling 3 Deliverables 4 Evaluation criteria Project Block 1: Understanding profitability in the US financial market Author Alberto Dorantes D. Published August 8, 2023 Abst...

4907 sym 1 tbl

Workshop 1 - Statistics for AI

09.08.2023

Content 1 Workshop Directions 2 Descriptive Statistics 2.1 Central tendency measures 2.1.1 Arithmetic mean 2.1.2 The Median 2.1.3 Mode 2.2 Dispersion measures 2.2.1 Variance and standard deviation 2.3 CHALLENGE: Data management and Descriptive Statistics 2.3.1 Data collection and visualization 2.3.2 Data transformations 2.3.2.1 Return calcu...

31916 sym 7 img 7 tbl

Creating an Index from a portfolio

09.06.2023

Este es un ejemplo de cómo crear un índice a partir de un conjunto de acciones. La idea es generar un índice tipo ETF con un portafolio definido. Inicio bajando de Yahoo precios de 4 acciones library(quantmod) misticker = c("AAPL","LMT","RTX","MRO") getSymbols(Symbols = misticker,from="2019-01-01",to="2023-06-08",periodicity="monthly") ## [1...

1070 sym R (1563 sym/11 pcs) 5 img

Workshop 2 Solution - Time Series

05.06.2023

1 General directions for this Workshop You will work in RStudio. You can go to the RStudio web site and follow instructions to download the R software and the free version of RStudio. It is strongly recommended to have the latest version of R and RStudio. Once you are in RStudio, do the following. Create an R Notebook document (File -> New File...

18029 sym Python (9663 sym/52 pcs) 12 img