# Help with gauss code

0

Dear users,

I obtained the gauss code used for the estimation of the paper "X-DIFFERENCING AND DYNAMIC PANEL MODEL ESTIMATION" by Han et al. (forthcoming in Economic Theory).

The results are based on simulation. Was wondering how to apply the code using my own data.

Could post/send the code if needed.

Thanks,

Ozey

0

Post the code and we can get you going.

0

Thanks. I have copied and paste the code in this box a couple of times since yesterday but for some reasons it is not appearing.  Any other way to post it? please?

Thanks

ozey

0

Thanks for posting the code. I copied and formatted it and then created a download link for the code:

0

I wasn't able to find the paper you cited at Economic Theory so I'm not sure what the structure of the data is.

The program itself has two infinite loops.  I changed lines 149 on

endo;
endo;
endo;
endo;

to

endo;
iccc = iccc + 1;
endo;
icase = icase + 1;
endo;
ipcase = ipcase + 1;
endo;

and was able to get the program to run. I also added print statements at line 146:

t2 = (b8-rho)./w;
print b8;;
print t2;
tsim[is,.] = t2;

I'm guessing that b8 is a coefficient, and t2 a t-statistic, but I could be wrong. To use this on your data, extract lines 97 through 145 into another file, set y to a vector of your data, and set t to some value (I don't know what value it should be because I haven't seen the paper). You also need to add some code to estimate or set a value for rho. Then put print statements at the end printing out whatever results you need. I'm not sure this is right, but it might be.

0

Thanks so much Ron.

With regard to the paper I have found the working paper version: http://cowles.econ.yale.edu/P/cd/d17a/d1747.pdf

Many thanks again.

ozey

0

Post the code and we can get you going.

0

Thanks. I have copied and paste the code in this box a couple of times since yesterday but for some reasons it is not appearing.  Any other way to post it? please?

Thanks

ozey

0

Thanks for posting the code. I copied and formatted it and then created a download link for the code:

0

I wasn't able to find the paper you cited at Economic Theory so I'm not sure what the structure of the data is.

The program itself has two infinite loops.  I changed lines 149 on

endo;
endo;
endo;
endo;

to

endo;
iccc = iccc + 1;
endo;
icase = icase + 1;
endo;
ipcase = ipcase + 1;
endo;

and was able to get the program to run. I also added print statements at line 146:

t2 = (b8-rho)./w;
print b8;;
print t2;
tsim[is,.] = t2;

I'm guessing that b8 is a coefficient, and t2 a t-statistic, but I could be wrong. To use this on your data, extract lines 97 through 145 into another file, set y to a vector of your data, and set t to some value (I don't know what value it should be because I haven't seen the paper). You also need to add some code to estimate or set a value for rho. Then put print statements at the end printing out whatever results you need. I'm not sure this is right, but it might be.

0

Thanks so much Ron.

With regard to the paper I have found the working paper version: http://cowles.econ.yale.edu/P/cd/d17a/d1747.pdf

Many thanks again.

ozey

• ### Aptech Systems, Inc. Worldwide Headquarters

Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286

Phone: 360.886.7100
FAX: 360.886.8922

• ### Training & Events

Want more guidance while learning about the full functionality of GAUSS and its capabilities? Get in touch for in-person training or browse additional references below.

• ### Tutorials

Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.

• ### Want to find out more?

Get a real answer from a real person

• ### Have a Specific Question?

Get a real answer from a real person

• Need Support?
• ### Support Plans

Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.

• ### User Forums

Join our community to see why our users are considered some of the most active and helpful in the industry!