[nzlug] Time Calculator

Cliff Pratt enkidu at cliffp.com
Sat Jan 13 11:35:00 NZDT 2007


Martin Shergold wrote:
> On 12/01/07, Marvin Pascual <marvin at pascual.com.ph> wrote:
>> Thank you for all your suggestions.  Actually, I'm about to compute
>> the analysis of variance (ANOVA) of 6 different elapsed time.  My data
>> are listed below:
>>
>> -----------------------------------------------
>> |    |   Xa    |   Xb    |   Xc    |    Xd    |
>> -----------------------------------------------
>> | T1 | 1:01.84 | 2:04.18 | 4:09.26 | 11:04.57 |
>> -----------------------------------------------
>> | T2 | 1:03.17 | 2:05.35 | 4:10.55 | 11:04.47 |
>> -----------------------------------------------
>> | T3 | 1:02.76 | 2:05.31 | 4:13.08 | 11:07.45 |
>> -----------------------------------------------
>> | T4 | 1:03.16 | 2:05.26 | 4:09.14 | 11:01.45 |
>> -----------------------------------------------
>> | T5 | 1:02.71 | 2:06.02 | 4:09.60 | 11:01.94 |
>> -----------------------------------------------
>> | T6 | 1:01.51 | 2:01.85 | 3:53.15 | 09:47.24 |
>> -----------------------------------------------
>>
>> Now, I want to compute its weighted mean and the analysis of variance
>> automatically in order to identify its significant difference.
>> Although the presentation of results and its computation will be
>> written manually, I just want to get the basic calculations
>> automatically.
> 
> Hey Marvin,
> 
> I'm possibly not going to be of much help, but I think you're seeking
> a round peg for what seems a square hole.
> 
> While it'd be easy enough to cobble together something to perform
> arithmetic on durations; wouldn't it be simpler to just convert all
> the samples to milliseconds, then use standard tools that work with
> scalars, and convert back to durations for presentation of final
> results?
> 
Zactly!

Cheers,

Cliff




More information about the NZLUG mailing list