Thread: Homework#6 Q2
View Single Post
  #8  
Old 05-23-2012, 11:30 AM
lucifirm lucifirm is offline
Member
 
Join Date: Apr 2012
Posts: 20
Default Re: Homework#6 Q2

Quote:
Originally Posted by kkkkk View Post
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.
Sometimes is best to forget about the problem and later come back to it with you head fresh... I just found out what was wrong...
It doesn't work for small sets of points, so I created a big set with 250 points, just as in the out.dta and, to my surprise... it works! The code had nothing wrong after all. Maybe there was some dirt undeleted variables, or maybe I am just stupid.

Thanks kkkkk!
Reply With Quote