Skip to content
Prev 174702 / 398506 Next

confidence interval or error of x intercept of a linear regression

On Mon, 23 Mar 2009, Kevin J Emerson wrote:

            
A few people have written code to do nonlinear transformations automatically. 
There's one in my 'survey' package, and I think there's an example in Venables 
& Ripley's "S Programming", and I'm sure there are others.

For example
nlcon     SE
contrast 3.8061  0.1975

The `backquotes` are necessary because the coefficient name, (Intercept), isn't a legal variable name.

The svycontrast() function works on anything that has coef() and vcov() methods. The actual delta-method computations are in survey:::nlcon

        -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle