Author

Darren Gidado

Browsing

In this Data Project I will be looking at data from the 2012 election. In this project we will analyze two datasets. The first data set will be the results of political polls. We will analyze this aggregated poll data and answer some questions: 1.) Who was being polled and what was their party affiliation? 2.) Did the poll results favor Romney or Obama? 3.) How do undecided voters effect the poll? 4.) Can we account for the undecided voters? 5.) How did voter sentiment change over time? 6.) Can we see an effect in the polls from the debates? We’ll discuss the second data set later on! Let’s go ahead and start with our standard imports:In [1]: import pandas as pd from pandas import Series, DataFrame import numpy as np The data for the polls will be obtained from HuffPost Pollster. You can check their website here. There are some…

Introduction The sinking of the RMS Titanic is one of the most infamous shipwrecks in history. On April 15, 1912, during her maiden voyage, the Titanic sank after colliding with an iceberg, killing 1502 out of 2224 passengers and crew. This sensational tragedy shocked the international community and led to better safety regulations for ships. One of the reasons that the shipwreck led to such loss of life was that there were not enough lifeboats for the passengers and crew. Although there was some element of luck involved in surviving the sinking, some groups of people were more likely to survive than others, such as women, children, and the upper-class. In this project, I will complete the analysis of what sorts of people were likely to survive. In particular, apply the tools of machine learning to predict which passengers survived the tragedy. Questions All good data analysis projects begin with…

In this portfolio project I will be looking at data from the stock market, particularly some technology stocks. I will use pandas to get stock information, visualize different aspects of it, and finally I will look at a few ways of analyzing the risk of a stock, based on its previous performance history. I will also be predicting future stock prices through a Monte Carlo method! I’ll be answering the following questions along the way: 1.) What was the change in price of the stock over time?2.) What was the daily return of the stock on average?3.) What was the moving average of the various stocks?4.) What was the correlation between different stocks’ closing prices?5.) What was the correlation between different stocks’ daily returns?6.) How much value do we put at risk by investing in a particular stock?7.) How can we attempt to predict future stock behavior? Basic Analysis of…