I Variables Name bwght parity male white faminc fatheduc motheduc cigs Label birth weight, ounces birth order of child =1 if baby is male =1 if baby is white 1988 family income, $1000s father's yrs of educ mother's educ, years avg cigarettes/day, mother Apply STATA commands & submit the output for each question only when indicated below i. Apply the command egen to create a variable called "wyd" which is the rowtotal function on variables bwght & faminc. ii. Apply the list command for the first 10 observations to show that the code in part i worked. Include the outcome of this code iii. Apply the egen command to create a new variable called "bwghtsum" using the sum function on variable bwght by the variable high_faminc (Note: need to apply the bysort' statement) iv. Apply the "by high_faminc" statement to find the V. descriptive statistics of bwght and bwghtsum Include the output of this code. Why is there a difference between the standard deviations of bwght and bwghtsum from part iv of this question?

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.2: Representing Data
Problem 1AGP
icon
Related questions
Question
I
Variables
Name
bwght
parity
male
white
faminc
fatheduc
motheduc
cigs
Label
birth weight, ounces
birth order of child
=1 if baby is male
=1 if baby is white
1988 family income, $1000s
father's yrs of educ
mother's educ, years
avg cigarettes/day, mother
Transcribed Image Text:I Variables Name bwght parity male white faminc fatheduc motheduc cigs Label birth weight, ounces birth order of child =1 if baby is male =1 if baby is white 1988 family income, $1000s father's yrs of educ mother's educ, years avg cigarettes/day, mother
Apply STATA commands & submit the output for each question
only when indicated below
i. Apply the command egen to create a variable called "wyd"
which is the rowtotal function on variables bwght & faminc.
ii. Apply the list command for the first 10 observations to
show that the code in part i worked. Include the outcome of
this code
iii. Apply the egen command to create a new variable called
"bwghtsum" using the sum function on variable bwght by
the variable high_faminc (Note: need to apply the bysort'
statement)
iv. Apply the "by high_faminc" statement to find the
V.
descriptive statistics of bwght and bwghtsum Include the
output of this code.
Why is there a difference between the standard deviations
of bwght and bwghtsum from part iv of this question?
Transcribed Image Text:Apply STATA commands & submit the output for each question only when indicated below i. Apply the command egen to create a variable called "wyd" which is the rowtotal function on variables bwght & faminc. ii. Apply the list command for the first 10 observations to show that the code in part i worked. Include the outcome of this code iii. Apply the egen command to create a new variable called "bwghtsum" using the sum function on variable bwght by the variable high_faminc (Note: need to apply the bysort' statement) iv. Apply the "by high_faminc" statement to find the V. descriptive statistics of bwght and bwghtsum Include the output of this code. Why is there a difference between the standard deviations of bwght and bwghtsum from part iv of this question?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell