Re: R versus Fortran?

From: optionstraderjeff (jeffkatz_at_scientific-consultants.com)
Date: 02/28/05


Date: 27 Feb 2005 23:42:00 -0800

Hi,

I use the g77 compiler for Fortran, and the gcc/g++ and Borland C++
Builder compilers for C/C++. I just downloaded the new G95 compiler.

I found the Ubersax page a while ago; it seems to be one of the very
few pages with tetrachoric correlation (and the only one with
polychoric correlation) routines in Fortran! The basic tetrachoric
correlation code works quite well and was easily adapted for computing
correlation matrices. I would not hesitate to recommend it. The
polychoric correlation code, however, needs a lot of revision and
modification, partly due to the fact that it was written to work with a
specific non-standard compiler.

I also found a site with the archaic IBM/DECUS "SSP" subroutines and
downloaded a copy of TETRA. That routine compiles without error, but
appears to be much less stable (numerically) than the Ubersax routine;
in many cases it fails due to the absence of a root (of a polynomial)
between 0 and 1. The old TETRA routine requires solving for the roots
of a low-order (6th, I think) polynomial--the polynomial being an
approximation for a power series, and not a very good one from what I
can determine.

Thanks for your comment on my older book! Amazon should be posting
the table of contents (and even a "look inside" section) for the new
book if they follow their usual pattern.

Jeff.



Relevant Pages

  • Re: Looking for a free basic compiler for DOS
    ... BC for 7.1 had a lot of compiler switchable options, ... NEVER compile from the ide. ... One trivial example: I have a routine declared as: ... were no manuals, just a readme file. ...
    (comp.lang.basic.misc)
  • Re: SAMBA for VMS (The saga continues!)
    ... > callee (substitute function) code seems small to me. ... determine that the OS routine is now available. ... >>instructions and also disabling the compiler optimizer that you can rely ... they upgrade VMS and then try to install an existing package. ...
    (comp.os.vms)
  • Generic Maze Program Example 1
    ... This is the DOS DPMI version of the compiler in Rick van Norman's ... The original code for this was done by Larry Myers, ... routine that Larry used. ... press the #5 key on the numeric keypad. ...
    (comp.lang.forth)
  • Re: SAMBA for VMS (The saga continues!)
    ... Because it is the only way to prevent conflicts with the compiler ... optimizer and with shared images that may be loaded on any platform. ... This is the case on some modern UNIX platforms and especially on OpenVMS ... they were reserved names as far as global routine names are concerned. ...
    (comp.os.vms)
  • Re: Problem with Return Value from a Function
    ... It was always possible to write an assembly language routine that could be called from PL/I as a function and the location to receive the returned value was passed by reference as an n+1st argument. ... Function references to assembler routines were only possible if the ASSEMBLER option was *not* used, thus the compiler was unaware the the routine being called was an assembler routine and perforce must have compiled the same linkage it would compile when it was calling a routine written in PL/I. ... but I agree that not assigning at all would ...
    (comp.lang.pl1)