# Two Small Stata Homework Problems

My version of Stata only allows for 1200 data entries. The presented short problems have 1900 data entries and i dont want to buy the larger version just to use once.

Problem #1

You have been hired by the Labor and Employment Relations Association to explore if African-American women are being discriminated against, relative to white women, and whether possible discrimination is alleviated by union membership. The data set you manage to obtain contains 2012 data on wage, race, union affiliation, and job tenure (in years) for 1878 working women. Since wages represent possibly non-normally distributed dollar values, you choose to work with the log of wages instead of the original dollar amounts

a) You begin with regressing the log of wages on being black, being &amp;ldquo;other&amp;rdquo; race and union affiliation. Why you should not include all three dummy variables for race in your regression. (2pts)

gen lwage=log(wage)&amp;mdash;creates the log of wages

tabulate race, generate(R)&amp;mdash;creates dummy variables for the different races

reg lwage R2 R3 union

b) Why do you choose to omit in particular the race category &amp;ldquo;white&amp;rdquo;? (8pts)

c) What is the percentage difference in wages between African-American and white women. (5pts)

d) You want to test if everything else constant African-American women are paid less than white women. Write down the null and alternative hypotheses that would allow you to test for possible discrimination against African-American women. (3pts)

e) What is the precise interpretation of the null and the alternative? (7pts)

f) Do you reject at 10% level of significance or not? Explain. (7pts)

g) Write down the equation that would allow you to test if union affiliation affects discrimination against African-American women. (3pts)

h) Regress the equation you created in part g. What is the percentage difference in mean wages between African-American women that belong to a union and African-American women who do not belong to a union? (5pts)

i) Write down the null and alternative hypotheses that would allow you to test if union membership alleviates any possible discrimination. (3pts)

j) Does union membership alleviate discrimination at 1% level of significance? Explain (7pts)

Problem #2

Let Bwght denote infant birth weights in ounces, Cigs denote the average number of cigarettes the mother smoked per day during pregnancy, and Alch denote the average number of drinks the mother had per day during pregnancy.

a) In order to account for the effects of Alch and Cigs on Bwght, as well as their possible interaction, you estimate the following equation:

Bwght =&amp;beta;0+ &amp;beta;1 Cigs+ &amp;beta;2 Alch+ &amp;beta;3 CigsAlch +u

What is the economic interpretation of &amp;beta;3 . (10 pts)

b) You decide that since cigarettes and alcohol appear in the interaction term, you do not need separate terms for each variable. Thus the equation you would estimate becomes

Bwght =&amp;beta;0+ &amp;beta;3 CigsAlch +u

Why such a specification may not be correct? (10pts)

c) Next, you decide to estimate the following equation:

Bwght =&amp;beta;0+ &amp;beta;1 Cigs+ &amp;beta;2 Alch + &amp;beta;3 CigsAlch +&amp;beta;4 CigsAlchD +u

D represents a binary variable equal to 1 if the infant is male and 0 otherwise. Why would you add the term &amp;beta;4 CigsAlchD? (10pts)

d) It the average number of drinks increases from 6 to 5, using the model you created in part c), by how much would the effect of the number of cigarettes change for male and female infants? (10pts)

Skills: Data Processing

( 0 reviews ) United States

Project ID: #4372166

## 6 freelancers are bidding on average \$141 for this job

dgoyal

An experienced Statistician with sound experience in SPSS, Stata, Eviews, R, Excel and have the expertise to complete the project.

\$150 USD in 5 days
(1 Review)
3.0
harubel

Here I am .Lets start.

\$147 USD in 7 days
(7 Reviews)
2.8
ProDataAnalyzer

Hi, Experienced statistician with strong academic background and expertise in statistical software's. Please see the PM for details. Thanks.

\$140 USD in 3 days
(2 Reviews)
2.6
KarolSz

Hi, I am a STATA and statistics professional with several years of working experience.

\$99 USD in 3 days
(1 Review)
2.0
swmcdonnell

Hi there, my name is Steve. I can do this for you. Math major, Ivy League graduate here. Where are the data sets?

\$175 USD in 3 days
(0 Reviews)
0.0
jiemaqi

This is exactly my assignment!

\$135 USD in 3 days
(0 Reviews)
0.0