Thread: Homework#6 Q2
View Single Post
  #7  
Old 05-23-2012, 10:04 AM
kkkkk kkkkk is offline
Invited Guest
 
Join Date: Mar 2012
Posts: 71
Default Re: Homework#6 Q2

Quote:
Originally Posted by lucifirm View Post
Thanks kkkkk.
I did both cases, either generate new points and also used out.dta (no together, just for for comparison) and I'm using the same formula for E_in and E_out. My E_in is approx. 0.03, but I just can't get E_out to go near 0.08.... I'll check the code again, but it doesn't make sense, it's such a simple formula...
The code for Ein and Eout is about the same, just make sure you calculate w from the in sample and dont recalculate w using the out sample.
Reply With Quote