Write down Stata code to create a dummy variable

Assignment Help Basic Statistics
Reference no: EM132169948

Questions -

1. The following graph was created by a top economist. Use the principles of graphic design we learned to critique it, coming up with as many changes as you can.

742_figure.png

2. Consider the following codebook entry for a variable that describes whether each respondent has private health insurance. The variable is called HIPRIV.

HIPRIV: Private health insurance

1. Mentioned

2. Not mentioned

7. Refused

8. Not ascertained

9. Don't know

Write down Stata code to create a dummy variable that indicates whether a person is privately insured. You'd like to exclude observations from your analysis if you are not sure as to their insurance status.

3. Give an example of two datasets we've analyzed or discussed, one that is a census and one that is a sample. Explain in a single sentence why each qualifies as a census or sample.

4. The CDC disseminates data on all births in the United States for researchers to analyze. For this exercise, you will need to navigate to the linked website and download Birth Data File for U.S. Territories from 2014. The filename will be Nat2014ps.zip.

That file contains a record for all births in US Territories in 2014. We will focus on US Territories since the associated datasets are smaller than the (enormous) files for the rest of the United States.

I used the following Stata commands to bring the data into Stata.

infix ///

data_year 9-12 ///

resident_status 104 ///

prenatal_number_of_visits 238-239 ///

str sex 475 ///

birthweight 504-507 ///

apgar_score 444-445 ///

birth_year 9-12 ///

birth_month 13-14 ///

mother_age 75-76 ///

mother_marital_status 120 ///

mother_education 124 ///

method_of_delivery 402 ///

using Nat2014PublicPS.c20150514.r20151007.txt

a. First consider disparities in health by maternal education. Many argue that more-educated women have healthier babies and better birth experiences. Test whether this is the case. To do so, create a single variable that divides observations by whether they are high-school dropouts, high-school graduates, or have some college experience. To keep the code simple, label teenage mothers as high-school dropouts, even though they might eventually graduate high school.

What is the mean birth weight for high-school dropouts? For high-school graduates? For those with some college experience?

b. What share of babies born in US Territories are born via cesarean section?

c. What is the c-section rate for babies born to mothers who are high-school dropouts? High-school graduates? Those with some college experience?

d. Graph the c-section rate versus mother's age for all mothers aged 16 through 45. Mother's age should be on the horizontal axis.

e. Finally, report the average age of the mother for the three education categories. These variables seem to be related: the c-section risk, maternal age, and maternal education. Describe how the relationship between education and c-section might be ''confounded'' by maternal age. Explain what that means.

Attachment:- Assignment Files.rar

Reference no: EM132169948

Questions Cloud

Thoughts on web intellectual property : What are your thoughts on Web Intellectual Property? How difficult is it to track?
Vertical growth as a corporate strategy : How does horizontal growth differ from vertical growth as a corporate strategy? From concentric diversification?
Small consignment business : Mary and Jo enter a contract in which Jo agrees to buy Mary's small consignment business for $300,000.00.
Intended beneficiary of the jerry-bob contract : Is Mary an intended beneficiary of the Jerry-Bob contract" Why or why not? Explain your answer.
Write down Stata code to create a dummy variable : Questions - Write down Stata code to create a dummy variable that indicates whether a person is privately insured
Participates in the fun and play event : Enter the name of one (1) organization that participates in the following fun/play event?
What benefits does a host-country like costa rica : What benefits does a host-country like Costa Rica gain from Intel Investments?
Which firm had acted least responsibly : Among Cisco, Google, Microsoft, and Yahoo, which firm (in your judgment) had acted most responsibly? Why? Which firm had acted least responsibly? Why?
Discuss about the efficiency of your performance : Your Supervising Manager called a meeting early Monday morning to discuss the tasks you will need to accomplish in this week. He/she was very complimentary.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd