BookmarkSubscribeRSS Feed
BchBnz
Obsidian | Level 7

Hello,


I hope you are having a Monday.


I have been trying to run a 2-step GMM with SAS to estimate my dynamic panel data but it seems that I am doing something wrong.

I attached a picture of what my data looks like.

So basically I have intraday observations over a number days for different contracts. My time series are set by the "start" variable which goes 08:05- 08:10 - 08:15-... My cross-section is between different contracts. 


This is the procedure that I used but it is not working:


proc panel data=basvoldum_short_lond;

inst depvar;

model BASw = tod1-tod105 / gmm nolevels twostep;

id cnt start;

run;

Any suggestions?

Sorry for taking your time and thank you for your tremendous help.


Screenshot 2014-03-22 18.31.27.png
1 REPLY 1
udo_sas
SAS Employee

Hello -

You may want to check out this example as a starting point:

http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#etsug_panel_sect054....

Thanks,

Udo

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 1 reply
  • 1341 views
  • 0 likes
  • 2 in conversation