NYC Data Science Academy| Blog
Bootcamps
Lifetime Job Support Available Financing Available
Bootcamps
Data Science with Machine Learning Flagship ๐Ÿ† Data Analytics Bootcamp Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lesson
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories Testimonials Alumni Directory Alumni Exclusive Study Program
Courses
View Bundled Courses
Financing Available
Bootcamp Prep Popular ๐Ÿ”ฅ Data Science Mastery Data Science Launchpad with Python View AI Courses Generative AI for Everyone New ๐ŸŽ‰ Generative AI for Finance New ๐ŸŽ‰ Generative AI for Marketing New ๐ŸŽ‰
Bundle Up
Learn More and Save More
Combination of data science courses.
View Data Science Courses
Beginner
Introductory Python
Intermediate
Data Science Python: Data Analysis and Visualization Popular ๐Ÿ”ฅ Data Science R: Data Analysis and Visualization
Advanced
Data Science Python: Machine Learning Popular ๐Ÿ”ฅ Data Science R: Machine Learning Designing and Implementing Production MLOps New ๐ŸŽ‰ Natural Language Processing for Production (NLP) New ๐ŸŽ‰
Find Inspiration
Get Course Recommendation Must Try ๐Ÿ’Ž An Ultimate Guide to Become a Data Scientist
For Companies
For Companies
Corporate Offerings Hiring Partners Candidate Portfolio Hire Our Graduates
Students Work
Students Work
All Posts Capstone Data Visualization Machine Learning Python Projects R Projects
Tutorials
About
About
About Us Accreditation Contact Us Join Us FAQ Webinars Subscription An Ultimate Guide to
Become a Data Scientist
    Login
NYC Data Science Acedemy
Bootcamps
Courses
Students Work
About
Bootcamps
Bootcamps
Data Science with Machine Learning Flagship
Data Analytics Bootcamp
Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lessons
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook
Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories
Testimonials
Alumni Directory
Alumni Exclusive Study Program
Courses
Bundles
financing available
View All Bundles
Bootcamp Prep
Data Science Mastery
Data Science Launchpad with Python NEW!
View AI Courses
Generative AI for Everyone
Generative AI for Finance
Generative AI for Marketing
View Data Science Courses
View All Professional Development Courses
Beginner
Introductory Python
Intermediate
Python: Data Analysis and Visualization
R: Data Analysis and Visualization
Advanced
Python: Machine Learning
R: Machine Learning
Designing and Implementing Production MLOps
Natural Language Processing for Production (NLP)
For Companies
Corporate Offerings
Hiring Partners
Candidate Portfolio
Hire Our Graduates
Students Work
All Posts
Capstone
Data Visualization
Machine Learning
Python Projects
R Projects
About
Accreditation
About Us
Contact Us
Join Us
FAQ
Webinars
Subscription
An Ultimate Guide to Become a Data Scientist
Tutorials
Data Analytics
  • Learn Pandas
  • Learn NumPy
  • Learn SciPy
  • Learn Matplotlib
Machine Learning
  • Boosting
  • Random Forest
  • Linear Regression
  • Decision Tree
  • PCA
Interview by Companies
  • JPMC
  • Google
  • Facebook
Artificial Intelligence
  • Learn Generative AI
  • Learn ChatGPT-3.5
  • Learn ChatGPT-4
  • Learn Google Bard
Coding
  • Learn Python
  • Learn SQL
  • Learn MySQL
  • Learn NoSQL
  • Learn PySpark
  • Learn PyTorch
Interview Questions
  • Python Hard
  • R Easy
  • R Hard
  • SQL Easy
  • SQL Hard
  • Python Easy
Data Science Blog > Student Works > Data Analysis Minority and Non-Minority Business Creation

Data Analysis Minority and Non-Minority Business Creation

Shelby Ahern
Posted on Jul 27, 2014

Project GitHub | LinkedIn:   Niki   Moritz   Hao-Wei   Matthew   Oren

The skills we demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Contributed by Shelby Ahern. Shelby took our Data Science with R - Beginner Level - class with Vivian Zhang in June, 2014. This post was based on her final project submission.

The focus of this exploration was reviewing the level of new business creation in New York City by minority and non-minority populations from 2005-2013. In this post, Iโ€™ll review the process of preparing the data and conducting two hypothesis tests on the primary measure --  the number of incorporations per capita. Data sources and definitions may be found as notes at the bottom of this post. Also, the presentation deck for this project is available on SlideShare.

Preparing the Data

I created a CSV file for the Active Corporations and XLSX files for the MBE and Population files, respectively. I then created data frames combining the data from Active Corporations, MBE Directory, and population files, by borough and year, to prep each data frame for four new additional columns of calculated measures. The calculated measures are:

  1. Incorporations per Capita
  2. MBE Incorporations per Capita
  3. MBE Incorporations per Minority capita
  4. Non-MBE Incorporations per Non-Minority capita

Hereโ€™s an example of a data frame for Manhattan:

> Manhattan

Manhattan Corporation df

Dataframes for Brooklyn, Queens, Bronx, and Staten Island.

Immediately, we see that the number of Incorporations and MBE Incorporations per year differ by at least a factor of 1000+. This is also reflected in the per capita measures. Even when compared to minority population alone, the number of MBE incorporations is tens of thousands of times less than the number of Non-MBE Incorporations per Non-Minority capita.

 

Initial Analysis

Graphing the per capita measures for the boroughs shows a similar disparity in the other boroughs as well - in fact, the MBE per capita dimensions donโ€™t even register within the vertical scale.

Corporations per Capita, 5 Boroughs

Here is the code for the graph:

library(ggplot2)
p3 <- ggplot() +
geom_point(data=MH_Corps, aes(year, NwCorpsperCap), colour="coral3") +
geom_point(data=MH_Corps, aes(year, NwMBECorpsperCap), colour="coral") +
geom_point(data=BK_Corps, aes(year, NwCorpsperCap), colour="aquamarine3") +
geom_point(data=BK_Corps, aes(year, NwMBECorpsperCap), colour="aquamarine") +
geom_point(data=QN_Corps, aes(year, NwCorpsperCap), colour="royalblue3") +
geom_point(data=QN_Corps, aes(year, NwMBECorpsperCap), colour="royalblue") +
geom_point(data=BX_Corps, aes(year, NwCorpsperCap), colour="orange3") +
geom_point(data=BX_Corps, aes(year, NwMBECorpsperCap), colour="orange") +
geom_point(data=SI_Corps, aes(year, NwCorpsperCap), colour="mediumpurple3") +
geom_point(data=SI_Corps, aes(year, NwMBECorpsperCap), colour="mediumpurple") +
xlab('Year') +
ylab('New Corporations per Capita') +
facet_wrap(~ County, ncol=1)

Other findings from the borough comparisons show:

  • The per-capita incidence of incorporations increased across all boroughs, from 2005 - 2013.
  • Manhattan, Queens, and Brooklyn had the highest per-capita incorporations.
  • Queens appears to have the steepest increase in corporation filings.

 

To investigate MBE incorporation in the boroughs, I created a second graph of just the MBE Incorporations/capita:

MBE Corporations per Cap, 5 Boroughs

p4 <- ggplot() +
geom_point(data=MH_Corps, aes(year, NwMBECorpsperCap), colour="coral") +
geom_point(data=BK_Corps, aes(year, NwMBECorpsperCap), colour="aquamarine") +
geom_point(data=QN_Corps, aes(year, NwMBECorpsperCap), colour="royalblue") +
geom_point(data=BX_Corps, aes(year, NwMBECorpsperCap), colour="orange") +
geom_point(data=SI_Corps, aes(year, NwMBECorpsperCap), colour="mediumpurple") +
xlab('Year') +
ylab('New Corporations per Capita') +
facet_wrap(~ County, ncol=1)

  • The per-capita incidence of MBE incorporations varied by borough (led by Manhattan), and trended downward after 2009.

 

The glaring difference in the scale between the number of MBEs and non-MBEs lead me to consider the MBE data, specifically, the process and purpose of MBE certification. MBE certification is marketed by the city and the state primarily as a program that facilitates opportunity for competing for government contracts.

That aim may not be relevant to the majority of businesses, which is likely a significant explanation of why the MBE numbers are comparatively low. Further, the certification process is comprehensive - requiring personal financial statements, for example, which may be a barrier to other owners pursuing the certification. In short, MBE certifications do not represent the universe of businesses in NYC that are launched and operated by minorities.

However, without any other (as now) public data sets that include the race of the primary owner/controlling partners, weโ€™ll proceed with the analysis of new business starts by owner race with the data weโ€™ve been using (letโ€™s consider it an academic exercise).

 

Comparative Analysis

Q: Do the Frequency of Incorporations vary significantly between Minority and Non-Minority Populations?

The approach:

      1. Select Value to test:
        1. MBE Corps per Minority capita
        2. Non-MBE Corps per Non-Minority capita
        3. Utilize data from all years and boroughs (5 boroughs x 9 years x 2 categories = 90 obs.)
      2. Evaluate which test(s) to conduct.
        1. Parametric vs. Non-parametric
        2. Means test vs. Other
      3. Conduct test and analyze results.

Having determined which dimension will serve as the common measure (corp per capita; Minority vs. Non-Minority), letโ€™s take a look at the data distribution for both series. The purpose for doing so is to determine whether the data is normally distributed, which is an assumption required by some standard means tests, like a Z- or T-test.

Hereโ€™s the code and the output for a 3 ways I utilized for reviewing the MBE per Minority capita data for normality:

1. Histogram. Occurrences of MBE Incorporations per Minority capita for All Boroughs, 2005-2013.
Histogram, MBE per Minority Capita


MBE_Hist <- ggplot(NwMBECorpsperMBECap_l, aes(x=NwMBECorpsperMBECap_l$values));
MBE_Hist + geom_histogram(binwidth=.000001)

We can see that the data is skewed to the โ€œleftโ€ or rather, what would be considered below the where the mean would fall on a standard bell curve.

2. QQPlot Occurrences of MBE Incorporations per Minority capita vs. Normal Distribution (All Boroughs, 2005-2013)

QQplot MBE per Minority Capita


library(lattice)
qqmath(NwMBECorpsperMBECap_l$values)
qqline(NwMBECorpsperMBECap_l$values, col = 2)

The plot shows that the points do not fall along a linear pattern, which is the criteria for evaluating the normality of the data.

3. Shapiro-Wilk Test
Lastly, I conducted a Shapiro-Wilk test for normality and the p-value returned was less than the test value of .1. Thus the null hypothesis - that the data is normally distributed - is rejected.


shapiro.test(NwMBECorpsperMBECap_l$values)
# Shapiro-Wilk normality test
# data: NwMBECorpsperMBECap_l$values
# W = 0.89, p-value = 0.0004636
# p.value < 0.1
#Null hypothesis (data is normally distributed) is rejected

Concluding that the data for MBE Incorporations per Minority capita is not normally distributed (nor was the data for Non-MBE/Non-Minority capita), I sought population comparison tests that did not require parametric datasets. Moodโ€™s Median Test and the Mann-Whitney-Wilcoxon Test were two tests that satisfied those conditions and were applicable.

 

Hypothesis Testing

Moodโ€™s Median Test

A nonparametric test where the null hypothesis of the medians of the populations from which two or more samples are drawn are identical. (Wikipedia)

H0: Medians of MBE Incorporations per Minority capita and Non-MBE Incorporations per Non-Minority capita are equivalent.
H1: Medians of MBE - Minority cap and Non-MBE -- Non-Minority cap are NOT equivalent.


median.test <- function(x, y) {
z <- c(x, y)
g <- rep(1:2, c(length(x), length(y)))
m <- median(z)
fisher.test(z < m, g)$p.value
}
median.test(NwMBECorpsperMBECap_l$values, NwNonMBECorpsperNonMBECap_l$values)
[1] 1.9e-26 # p-value
# p.value < 0.05
# Null hypothesis (medians are equal) is rejected
}

Results

The null hypothesis was rejected, thus, we can conclude that the median(s) of the MBE Incorporations per Minority Capita data set across all boroughs and years is significantly different from the Non-Minority Incorporations per Non-Minority capita in the same geographies during the same period of time.

Mann-Whitney-Wilcoxon Test

A nonparametric test of the null hypothesis that two populations are the same against an alternative hypothesis, especially that a particular population tends to have larger values than the other. (Wikipedia)

H0: MBE Incorporations per Minority capita and Non-MBE Incorporations per Non-Minority capita could be representative of the same set of data.
H1: MBE Incorporations per Minority capita and Non-MBE Incorporations per Non-Minority capita could NOT be representative of the same set of data.

wilcox.test(values ~ Set, data=AllPerCapObs)
#Wilcoxon rank sum test
#data: values by Set
#W = 0, p-value < 2.2e-16
#alternative hypothesis: true location shift is not equal to 0

The null hypothesis was rejected which we interpret as validation that the number of per-capita incorporations per year by minority status could not be produced from the same population.

 

Conclusion
There is a significant difference between the levels of new business creation by race, but, within this exploration, is primarily attributable to how minority entrepreneurship was defined (by MBE certification). Without other ways of tracking MBE business development, MBE certification serves as an inaccurate measure. Separately, without broadening the objective of the MBE certification program to include other stronger incentives for prospective participants, the City may not see increased rates of participation nor the MBE certification as an effective tool for encouraging minority business creation.

 

Data Sources and Definitions

The data include:

  • Active Corporations: Beginning 1800.  Source: New York State Department of State, Division of Corporations, State Records & UCC. Accessed 7/1/2014.
  • NYC Online Directory of Certified Businesses: Minority-Owned Business Enterprises (MBE).  Source: New York City Department of Small Business Services. Accessed 7/9/2014.
  • 2010 Census and American Community Survey 1-year Population Estimates (2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013).  Source: U.S. Census Bureau and SocialExplorer.com. Accessed 7/15/2014.

Definitions:

  • โ€œNew Businessesโ€ and Incorporations, used interchangeably herein, are the following Entity Types (from Active Corporations dataset):
    • Domestic Business Corporation
    • Domestic Cooperative Corporation
    • Domestic Professional Corporation
  • Borough = County (used for all data sets)
    • Manhattan: New York County
    • Brooklyn: Kings County
    • Queens = Queens County
    • Bronx = Bronx County
    • Staten Island = Richmond County
  • Minority Business Enterprise: โ€œUnder Article 15-A of the Executive Law, an MBE is a business enterprise in which at least fifty-one percent (51%) is owned, operated and controlled by citizens or permanent resident aliens who are meeting the ethnic definitions: Black, Hispanic, Asian-Pacific, Asian-Indian Subcontinent, Native American.โ€ http://www.esd.ny.gov/MWBE/Qualifications.html. Accessed 7/16/2014.

  • Minority population, and/or Minority capita: the term minority is based on the count of the populations of the following races (U.S. Census Bureau): Black or African American Alone, American Indian and Alaska Native Alone, Asian Alone, Native Hawaiian and Other Pacific Islander Alone, Some Other Race Alone, and โ€œTwo or More racesโ€.
    • Note: in 2013, the U.S. Census Bureau stopped the practice of bucketing โ€œSome Other Race Alone,โ€ which is a variation in the data between 2005-2012 and 2013.
    • Non-minority per capita is the inverse of the minority per capita, typically โ€œWhite Alone.โ€

About Author

Shelby Ahern

View all posts by Shelby Ahern >

Related Articles

Machine Learning
Accurately Predicting House Prices and Improving Client Experience with Machine Learning
Data Visualization
NYC Open Restaurants and the Rise of 311 Complaints
Big Data
Data-driven Predictions of Citi Bike Trip Demand
Data Visualization
Detailed Data Analysis: The Rise of NYC 311 Noise Complaints
Student Works
Little Rascals - A View of Pre-K Schools in NYC

Leave a Comment

Cancel reply

You must be logged in to post a comment.

No comments found.

View Posts by Categories

All Posts 2399 posts
AI 7 posts
AI Agent 2 posts
AI-based hotel recommendation 1 posts
AIForGood 1 posts
Alumni 60 posts
Animated Maps 1 posts
APIs 41 posts
Artificial Intelligence 2 posts
Artificial Intelligence 2 posts
AWS 13 posts
Banking 1 posts
Big Data 50 posts
Branch Analysis 1 posts
Capstone 206 posts
Career Education 7 posts
CLIP 1 posts
Community 72 posts
Congestion Zone 1 posts
Content Recommendation 1 posts
Cosine SImilarity 1 posts
Data Analysis 5 posts
Data Engineering 1 posts
Data Engineering 3 posts
Data Science 7 posts
Data Science News and Sharing 73 posts
Data Visualization 324 posts
Events 5 posts
Featured 37 posts
Function calling 1 posts
FutureTech 1 posts
Generative AI 5 posts
Hadoop 13 posts
Image Classification 1 posts
Innovation 2 posts
Kmeans Cluster 1 posts
LLM 6 posts
Machine Learning 364 posts
Marketing 1 posts
Meetup 144 posts
MLOPs 1 posts
Model Deployment 1 posts
Nagamas69 1 posts
NLP 1 posts
OpenAI 5 posts
OpenNYC Data 1 posts
pySpark 1 posts
Python 16 posts
Python 458 posts
Python data analysis 4 posts
Python Shiny 2 posts
R 404 posts
R Data Analysis 1 posts
R Shiny 560 posts
R Visualization 445 posts
RAG 1 posts
RoBERTa 1 posts
semantic rearch 2 posts
Spark 17 posts
SQL 1 posts
Streamlit 2 posts
Student Works 1687 posts
Tableau 12 posts
TensorFlow 3 posts
Traffic 1 posts
User Preference Modeling 1 posts
Vector database 2 posts
Web Scraping 483 posts
wukong138 1 posts

Our Recent Popular Posts

AI 4 AI: ChatGPT Unifies My Blog Posts
by Vinod Chugani
Dec 18, 2022
Meet Your Machine Learning Mentors: Kyle Gallatin
by Vivian Zhang
Nov 4, 2020
NICU Admissions and CCHD: Predicting Based on Data Analysis
by Paul Lee, Aron Berke, Bee Kim, Bettina Meier and Ira Villar
Jan 7, 2020

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day ChatGPT citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay football gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income industry Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI

NYC Data Science Academy

NYC Data Science Academy teaches data science, trains companies and their employees to better profit from data, excels at big data project consulting, and connects trained Data Scientists to our industry.

NYC Data Science Academy is licensed by New York State Education Department.

Get detailed curriculum information about our
amazing bootcamp!

Please enter a valid email address
Sign up completed. Thank you!

Offerings

  • HOME
  • DATA SCIENCE BOOTCAMP
  • ONLINE DATA SCIENCE BOOTCAMP
  • Professional Development Courses
  • CORPORATE OFFERINGS
  • HIRING PARTNERS
  • About

  • About Us
  • Alumni
  • Blog
  • FAQ
  • Contact Us
  • Refund Policy
  • Join Us
  • SOCIAL MEDIA

    ยฉ 2025 NYC Data Science Academy
    All rights reserved. | Site Map
    Privacy Policy | Terms of Service
    Bootcamp Application