Hello,
I am analyzing the impact of tariffs on trade using ppml_panel_sg, and an r(3203) error sometimes pops up. I have bilateral trade flows and data from 2000 onwards. Trade is aggregated into certain product groups, one at a time at this stage, so there is no industry dimension. My regression is
ppml_panel_sg importvalue tariffrate, ex(reporter_id) im(partner_id) y(year)
and I receive the following error message:
Initializing...
MapRowsToIntegers(): 3203 <tmp>[1,106228] found where colvector required
GenGroupSampleNumeric(): - function returned error
<istmt>: - function returned error
r(3203);
The error is
3203. colvector required
An argument is required to be r x 1 and it is not.
The odd thing is that this happens with some product groups I’ve created but not with others.
I have checked that there are no missing data and no duplicates. It makes no difference whether the ex and im variables are string or numeric. My Stata and ppml_panel_sg are up to date.
The error may of course have nothing to do with ppml_panel_sg. However, the error does not appear if I use xtreg, for example.
I appreciate any advice you may have on this problem. Thank you in advance.
Best wishes, Ville
Related Posts with ppml_panel_sg and r(3203)
Command for Wald Test in GMMDear Memebers, I am running two-step sys-GMM, and my Stata (12.1 SE) command is given below. xtabon…
taboutI am trying to use tabout in a do file, tabout tgrade q18 if female==0 using t1, sum and I get inval…
Stata not producing graphsHello - I am trying to run some commands that produce some plots, but stata doesn't generate them. T…
How to determine the magnitude of a continuous predictor (and 95% CI) associated with a specific probability after logistic?Hello all, I am working with a dataset in Stata 15.1 using the melogit command. My data structure is…
sensitivity analysisHello everyone, I do not know how to do sensitivity test or analysis in stata could any one explain …
Subscribe to:
Post Comments (Atom)
0 Response to ppml_panel_sg and r(3203)
Post a Comment