You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,7 +48,9 @@ In this project tutorial, we'll be analyzing a dataset gathered from the 2022 [U
48
48
description="U.S. Census Data Analysis"
49
49
/>
50
50
51
-
We will begin to test our assumptions and answer some basic questions about various demographic groups using SciPy, NumPy, Pandas, and some basic working knowledge of statistics, including the following:
51
+
We will begin to test our assumptions and answer some basic questions about various demographic groups using SciPy, NumPy, Pandas, and some basic working knowledge of statistics.
52
+
53
+
The questions include:
52
54
53
55
- Is there a difference in mobility patterns between those that moved within their home state versus across states lines in New York and California in particular?
54
56
- And do trends vary amongst citizenship status?
@@ -57,7 +59,7 @@ We will begin to test our assumptions and answer some basic questions about vari
57
59
58
60
## Cleaning Raw Data
59
61
60
-
As you can see below, the original data provided by census.gov contains two separate CSVs, one with the raw data and another with metadata that contains details of what each column represents.
62
+
As you can see below, the original data provided by [census.gov](https://data.census.gov/) contains two separate CSVs, one with the raw data and another with metadata that contains details of what each column represents.
61
63
62
64
<RoundedImage
63
65
link="https://i.imgur.com/uvbRfkQ.png"
@@ -88,45 +90,35 @@ For the categories listed, each dataset contains the following columns, which ar
88
90
89
91
### Geographical Data
90
92
91
-
- Geography ID: a unique identifier used to reference specific geographic areas
92
-
- Census Tract: a small, relatively permanent subdivision of a county
93
-
- State: the state in which the Census Tract is located
94
-
- County: the county within the state in which the Census Tract resides
95
-
- Region: the broader geographic area in which the state or county is located, typically referring to one of four major regions: Northeast, Midwest, South, or West
96
-
- Division: a sub-region within a Census Bureau-defined region, used for more detailed geographic analysis
97
-
- Total Population: the total number of people residing in a specific Census Tract
93
+
-**Geography ID**: a unique identifier used to reference specific geographic areas
94
+
-**Census Tract**: a small, relatively permanent subdivision of a county
95
+
-**State**: the state in which the Census Tract is located
96
+
-**County**: the county within the state in which the Census Tract resides
97
+
-**Region**: the broader geographic area in which the state or county is located, typically referring to one of four major regions: Northeast, Midwest, South, or West
98
+
-**Division**: a sub-region within a Census Bureau-defined region, used for more detailed geographic analysis
99
+
-**Total Population**: the total number of people residing in a specific Census Tract
98
100
99
101
### Citizenship Status
100
102
101
-
Total U.S. Citizens (Native): the total number of individuals who are U.S. citizens by birth
102
-
103
-
Total U.S. Citizens (Naturalized): the total number of individuals who have obtained U.S. citizenship through the naturalization process after being born in another country
104
-
105
-
Total Non-Citizens: the total number of individuals who are not U.S. citizens, including both legal immigrants, visa holders, and undocumented individuals
103
+
-**Total U.S. Citizens (Native)**: the total number of individuals who are U.S. citizens by birth
104
+
-**Total U.S. Citizens (Naturalized)**: the total number of individuals who have obtained U.S. citizenship through the naturalization process after being born in another country
105
+
-**Total Non-Citizens**: the total number of individuals who are not U.S. citizens, including both legal immigrants, visa holders, and undocumented individuals
106
106
107
107
### Marital Status
108
108
109
-
Married: the total number of individuals who are legally married at the time of the census
110
-
111
-
Never Married: the total number of individuals who have never been legally married
112
-
113
-
Separated: the total number of individuals who are legally married but currently living apart from their spouse due to marital separation
114
-
115
-
Divorced: the total number of individuals who have been legally divorced
116
-
117
-
Widowed: the total number of individuals who have lost their spouse and have not remarried
109
+
-**Married:** the total number of individuals who are legally married at the time of the census
110
+
-**Never Married:** the total number of individuals who have never been legally married
111
+
-**Separated:** the total number of individuals who are legally married but currently living apart from their spouse due to marital separation
112
+
-**Divorced:** the total number of individuals who have been legally divorced
113
+
-**Widowed:** the total number of individuals who have lost their spouse and have not remarried
118
114
119
115
### Educational Attainment
120
116
121
-
Less than a High School Graduate: the total number of individuals who have not completed high school or its equivalent
122
-
123
-
High School Graduate (or its Equivalency): the total number of individuals who have completed high school or obtained an equivalent diploma, such as a GED
124
-
125
-
Some College or Associate's Degree: the total number of individuals who have attended college or earned an Associate's Degree but have not completed a Bachelor's Degree
126
-
127
-
Bachelor's Degree: the total number of individuals who have earned a Bachelor's Degree, typically after completing four years of undergraduate education at a university or college
128
-
129
-
Graduate or Professional Degree: the total number of individuals who have earned a Master's Degree, Doctoral Degree (Ph.D.), or other professional degrees such as a Law Degree (J.D.) or Medical Degree (M.D.)
117
+
-**Less than a High School Graduate**: the total number of individuals who have not completed high school or its equivalent
118
+
-**High School Graduate (or its Equivalency)**: the total number of individuals who have completed high school or obtained an equivalent diploma, such as a GED
119
+
-**Some College or Associate's Degree**: the total number of individuals who have attended college or earned an Associate's Degree but have not completed a Bachelor's Degree
120
+
-**Bachelor's Degree**: the total number of individuals who have earned a Bachelor's Degree, typically after completing four years of undergraduate education at a university or college
121
+
-**Graduate or Professional Degree**: the total number of individuals who have earned a Master's Degree, Doctoral Degree (Ph.D.), or other professional degrees such as a Law Degree (J.D.) or Medical Degree (M.D.)
130
122
131
123
In this tutorial, we'll use SciPy to run some analysis and find out whether there are statistically significant differences in relocation patterns for each group - but first, let’s review the basics.
0 commit comments