Dear Stata users,
I am working on "the trade potential between China and Central and Eastern European Countries". My dataset is from 2007- 2020, including 17 CEE countries. My output is the total trade volume, and the input includes - GDPi, GDPj, Population(I), Population(j), Distance(ij) and Landlock (dummy variable). The exogenous variables are tariff rate, logistic performance index, government effectiveness, business freedom, labor freedom, trade freedom, EU member, Eurozone, and WTO member. The last three variables are dummy variables.
I tried to use the Battese & Coelli(1995) model, taking the one-step method to parameterize the inputs and exogenous determinants of efficiency at the same time. However, no matter how I adjust my variables, it keeps saying that "could not calculate numerical derivatives -- flat or discontinuous region encountered".
My code is: sfpanel ltrade lgdpc lgdppart lpopc lpoppart ldist landlock year, model(bc95) dist(tn) emean( tariffrate lpi goveffectiveness businessfreedom laborfreedom tradefreedom eum euz wtom ) ort(o)
Attached picture is my code and results.
Array
Related Posts with Help with SFA - sfpanel model BC95
How to declare data to be choice model data (cmset command) in STATA 16?Hello, I have a problem with writing a suitable code for the "cmset" command in STATA 16. We have a…
Date ArithmeticIf you need to add (or subtract) a period measured in days to a date, it is straightforward to do so…
Tabulate multiple continous variables in one tableHello, I am new to Stata and I have, for a few days by now, been stuck with the following problem: …
A note: fileread() assigning binary string scalarsAn observation after failing to read a Stata scalar using Stata Python sfi Scalar getString(); The s…
How to form this table?Array just copy and paste numbers in latex? …
Subscribe to:
Post Comments (Atom)
0 Response to Help with SFA - sfpanel model BC95
Post a Comment