![]() |
#1
|
|||
|
|||
![]()
Example 2.8, the target function is sin(pi*x). But both target function graph labels in the second figure show sin(x) instead. Someone in the know should see that the graphed function, its label, and the target function coincide.
|
#2
|
||||
|
||||
![]() Quote:
![]()
__________________
Where everyone thinks alike, no one thinks very much |
#3
|
|||
|
|||
![]()
On the same page, I've been able to confirm the biases stated for H0 and H1, as well as the variance for H0. But for the variance of 1.69 for H1, I am obtaining 2.44 instead.
I have this problem whether I calculate the variance directly, or I calculate the out-of-sample error and subtract the bias. It would be reassuring if I could show that my 2.44 figure is wrong, but as yet I have not succeeded. |
#4
|
||||
|
||||
![]() Quote:
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Is this what you have done to come up with a numerical answer equal to ![]() Hint: It is much easier to Monte-Carlo.
__________________
Where everyone thinks alike, no one thinks very much |
#5
|
|||
|
|||
![]()
My ETA having a closer look at this is 1-2 days. Schedule. I'm definitely interested in resolving this matter, and I'm happy to participate.
![]() Update: wrapping up some computations; I'm testing an idea as to what might have happened. But the test is not quick. |
#6
|
|||
|
|||
![]()
Alas, I got bit by that old dog, numerical instability. When I run 1,000 hypotheses, I get the much higher figure I reported. 10,000 brought me a lot closer, and 100,000 has me at 1.70 variance (and presumably moving in the direction of 1.69).
These tests take a lot longer than they might, because I solve the line equation with w-a-a-y too many CPU cycles. The upside is that the same code works with several other hypothesis sets to meet a short-term need. I feel in general like I've faced a couple of numerical stability challenges in very recent time, and it's beneficial when students have to deal with it. I imagine there might be more ahead. Last edited by dudefromdayton; 04-29-2012 at 03:52 PM. Reason: concluding ideas |
#7
|
|||
|
|||
![]()
It is somewhat late but I'd like to give analytic solution for
![]() ![]() ![]() ![]() ![]() ![]() and we can get them by solving the following system of equations (condition for extreme value of function): ![]() The solution is: ![]() Now, ![]() ![]() So, ![]() Now we can calculate all the terms: ![]() ![]() ![]() ![]() ![]() ![]() ![]() So, we see that the following holds: ![]() |
#8
|
||||
|
||||
![]()
Thanks for the detailed analysis
![]()
__________________
Have faith in probability |
![]() |
Thread Tools | |
Display Modes | |
|
|