I hope I am not missing something very simple here.I have done a Google search(es) and searched through Stack Overflow.
Given these tables table Channel -------------- ChannelID int IDENTITY <other irrelevant stuff> table P开发者_StackOverflow中文版rogram
Is there a variant of lag somewhere that keeps NAs in position? I want to compute returns of price data where data could be missing.