Sequential program for fixed R value (in C++) | ||||||||
|
The expected number of points and neighbours,
E,
,
n(X) and
E
,
,
s(X;R),
were calculated for R=0.05 fixed and for various values of
(
,
) in a grid.
Initial experiments showed following:
Note that for each (,
)
grid point we need to run 50,000+200*1,000=250,000 steps in a chain in order
to estimate the mean values,
E
,
,
n(X) and
E
,
,
s(X;R).
Program for estimating the means in the
(,
) grid:
estimate_means.cpp (uses the C++ library ppunfix5.h)
The predicted values of the means were computed in the
same (,
)
grid points using loess with parameters
=0.1 and
=2.
We now have 'observed' means and predicted means in each
(,
) grid point.
Furthermore we have observed the CPU times computing the
means in each grid points (1.2 GHz AMD Athlon Thunderbird processor
and 256 Mb RAM running under Red Hat Linux 7.1).
Not surprisingly is the CPU time linear increasing in
E
,
,
n(X).
The data can be found in the file
data
where the columns contain
(,
,
E
,
,
n(X),
E
,
,
s(X;R),
CPU time,
loess-pred(E
,
,
n(X)),
loess-pred(E
,
,
s(X;R)))
|
This page was last modified on September 28th 2001 |