Announcement

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

  • Problem using predict with prodest

    Hello everyone,

    I am having trouble when trying to use predict in
    Code:
    prodest
    .

    I have a panel dataset where firms are recorded over years. This is an unbalanced panel. For each firm I can observe the wage bill, material costs, sales, investment, and capital. My aim is to get TFP measures which are the residuals from the estimated production function.

    In order to estimate the production function I am using -prodest-. However, due to data-security measures, one cannot apply -ssc install prodest- because there is no internet access, hence I've downloaded the program from the link and installed the program offline.

    This is my code below:

    Code:
    xtset firm year
    prodest sales, method(lp) free(wage) proxy(material) state(lcap) control(year industryyear) acf attrition
    predict tfp, residuals
    However, I get the following error:
    "command prodest_p is unrecognized"

    The regression goes through but I can not use -predict- to get the residuals. When I implement the same code with network access on fake data and install -prodest- through -ssc install prodest- it works.

    I would really appreciate if anyone can help!





    Last edited by Cem Ozdemir; 08 Sep 2023, 12:24.

  • #2
    prodest_p is a different ado file. need it too.

    Comment

    Working...
    X