Re: Data Generation
- From: rvExcelNewTip <rvExcelNewTip.27ucho_1147683305.0679@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 May 2006 03:53:59 -0500
I used the RandBetween function as suggested by Garry's Student. The
approach seems logical, but I'm not certain it does meet the criteria.
I generated 20 times the series for 500 integer data points (from A1 to
A501). I used each time a different starting point: A1 varied from 10
to 200 with steps of 10. I then computed the resulting growth rate as
follows:
-=ROUND(100*((A501/A1)^(1/500)-1),2).-
The resulting growth rate was 19 times out of 20 less than 4 (average
3.62 minimum 2.82 and once 4.32). I know that working with random
numbers can be tricky, but nevertheless I expected a more evenly
distributed growth rate around an average of 4.
Is the sample to small or is somehow the approach flawed?
I also tested the GrowthSeries function and it showed a very
interesting behaviour. It's an array formula and I filled a range of
500 cells with it.
-=GrowthSeries(0.04,0.12,10)-
Again I varied the starting point from 10 to 200 and I calculated the
growth rate. The good news is that the average over the 20 samples
calculated by the same formula as above, was ... 4.00. But the series
showed a strange behaviour. It grew more rapidly than the first (which
it should), but after some 450 data points it started to decline very
quickly to attain the "correct" growth rate at the end point.
When I reduced the sample to 450 cells, then the average growth rate
was ... 4.01. But again it surged for about 410 cells and then again it
declined to the correct value! A closer inspection revealed that the
function algorithm does use the cell count to determine some bounds and
probably this skews the results to the target value near the end.
I'm afraid that both suggestions have their problems?
--
rvExcelNewTip
------------------------------------------------------------------------
rvExcelNewTip's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=15668
View this thread: http://www.excelforum.com/showthread.php?threadid=541903
.
- Follow-Ups:
- Re: Data Generation
- From: bplumhoff@xxxxxxxxx
- Re: Data Generation
- References:
- Data Generation
- From: rvExcelNewTip
- Re: Data Generation
- From: bplumhoff@xxxxxxxxx
- Data Generation
- Prev by Date: Re: date number separation
- Next by Date: Re: Data Generation
- Previous by thread: Re: Data Generation
- Next by thread: Re: Data Generation
- Index(es):
Relevant Pages
|