Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with tF critical values (from Lee et al.(2022))

    I attempt to replicate the example, accessible in "help tf" in the Stata menu. But i receive "invalid syntax error r(198)" and i am using Stata 15.1. Any help would be appreciated, thank you in advance.

    Code:
    ssc install ranktest
    ssc install ivreg2
    net install tf, force from(http://www.princeton.edu/~davidlee/wp/)
    
    use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta
    xi i.year
    tf lw s expr tenure rns smsa _I* (iq=med)
    Res.:

    Code:
    . use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta
    (Wages of Very Young Men, Zvi Griliches, J.Pol.Ec. 1976)
     
    . xi i.year
    i.year            _Iyear_66-73        (naturally coded; _Iyear_66 omitted)
    
    . tf lw s expr tenure rns smsa _I* (iq=med)
    invalid syntax
    r(198);

  • #2
    I switched to Stata 16 and it works!

    Comment

    Working...
    X