Hi guys,

I would like to display my information criteria in choosing the lag length for the estimation of the VAR model but I don't know the command that is required to export the table into Latex form (if it's possible that is). T

My code is
varsoc lop lrgdp inf lexc
and my variables are

Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(lop lrgdp) double inf float(lexc quarter)
 3.571784 12.733817  7.74278215223094  1.598734  80
 3.568123 12.690648  10.2464332036316 1.5978713  81
 3.487579 12.661692   12.291933418694 1.5771695  82
3.6658666 12.745687  13.1147540983606  1.614704  83
3.6188145 12.734313  14.7381242387332 1.6771152  84
 3.512739   12.7117                14 1.7375907  85
3.4593616 12.695962  13.5689851767389  1.805854  86
3.5122416 12.754564  12.3745819397994 1.7645824  87
 3.423394 12.734605  11.8895966029724 1.7836152  88
 3.469064  12.70936  11.0423116615067 1.8045276  89
 3.459676 12.699594  10.8433734939759  1.893353  90
3.4528406 12.762194  11.6071428571428 1.9665668  91
 3.372798 12.752794  9.77229601518024  1.961493  92
 3.383712 12.759803   9.1078066914498 1.9698684  93
 3.411038  12.74189  7.78985507246374 2.0019078  94
 3.365225 12.807036  7.28888888888891  2.015254  95
  3.37531  12.81646  6.30942091616251 2.0397863  96
3.3780425 12.796157  6.47359454855195 2.0465481  97
 3.337429 12.817017  6.13445378151261 2.1241918  98
 3.313822 12.866818  5.96520298260146 2.1803722  99
 3.309326 12.878362  5.69105691056911  2.237168 100
 3.293983  12.84228  5.75999999999999 2.1853395 101
 3.299288 12.861259  5.77988915281077  2.121343 102
  3.33482 12.929962  5.62939796716187 2.0523486 103
 2.842581 12.903667  5.76923076923076 1.9905694 104
 2.521185 12.897962  6.05143721633889  2.001881 105
 2.521185  12.89723  8.00898203592812 1.9996946 106
2.6837575 12.971673  8.80829015544041  2.010828 107
 2.873941  12.92926  9.96363636363637  1.950964 108
 2.911807 12.932686  9.70042796005709 1.9037777 109
 2.941276 12.893644  7.90020790020794  1.906605 110
 2.876761 12.984353  7.41496598639454 1.8676294 111
 2.757052 12.946301  7.07671957671957 1.8508142 112
 2.778198 12.911412  7.02210663198959  1.833541 113
2.6452286  12.90235  6.61528580603723  1.922188 114
 2.576168 12.970265  6.01646611779607   1.88874 115
 2.834585 12.919985  4.69425571340333 1.9055742 116
 2.916148  12.94254  4.67800729040098  1.947119 117
 2.857045 12.918333  4.51807228915663  1.951395 118
2.9295924  12.99056  4.30107526881723 1.9239225 119
 2.968532 12.966217  4.36578171091446  1.876953 120
 2.761275 12.940326  3.83052814857803 1.8701546 121
3.2448034 12.928958  3.80403458213255 1.8171023 122
 3.433987  13.01213    4.524627720504  1.768508 123
 2.988204 12.980206  3.90050876201245 1.7871656 124
 2.908539 12.994061  3.80100614868644  1.910165 125
 2.966475 12.965244  3.49805663520268 1.9188864 126
 2.989043  13.03053  2.57534246575342 1.8550003 127
 2.862582  13.03316  2.33949945593033 1.8492314 128
 2.979772 13.002828   2.4232633279483 1.8425794 129
 2.995566 13.011215  2.30686695278971 1.7568114 130
2.9421556 13.063393  2.24358974358973 1.8557254 131
 2.889816  13.03319  2.60499734183944 1.9392883 132
 2.890001 13.020434  2.41850683491062 1.9237765 133
 2.785011 13.036485  2.14997378080752  1.981176 134
 2.705603 13.129934  1.98537095088822   1.99125 135
 2.629728 13.086267   1.2435233160622 2.0071983 136
 2.789323 13.094742  .975359342915802   1.97535 137
  2.83615 13.069872  1.54004106776183   1.92342 138
2.8096035 13.167482  1.74180327868853  1.907233 139
 2.846265 13.138304  2.66120777891503 1.8751172 140
2.9001386 13.106668  2.69445856634468 1.8304694 141
2.7997174  13.13269   2.3255813953488 1.8410743 142
  2.83184 13.203746  2.16515609264855 1.8371985 143
2.9076295 13.192417  .897308075772663 1.8587487 144
2.9697304 13.162365  .990099009900991 1.8772483 145
 3.026746 13.191945  1.38339920948619 1.8584784 146
 3.138244 13.232254  1.77427304090683 1.8616062 147
 3.048483 13.214523  3.06324110671939 1.8915474 148
  2.91723 13.248065  2.69607843137256 1.9568384 149
2.9262035 13.222542  2.29044834307992 2.0096192 150
 2.935982  13.29889  2.22760290556901  1.963833 151
2.6506565 13.286092  2.15723873441995 2.0201964 152
 2.586259 13.259114   2.2434367541766 2.0167592 153
 2.565206  13.23906  2.28680323963794 2.0330641 154
 2.472328  13.30432  2.32117479867363 2.0134616 155
 2.454734 13.283984  2.25246363209761 2.0364158 156
 2.774462  13.26049  2.47432306255837 2.0538929 157
 3.017657 13.274122  2.04937121564973 2.0596468 158
 3.169966  13.34865  2.68518518518515  2.065874 159
3.2815375 13.348047  2.89123451124368 2.1065755 160
 3.287157 13.287727  2.91571753986331 2.1722455 161
 3.397301 13.296283  3.42309447740759 2.1921618 162
3.3901365 13.361666  3.11091073038775 2.2251422 163
 3.260785  13.35588  3.52363960749332 2.1848927 164
 3.285662 13.310266  3.93979637007527  2.216909 165
 3.227373 13.320636   2.5595763459841   2.19689 166
2.9607956  13.38958   2.0113686051596 2.1861658 167
 3.040865  13.34324   1.0340370529944 2.1871219 168
 3.226976 13.364398  .468483816013621 2.1021235 169
3.2934885 13.324635  1.41996557659209 2.0180607 170
 3.286036  13.40151  2.22888984140592 1.9903824 171
 3.444789 13.380116  4.60554371002131 1.9540068 172
3.2766414  13.33437  2.24671470962272 1.9471028 173
 3.345802  13.34543  1.90920661858297 1.9928846 174
 3.379633 13.410333  1.21593291404613 1.9342626 175
  3.46979 13.425058 -1.42682429677945  1.932487 176
3.5730944 13.385754  .829187396351576 1.9257075 177
 3.702618 13.367247  1.20732722731057 1.9261932 178
 3.754901 13.447302  1.24275062137531 1.8458267 179
end
format %tq quarter
Could someone please help me out with the code?