subject
Mathematics, 07.06.2021 02:30 sporting06

In this exercise, you will conduct regression analysis 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 0 and 1.
(b) Use the same command, 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 Sales occupation. What is the average wage for workers with Sales occupation?
(d) Use the command regress wage i. occupation to run 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, 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 in step (d), this time to study the average hours for each occupation. Which occupation works the longest hours per week? How many hours on average for this occupation?
Next, we follow a similar procedure as in steps (a)-(d) to study the wage gap among different races.
(g) Use the command regress wage i. race to run a regression with binary variables for every race category. What is the average wage for white?
(h) What is the wage gap between white and black (report a positive number)? What is the 95% confidence interval for this wage gap?

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 20.06.2019 18:04, cupcake3103670
Mrs. renoir has completed the interior portion of a quilt top measuring
Answers: 1
image
Mathematics, 21.06.2019 20:00, Enaszr9657
Two line segments are shown in the figure below. suppose that the length of the line along the x-axis is 6, and the length of the hypotenuse of the triangle is 10. what is the equation of the hypotenuse line (shown in red, below)?
Answers: 3
image
Mathematics, 21.06.2019 20:40, afletcher2000
If the endpoints of the diameter of a circle are (8, 6) and (2,0), what is the standard form equation of the circle? a) (x + 5)2 + (y + 3)2 = 18 (x + 5)2 + (y + 3)2 = 3.72 (x - 5)2 + (y - 3)2 = 18 d) (x - 5)2 + (y - 3)2 = 32
Answers: 1
image
Mathematics, 21.06.2019 21:30, lexiiiee
Solve -.016x= -16. need solving this
Answers: 2
You know the right answer?
In this exercise, you will conduct regression analysis with binary and categorical variables. (a) U...

Questions in other subjects:

Konu
Mathematics, 30.07.2020 01:01
Konu
Mathematics, 30.07.2020 01:01