Learn R Programming

logNormReg (version 0.5-0)

summary.lognlm: Summarizing model fits for log Normal regression

Description

summary method for class lognlm.

Usage

# S3 method for lognlm
summary(object, ...)

# S3 method for summary.lognlm print(x, digits = max(3L, getOption("digits") - 3L), signif.stars = getOption("show.signif.stars"), ...)

Arguments

object

object of class "lognreg".

x

a summary.segmented object produced by summary.segmented().

digits

controls number of digits printed in output.

signif.stars

logical, should stars be printed on summary tables of coefficients?

further arguments to be passed to vcov, for instance sandw=TRUE.

Value

A list (similar to one returned by lognlm with additional components, such as the estimate standard errors and corresponding p-values.

Details

These functions compute and print some useful information relevant to "lognlm" fits, including point estimates, standard errors and p-values.

See Also

See also lognlm and vcov.lognlm

Examples

Run this code
# NOT RUN {
n=20
s=.2
set.seed(10)      #just to get reproducible results..

#covariates
x<-seq(.1,10,l=n) 
z<-rnorm(n)

#response
mu<- 10+.5*x- z  #linear regression function
y<-rlnorm(n, log(mu)-s^2/2, s) #data..

o<- lognlm(y~x+z) #the model
summary(o, sandw=TRUE)
# }

Run the code above in your browser using DataLab