I feel like I'm missing something really obvious. I ran a linear regression on a subset of my data:
regress logprice lone_ticket i.sectiontype_encoded i.gamedate_enc if insample==1
It's easy to pull lots of summary stats describing how well this regression fits within the sample, but I can't seem to ask it questions about the remainder of the data (i.e. where insample==0). All I want is to figure out how much worse the fit is out-of-sample. Standard error or r^2 would be adequate.
regress logprice lone_ticket i.sectiontype_encoded i.gamedate_enc if insample==1
It's easy to pull lots of summary stats describing how well this regression fits within the sample, but I can't seem to ask it questions about the remainder of the data (i.e. where insample==0). All I want is to figure out how much worse the fit is out-of-sample. Standard error or r^2 would be adequate.
Comment