Go Back   TestMagic Forums > Admissions > PhD in Economics
Register FAQForum Rules Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 05-18-2008, 09:53 PM   #1 (permalink)
keyreal
Trying to make mom and pop proud
 
Join Date: Dec 2006
Location: chicago
Posts: 12
keyreal just joined TestMagic.
SAS help!

Hello, all!
I have a data set which is supposed to be on a weekly basis. However, not all "weeks" are 7 days long. My goal is to create a new data set from the existing one which has 7-days long week periods (interpolate?) using EXPAND PROC in SAS. I have found some info explaining interpolating irregular observations. It is an example of a sample taken at irregular dates. Does anyone know how to do it with time-frames instead of only time-points? Thanks in advance!
keyreal is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Old 05-19-2008, 03:08 AM   #2 (permalink)
jbs02002
Within my grasp!
 
Join Date: Apr 2007
Posts: 171
jbs02002 has disabled reputation
You could just use nested do-loops with the "output" statement in a data step to create all the hypothetical 7-day weeks you need, then merge your actual data onto the hypothetical, leaving you with blanks on days when nothing happened.
jbs02002 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Google Bookmark this Post!Reddit!
Reply With Quote
Reply


Thread Tools
Display Modes

What you can do
You cannot post new threads
You cannot post replies
You cannot post attachments
You cannot edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:15 PM.

Contact TestMagic   TestMagic Forums      Archive   

Link to TestMagic   TestMagic Locations   Legal   Privacy

Partner Sites: GMAT Sentence Correction   SAT 2400

Content Relevant URLs by vBSEO 3.0.0
Copyright © 1998-2008 TestMagic
Ad Management by RedTyger

Scroll Up