Documentation for CPS08 Data
Each month the Bureau of Labor Statistics in the U.S. Department of Labor conducts the “Current Population Survey” (CPS), which provides data on labor force characteristics of the population, including the level of employment, unemployment, and earnings. Approximately 65,000 randomly selected U.S. households are surveyed each month. The sample is chosen by randomly selecting addresses from a database comprised of addresses from the most recent decennial census augmented with data on new housing units constructed after the last census. The exact random sampling scheme is rather complicated (first small geographical areas are randomly selected, then housing units within these areas randomly selected); details can be found in the Handbook of Labor Statistics and is described on the Bureau of Labor Statistics website (www.bls.gov).
The survey conducted each March is more detailed than in other months and asks questions about earnings during the previous year. The file CPS08 contains the data for 2008 (from the March 2009 survey). These data are for full-time workers, defined as workers employed more than 35 hours per week for at least 48 weeks in the previous year. Data are provided for workers whose highest educational achievement is (1) a high school diploma, and (2) a bachelor’s degree. Series in Data Set:

AGE: Age in years
FEMALE: 1 if female; 0 if male
YEAR: Year
AHE : Average Hourly Earnings
BACHELOR: 1 if worker has a bachelor’s degree; 0 if worker has a high school degreeData

ahe year bachelor female age

38.4615402222 2008 1 0 33

12.5 2008 1 0 31

9.8571424484 2008 0 0 30

8.2417583466 2008 0 0 30

17.7884616852 2008 0 0 31

10.096154213 2008 0 1 29

17.7884616852 2008 1 0 26

30.3846149445 2008 1 0 28

23.6686382294 2008 1 0 30

12.0192308426 2008 1 1 25

15.8653850555 2008 0 0 26

11.846154213 2008 0 0 25

28.8461532593 2008 0 0 30

9.4409093857 2008 0 0 31

20.1923084259 2008 0 0 32

13.4615383148 2008 0 1 31

13.0341882706 2008 1 1 27

25.6410255432 2008 1 1 31

18.218624115 2008 1 1 32

8.7538461685 2008 1 1 27

12.0192308426 2008 1 0 29

22.4358978271 2008 0 0 34

14.4230766296 2008 0 1 26

13.0769233704 2008 0 0 26

9.3937501907 2008 0 0 28

10.1796875 2008 1 1 25

29.8076915741 2008 1 0 33

32.0512809753 2008 0 0 34

8.653845787 2008 0 0 25

7.2115383148 2008 0 1 32

8.0128202438 2008 1 0 25

15.625 2008 0 1 30

12.9807691574 2008 0 1 29

28.8461532593 2008 1 0 29

34.6153831482 2008 0 0 26

7.6923074722 2008 0 0 30

16.8269233704 2008 0 0 27

19.7115383148 2008 0 0 32

19.764957428 2008 0 1 27

15.3846149445 2008 1 1 27

13.4615383148 2008 0 1 26

8.8942308426 2008 0 0 27

19.7403850555 2008 0 0 31

12.4740123749 2008 0 1 32

16.8278846741 2008 1 0 25

25.6410255432 2008 1 0 34

17.3076915741 2008 0 1 30

17.5213680267 2008 1 0 27

37.5 2008 1 1 27

32.6923065186 2008 1 0 32

27.8846149445 2008 1 1 29

19.2307701111 2008 1 0 33

20.1923084259 2008 0 0 34

26.4423084259 2008 1 1 30

21.6346149445 2008 1 0 33

22.1153850555 2008 1 0 28

24.0384616852 2008 1 0 32

33.6538467407 2008 1 1 34

23.5576915741 2008 1 1 33

15.3846149445 2008 1 1 34

17.3076915741 2008 1 0 33

18.2692298889 2008 0 0 28

4.8076925278 2008 1 0 29

17.7884616852 2008 1 1 28

38.4615402222 2008 1 0 31

40.5982894897 2008 1 0 34

15 2008 1 0 34

21.6346149445 2008 0 0 34

15.8653850555 2008 0 1 29

20.6730766296 2008 0 0 31

21.6346149445 2008 1 1 31

6.9230771065 2008 1 1 28

17.7884616852 2008 1 1 30

10.7879924774 2008 1 1 28

15.5607690811 2008 1 0 34

16.1057701111 2008 0 0 27

11.0946741104 2008 1 0 31

10.7411384583 2008 1 0 29

16.3461532593 2008 0 1 27

15.3846149445 2008 0 1 26

13.4615383148 2008 0 1 30

17.7884616852 2008 1 1 33

16.1799449921 2008 0 1 32

18.5314693451 2008 0 0 32

19.2307701111 2008 1 1 28

28.8461532593 2008 0 0 30

7.2115383148 2008 0 0 27

11.5384616852 2008 0 0 27

11 2008 0 0 30

12.5 2008 0 0 34

10.4757089615 2008 1 1 28

26.6272182465 2008 1 0 30

16.4835166931 2008 0 1 34

4.8076925278 2008 0 1 29

13.3779268265 2008 0 0 26

50.4807701111 2008 1 1 34

19.2307701111 2008 1 1 32

9.6153850555 2008 1 0 32

22.2222213745 2008 1 1 26

15 2008 0 0 34

11.5384616852 2008 0 1 28

13.153845787 2008 0 0 34

28.8461532593 2008 0 0 28

9.7615385056 2008 1 0 28

43.2692298889 2008 1 0 32

18.4911251068 2008 0 0 25

24.0384616852 2008 1 0 30

30.2884616852 2008 1 0 29

26.4423084259 2008 1 0 30

1Econ 390-01
Assignment 7 (this is the 6th assignment but refers to Module 7)
Due date is Tuesday Oct 14th 11:59 PM. Late submissions are not accepted.

YOU SHOULD ONLY AND ONLY WORK WITH RSTUDIO. IF YOU CORRECTLY ANSWER WITH EXCEL IT DOES NOT COUNT.

Import the CPS08 data attached in RStudio and answer the questions below:
1. How many variables and how many observations are in the dataset?
2. What is the sample average of “Bachelor”, “ahe”, “age”? Any number you report you should specify the unit of that number as well.
3. Provide a scatter plot of “ahe” over “age” (ahe is dependent variable)
4. Is there any correlation
5. What is the value of correlation between “ahe” and “age”?
6. Run a regression of “ahe” over “age”.
6.1. What is the population equation/model?
6.2. What is the predicted intercept and slope of your regression?
6.3. What is the predicted equation? write it down
6.4. What is the interpretation of the slope? (What is the effect of “age” on “ahe”)
6.5. What is the predicted “ahe” for someone who is 30 years old?

7. Provide the scatter plot and the include the predicted line between “ahe” and “age”

Please save your r-script and submit it as an attachment on canvas the way you submit other files. You can also save and attach the plot as a PDF file.
I explained all the steps for this assignment in the lecture videos, I just uses the College Distance data instead .




Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.