Green book examples

> wdir <- "C:/Users/vlado/docs/papers/2024/Trajectories/green"
> setwd(wdir)
> # install.packages('haven')
> library(haven)
> PB <- read_dta("PartnerBirthbio.dta")
> dim(PB)
[1] 1866  281
> names(PB)
  [1] "id"             "weight40"       "sex"            "doby_gen"       "dob"           
  [6] "ethni"          "migstatus"      "yeduc"          "sat1i4"         "sat5"          
 [11] "sat6"           "highschool"     "church"         "biosib"         "stepsib"       
 [16] "east"           "famstructure18" "state1"         "state2"         "state3"        
 [21] "state4"         "state5"         "state6"         "state7"         "state8" 
...
[276] "state259"       "state260"       "state261"       "state262"       "state263"      
[281] "state264"      






vlado/work/tra/greb.txt · Last modified: 2023/11/27 01:56 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki