Skip to content

does any package have the functionality of ace() from old acepack?

4 messages · GlenB, Jonathan Baron

#
I found the old ace function (from acepack) valuable a couple of years ago
in helping to find a transformation of the response to approximate
additivity in smooth functions of the predictors. 
ace used alternating conditional expectations, but I'm not overly fixated on
algorithms as long
as it works pretty well.

Is there another package that has that sort of functionality? I haven't been
able to locate one, 
but maybe I missed something.
#
Acepack is still in the archive section of CRAN:

http://cran.r-project.org/src/contrib/Archive/acepack/acepack_1.3-2.2.tar.gz

It seems to work despite the warning, but I guess you'd better test
it.

It is very simple: a few very old fortran scripts and an R wrapper by
Thomas Lumley.  I'm going to look into what needs to be done to bring
it up to date, but no promises.

A similar function is transace from the Hmisc package:

http://finzi.psych.upenn.edu/library/Hmisc/html/transace.html

I'm not sure that this does the same thing as ace.

Jon
On 01/18/10 02:11, GlenB wrote:

  
    
#
Thanks very much, it looks to be an implementation the same algorithm with
slightly different form of inputs and some useful extras. It should do
nicely.
Jonathan Baron wrote:
A similar function is transace from the Hmisc package:

http://finzi.psych.upenn.edu/library/Hmisc/html/transace.html

I'm not sure that this does the same thing as ace.
#
I tried to use transace but it tried to call ace from acepack.

So I re-downloaded Hmisc to make sure I had the latest version 
(Warning message: "package 'Hmisc' was built under R version 2.10.1" - I am
running 2.10.0, Windows version running under XP).

looking at transace, it has this:
which of course it can't get.

I presume that to get transace to work I have to either get the old acepack
and download it (and hope it still works) or I have to update to R version
2.10.1, but either way it seems a bit odd.  I assume it's my ignorance at
work here rather than some problem with the setup.