14. From our classroom discussion of the Titanic project: class Class of passeng
ID: 3324965 • Letter: 1
Question
14. From our classroom discussion of the Titanic project: class Class of passenger type: numeric (byte labelt class range: o,a units: unique values: 4 missing 012,201 tabulation: Freq Numerio Label 885 325 205 706 o Crew 1 First 2 Second 3 Third What Stata 15.0 command was used to generate the above output? Stata command = st the S uen anic b tat a 15.0 syntax which we used to convert the variable class ce of dummy variables for use in the regression explaining survi ased on gender, age and transportation class of passenger. a syntax =Explanation / Answer
1) Data > Describe data > Describe data contents (codebook).
2) For gender we can use
generate male = gender==1
replace female = gender==2
for age,
generate young = 0 .
replace young = 1 if age<25
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.