Re: [R] Step wise regression

From: Ted Harding <>
Date: Wed 04 May 2005 - 01:00:10 EST

On 03-May-05 Frank E Harrell Jr wrote:
> walmir-rodrigues wrote:

>> Dear Fellows,
>> How can I do to proced a step wise regression in R, if itīs possible ?
>> Thanks,
>> Walmir 

> Here is an easy approach that will yield results only slightly less
> valid than one actually using the response variable:
> x <- data.frame(x1,x2,x3,x4,..., other potential predictors)
> x[,sample(ncol(x))]
>:-) -Frank

Frank, you are a sneaky subversive! But you have given me a technical clue for a project long near to my heart (with Andy's important "random parsimony" refinement).

This is to implement software-driven Clinical Trials articles, for submission to standard peer-reviewed journals.

The underlying engine would be the dada-engine. For samples of what this can generate, visit

repeatedly (or click on the "To generate another essay, follow this link" link you will find just below the article generated; repeat ad libitum).

Also at the foot of the page, you will find links to explanations of how it works. See also

The basis is that articles of certain kinds have a predictable structure, and utilise terminology, phrases, sentence-structures and substantive elements drawn from typical usage, and are such that the real thing is indistiguishable from the results of sampling these elements at random, under the control of a rulebased recursive transition network automaton.

Tailor-made for Clinical Trials, methinks. (Mind you, someone once did a lot of work setting up the rulebase for the PostModern Lit Crit genre which is what you get in the above samples).

Best wishes,
Ted. mailing list PLEASE do read the posting guide! Received on Wed May 04 01:26:48 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:32 EST