Hi,
I have written about this model before. I corrected the mistakes but functional form is meaningless.
ca: current account balance
yek: renewable energy production
ea: primary energy production- total final consumption
yıl (t): 2000-2021
N: 12 ulke (country)
balanced panel
I have written about this model before. I corrected the mistakes but functional form is meaningless.
ca: current account balance
yek: renewable energy production
ea: primary energy production- total final consumption
yıl (t): 2000-2021
N: 12 ulke (country)
balanced panel
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float(ca yek ea) int yıl byte(ulke _est_fe _est_ree) float eps -.036165465 3633 35138 2000 1 1 1 .015781766 .01863664 3121 30914 2001 1 1 1 .0705844 -.00260563 4039 35056 2002 1 1 1 .04760502 -.024011783 4254 40063 2003 1 1 1 .0278345 -.034725368 5234 43989 2004 1 1 1 .015015665 -.04143668 4799 46090 2005 1 1 1 .011183518 -.05593671 5126 48549 2006 1 1 1 -.003437648 -.054227 4474 52271 2007 1 1 1 .002877373 -.05117144 4522 49003.3 2008 1 1 1 .0040792376 -.01749605 5283 48757.67 2009 1 1 1 .034453098 -.0574284 7109 48282.49 2010 1 1 1 -.013343407 -.08870205 7615 54139.98 2011 1 1 1 -.04376607 -.05369108 8508 58396.64 2012 1 1 1 -.010329823 -.05751938 9242 58968.27 2013 1 1 1 -.016933428 -.04049271 8636 60657.3 2014 1 1 1 .003477911 -.03080478 15354 68531.64 2015 1 1 1 -.01089849 -.03066405 16909 69199.414 2016 1 1 1 -.016912185 -.046514 17298 76293.42 2017 1 1 1 -.03079706 -.025885167 19775 69763.5 2018 1 1 1 -.02381375 .014206482 23938 65827.97 2019 1 1 1 -.003094222 -.04427113 24608 69631.48 2020 1 1 1 -.06244478 -.008829909 24905 77139.21 2021 1 1 1 -.02444504 -.002709337 9597.177 96643.48 2000 2 1 1 .04431517 .001553178 9774.572 99331.77 2001 2 1 1 .04919718 -.00491648 10178.864 98193.68 2002 2 1 1 .04046375 -.007687904 12130.063 103434.59 2003 2 1 1 .03219749 -.004970261 12192.97 104655.27 2004 2 1 1 .03527009 -.008995071 13328.415 107007.62 2005 2 1 1 .02769485 -.01452723 14200.85 105584.7 2006 2 1 1 .017800273 -.013614343 15953.013 103487.4 2007 2 1 1 .010336564 -.0275676 18787.371 101400.91 2008 2 1 1 -.01650608 -.018369127 19294.568 94551.52 2009 2 1 1 -.01289064 -.03315354 19394.799 95561.15 2010 2 1 1 -.027582705 -.028238906 18223.582 91267.03 2011 2 1 1 -.01995072 -.002457794 21104.43 86852.07 2012 2 1 1 -.008431178 .011561876 23499.705 81787.45 2013 2 1 1 -.00697446 .01864452 23644.16 76615.266 2014 2 1 1 -.003111775 .014357338 23563.814 80126.3 2015 2 1 1 -.005287112 .02646996 23568.715 82401.64 2016 2 1 1 .007956254 .027068114 26540.396 78518.84 2017 2 1 1 -.00581716 .025806693 26656.74 78983.46 2018 2 1 1 -.007329256 .032982882 27088.26 78445.77 2019 2 1 1 -.0022267425 .03926935 27339.285 65258.56 2020 2 1 1 -.0036603764 .030891106 27698.06 76595.61 2021 2 1 1 -.007800598 -.04333185 6741.828 48714.55 2000 3 1 1 .003368362 -.04389003 8082.714 50808 2001 3 1 1 -.0017289745 -.037039068 6846.587 53930.36 2002 3 1 1 .011862693 -.03868233 9192.514 57976.69 2003 3 1 1 .002472178 -.05488678 8808.978 62710.75 2004 3 1 1 -.00973579 -.07273496 8392.96 68116.68 2005 3 1 1 -.023111934 -.0884897 9156.91 64649.93 2006 3 1 1 -.04381024 -.0944962 9995.92 68339.19 2007 3 1 1 -.05145311 -.08929393 10305.36 64820.71 2008 3 1 1 -.04932296 -.04050957 12376.197 57627.3 2009 3 1 1 -.012824045 -.036740907 14626.187 55029.32 2010 3 1 1 -.01976375 -.02699733 13926.016 54923.7 2011 3 1 1 -.007150328 .000554935 14615.234 49930.8 2012 3 1 1 .01499823 .020351445 17533.426 46216.63 2013 3 1 1 .02073182 .0165199 18307.205 43985.18 2014 3 1 1 .012540673 .020154275 17266.512 46370.17 2015 3 1 1 .021726726 .031858046 17744.656 47824.53 2016 3 1 1 .032170024 .02806629 17085.512 50790.33 2017 3 1 1 .0326308 .018626647 18265.91 52381.73 2018 3 1 1 .019068044 .020975957 18771.305 51811.41 2019 3 1 1 .01901872 .006299758 19634.664 38338.82 2020 3 1 1 -.00607851 .009419446 20989.56 44057.22 2021 3 1 1 -.00572245 -.06005675 3808.436 -23574.514 2000 4 1 1 -.029371046 -.0311463 4070.756 -24070.844 2001 4 1 1 -.0018069304 -.02784944 4140.609 -24380.006 2002 4 1 1 .0010418687 -.02512525 4150.043 -22286.4 2003 4 1 1 .004785921 -.05996301 4320.713 -20027.254 2004 4 1 1 -.02962139 -.03314106 4549.392 -19435.314 2005 4 1 1 -.003454711 -.04666209 4765.733 -15655.667 2006 4 1 1 -.015966684 -.06694781 4850.161 -10119.248 2007 4 1 1 -.03380376 -.06771928 5402.278 -8197.258 2008 4 1 1 -.03590795 -.03955594 6058.596 -5377.332 2009 4 1 1 -.009058074 -.05177039 6892.299 -551.636 2010 4 1 1 -.02231177 -.05123822 7497.33 -3133.619 2011 4 1 1 -.025612006 -.04107986 8535.587 -6671.819 2012 4 1 1 -.02157862 -.01957298 8607.561 -7491.563 2013 4 1 1 -.0007869863 -.02953733 8181.51 -5535.859 2014 4 1 1 -.0079830475 -.012931993 8970.19 -5460.981 2015 4 1 1 .005367352 -.010229253 9166.965 .285 2016 4 1 1 .010011652 -.011466884 9228.399 6733.208 2017 4 1 1 .01192403 -.01928055 12076.073 10258.483 2018 4 1 1 -.00599536 -.002424259 12267.656 11587.78 2019 4 1 1 .010733607 .02462954 12518.223 13168.038 2020 4 1 1 .03754079 -.014073315 12796.21 15046.593 2021 4 1 1 -.0013722323 -.04350701 1613.542 -5757.371 2000 5 1 1 -.012766776 -.04826185 1760.093 -6014.594 2001 5 1 1 -.018263627 -.05188604 1988.066 -6715.005 2002 5 1 1 -.023193995 -.05780256 1967.82 -7530.938 2003 5 1 1 -.029438803 -.03720088 2163.514 -6988.395 2004 5 1 1 -.009379667 -.02048735 2287.482 -7084.524 2005 5 1 1 .006767647 -.025572615 2459.239 -7337.443 2006 5 1 1 .0008373146 -.04703663 2569.558 -7911.206 2007 5 1 1 -.021377584 -.018613333 2755.258 -7243.24 2008 5 1 1 .006608348 -.023476196 3048.063 -6640.065 2009 5 1 1 .0008281693 -.03516146 3298.911 -6609.212 2010 5 1 1 -.0118888 -.02186792 3537.98 -7923.084 2011 5 1 1 -.00025814568 end
Code:
resetxt ca yek ea, id(ulke) it(yıl) model(xtre) ============================================================================== * GLS Random-Effects Panel Data Regression ============================================================================== ca = yek + ea ------------------------------------------------------------------------------ Sample Size = 264 | Cross Sections Number = 12 Wald Test = 35.4441 | P-Value > Chi2(2) = 0.0000 F-Test = 17.7220 | P-Value > F(2 , 250) = 0.0000 R2 (R-Squared) = 0.1344 | Raw Moments R2 = 0.4243 R2a (Adjusted R2) = 0.0894 | Raw Moments R2 Adj = 0.3943 Root MSE (Sigma) = 0.0440 | Log Likelihood Function = 457.0093 ------------------------------------------------------------------------------ - R2h= 0.1347 R2h Adj= 0.0897 F-Test = 20.31 P-Value > F(2 , 250) 0.0000 - R2v= 0.1477 R2v Adj= 0.1034 F-Test = 22.62 P-Value > F(2 , 250) 0.0000 ------------------------------------------------------------------------------ ca | Coefficient Std. err. t P>|t| [95% conf. interval] -------------+---------------------------------------------------------------- yek | 4.18e-06 7.17e-07 5.82 0.000 2.76e-06 5.59e-06 ea | -5.06e-07 1.74e-07 -2.91 0.004 -8.48e-07 -1.64e-07 _cons | -.0474925 .005139 -9.24 0.000 -.0576138 -.0373711 ------------------------------------------------------------------------------ ============================================================================== *** REgression Specification Error Tests (RESET) - Model= (xtre) ============================================================================== Ho: Model is Specified - Ha: Model is Misspecified ------------------------------------------------------------------------------ * Ramsey Specification ResetF Test - Ramsey RESETF1 Test: Y= X Yh2 = 0.639 P-Value > F(1, 260) 0.4249 - Ramsey RESETF2 Test: Y= X Yh2 Yh3 = 0.362 P-Value > F(2, 259) 0.6967 - Ramsey RESETF3 Test: Y= X Yh2 Yh3 Yh4 = 0.443 P-Value > F(3, 258) 0.7226 ------------------------------------------------------------------------------ * DeBenedictis-Giles Specification ResetL Test - Debenedictis-Giles ResetL1 Test = 0.316 P-Value > F(2, 259) 0.7291 - Debenedictis-Giles ResetL2 Test = 1.804 P-Value > F(4, 257) 0.1285 - Debenedictis-Giles ResetL3 Test = 3.156 P-Value > F(6, 255) 0.0053 ------------------------------------------------------------------------------ * DeBenedictis-Giles Specification ResetS Test - Debenedictis-Giles ResetS1 Test = 0.075 P-Value > F(2, 259) 0.9274 - Debenedictis-Giles ResetS2 Test = 0.688 P-Value > F(3, 258) 0.5600 - Debenedictis-Giles ResetS3 Test = 2.197 P-Value > F(5, 256) 0.0551 ------------------------------------------------------------------------------ - White Functional Form Test: E2= X X2 = 18.259 P-Value > Chi2(1) 0.0001 ------------------------------------------------------------------------------