Question: 2 : 5 3 Document . * # Question 3 . rename R 3 4 8 3 6 0 0 mom _ praise .

2:53
Document
."*# Question 3
. rename R3483600 mom_praise
. rename R3483800 mom_help
. recode mom_praise mom_help (-5-4-2-1=.)
(4,467 changes made to mom_praise)
(4,468 changes made to mom_help)
. summarize mom_praise mom_help
\table[[Variable |||,Obs,Mean,Std. dev.,Min,Max],[-----------------------------------------------------------------,,,,,],[mom_praise |,4,517,2.991145,1.01141,0,4],[mom_help,4,516,2.94132,1.034023,0,4]]
.?****# Question 4
. tab mom_praise mom_help
MOTH
PRAISES R
DOING WELL | MOTH HELPS R WITH WHAT IMPT TO R 1999
\table[[1999|,0,1,2,3,4|||,Total],[0,43,10,20,19,26,118],[1|||,32,87,61,38,17,235],[2,26,138,360,276,116,916],[3,12,49,359,717,409,1,546],[4|||,10,17,113,510,1,050,1,700],[Total,123,301,913,1,,1,6,4,5]]
.?****# Question 4a
. gen mom_support =1 if mom_praise==. & mom_praise!=. & mom_help!=.
(8,984 missing values generated)
. tab mom_support
no observations
2:53
Document
.?****# Question 4a
. gen mom_support =1 if mom_praise==. & mom_praise!=. & mom_help!=.(8,984 missing values generated)
. tab mom_support no observations
.?****# Question 5
. save "$hw/relate_edited.dta", replace
file C:\Users\vnnorom\Downloads/relate_edited.dta saved
.log close
name:
.**# Question 2
" use "$hw/relate.dta", clear
=
Variable Storage Display Value
name type format label Variable label
R3483600 float %9.0g MOTH PRAISES R DOING WELL 1999
R3483800 float %9.0g MOTH HELPS R WITH WHAT IMPT TO R
. codebook R3483600 R3483800
R3483600
MOTH PRAISES R DOING WELL 1999
Type: Numeric (float)
Range: [-5,4]
Unique values: 9
Units: 1
Missing .: 0/8,984
Tabulation: Freq. Value
\table[[775,-5],[3,669,-4],[3,-2],[20,-1],[118,0],[235,1],[917,2],[1,546,3],[1,701,4]]
R3483800
MOTH HELPS R WITH WHAT IMPT TO R 1999
Type: Numeric (float)
Range: [-5,4]
Unique values: 9
Units: 1
Missing .: 0/8,984
Tabulation: Freq. Value
\table[[775-5
 2:53 Document ."*# Question 3 . rename R3483600 mom_praise . rename

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!