BLOG

BLOG2020-07-05T13:45:11+05:00
1102, 2020

Getting Started with Data Visualization in Python Pandas

February 11th, 2020|Categories: Blog|Tags: , , , |0 Comments

DOWNLOAD DATASETS¶ To download the datasets used in this tutorial, pleas see the following links 1. gapminder.tsv 2. pew.csv 3. billboard.csv 4. ebola.csv 5. tips.csv TED Talk Dataset Excercises¶ In [5]: # Change directory In [6]: cd "D:\Dropbox\CLASSES\Data Science for Finance\Python\Lecture 1 - Assignment" D:\Dropbox\CLASSES\Data Science for Finance\Python\Lecture 1 - Assignment In [7]: import pandas as pd In [8]: ted [...]

2201, 2020

Step-by-Step: Portfolio Risk in Stata and Excel

January 22nd, 2020|Categories: Uncategorized|0 Comments

Portfolio Risk in Excel To build our concept of the portfolio risk, we shall calculate it first manually in EXCEL, then we shall replicate the results using matrix notations in Stata. Consider the following set of returns for two assets, i.e asset A and B.     A       B    .249917 .819483 .739069 .821416 .895491 .276843 .902722 .001586 [...]

2412, 2019

How Fama and French June to July Portfolios are Constructed?

December 24th, 2019|Categories: Asset Pricing Research, Blog|Tags: , , , , |4 Comments

The description of portfolios' construction given in various Fama and Fench papers is usually confusing for many researchers, especially those who are new to asset pricing models. The typical language used in Fama and French papers reads like this The size breakpoint for year t is the median NYSE market equity at the end of [...]

2012, 2019

fillmissing: Fill Missing Values in Stata

December 20th, 2019|Categories: Blog|Tags: , , , |14 Comments

This post offers a brief tutorial on filling missing values in Stata variables. The tutorial utilizes the 'fillmissing' program, which you can download by entering the following command in the Stata command window ssc install fillmissing, replace Important Note: This post does not imply that filling missing values is theoretically justified. Users should exercise their [...]

1210, 2019

Export output of Table command from Stata to Word using asdoc

October 12th, 2019|Categories: asdoc, Blog|10 Comments

Exporting tables from table command was the most challenging part in asdoc programming. Nevertheless, asdoc does a pretty good job in exporting table from table command. asdoc accepts almost all options with table command, except cellwidth(#), stubwidth(#), and csepwidth(#).   7.1 One-way table Example 54 : One-way table; frequencies shown by default sysuse auto, [...]

Go to Top