Hi,
I have a panel of 270 firms with quarterly observations ranging from year 2000 to 2019.
I want to run the following trans-log cost function for each of the firm using foreach and one_id program. Can anyone inform me of the correct syntax please as mine did not work and gave errors for all groups.
lnTC = a+ a1lnW12 +1/2 a2lnW3+ a3lnW12 *lnW3+ a4lnTA + 1/2a5(lnTA)2 +a6lnTA*lnW12+ a7lnTA*lnW3 + e
where, a denotes alpha (coefficients) in the above equation. TC=total cost, W12 and W3 are the prices of labor and capital, TA = total assets, e is the error term
Regards
Related Posts with Translog cost function using foreach and one_id program
Predicting DV by keeping covariates at mean+-SD and visualisationDear Statalists, This is my very first post on the forum. Here goes my problem: I want to generate…
Generating a Variable of Respondents MeansI am currently trying to generate a new variable consisting of respondents means. This new variable …
Creating age-adjusted group-level median income variableGreetings, I'm running Stata 15.1 on OSX. My ultimate goal is to create a graph that displays the a…
Do I need to control additonal time-invariant characteristics in DID?All, Today I received the comments that I need to run the models e.g., teacher- or school-fixed, in…
Creating a dummy variableHi there, I have a date variable formatted as 1980m1 etc. I want to create a dummy variable which is…
Subscribe to:
Post Comments (Atom)
0 Response to Translog cost function using foreach and one_id program
Post a Comment