random vs. fixed [Software]

posted by ElMaestro  – Denmark, 2011-10-08 17:26 (5007 d 19:47 ago) – Posting: # 7452
Views: 6,880

Dear HS,

❝ Do you think that’s possible? RMLE is an iterative process. Even if you find a formula based on the variance-covariance-matrix, you would need to fire up some software to fill it up with numbers first. IMHO no ‘manual’ calculation possible here.


Yes, I think it is possible.
VBA works with double precision reals if the user wants (dim X as double etc) which is definitely good enough. I am rather sure that it is be possible to set up the entire thing in VBA/Excel although I would of course any day prefer a dedicated stats software. There are some practicalities around it, though:
1. VB is interpreted, not truly compiled and executed as binary. This makes it quite slow for complex operations.
2. Setting up the algos in VBA would definitely be more than just a standard day at the office. Need support from underlying matrix routines.

I made some months ago a matrix library from scratch in C and set up the algos for REML estimation and it actually worked fine. Was about 9000 lines IIRC, so it would be the same in VBA. My code was based on doubles, too, and achieved the same as R using d_labes's model specifications (see the legendary freedom thread). We need also to bear in mind that the math operations (plus, minus, log, sine etc) in themselves are never proven wrongly implemented in any VB operation; the wrong implementations come when people use the basic functions in an inappropriate manner to calculate something slightly more complex like standard deviations.

Who's got 1000 hours spare time for this little task?

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,674 registered users;
28 visitors (0 registered, 28 guests [including 18 identified bots]).
Forum time: 13:14 CEST (Europe/Vienna)

I have had my results for a long time:
but I do not yet know how I am to arrive
at them.    Carl Friedrich Gauß

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5