Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. In this exercise, you will IUII. multiple regresions with binary and categorical variables. (a) Use the command tabulate to show the categories of the

image text in transcribed
2. In this exercise, you will IUII. multiple regresions with binary and categorical variables. (a) Use the command tabulate to show the categories of the variable occupation and their frequencies. What is the relative frequency of the category Sales? Please report a number between II] and 1. (b) Use the same command1 this time specifying the option nolabel, to visualize the numeric values corresponding to the different categories of occupation. Which numeric value corresponds to the label Sales? (c) Use the command summarize with the option if to compute the sample mean of wage for workers with Soles occupation. What is the average wage for workers with Soles occupation? (d) Use the command regress 1sage i.occupation to rlm a regression with binary variables for every occupation category. (Adding i. to a categorical variable will automatically generate a binary variable for each category.) The occupation with numeric value 1 is used as the base group. Given the regression results.J what is the average wage for workers with Sales occupation? How does your answer compare to part 2(c)? (e) Which occupation has the highest average wage? How much is it? (f) Use a similar command as step 2(d), this time to study the average hom's for each occupation. W'hich occupation works the longest hours per week? How many hours on average? Next, we follow a similar procedure as in steps 2(a)[d) to study the wage gap among different races. (1;) Use the command regress wage i.race to IUII a regression with binary variables for every race category. What is the average wage for white women

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finite Mathematics

Authors: Stefan Waner, Steven Costenoble

6th Edition

1285415604, 9781285415604

More Books

Students also viewed these Mathematics questions