Learn R Programming

estout (version 0.6-1)

eststo: Estimates Storage

Description

Function that stores the estimates, R squared, adjusted R squared, number of observations, standard errors, t- and p-values in the list object "ccl".

Usage

eststo(x,est_column=NULL)

Arguments

x
R object containing an estimated model.
est_column
is an optional argument to control in which position the model values are stored. By default however the model ist stored at the end of the list. It is important to not that additional variables, contained in further models, need to be place at the end or

Value

  • The list object 'ccl' is returned.
  • comp1models stored
  • comp2estimates stored of each model, the last list contains R, adj. R, N
  • comp3estimate, std.err., t-value, p-value

See Also

esttab, estclear

Examples

Run this code
B <- read.table("../data/bwght.tab",header=TRUE)
attach(B)


b.cigs.motheduc <- lm(bwght ~ cigs + motheduc)
b.cigs.faminc <- lm(bwght ~ cigs + faminc)
b.cigs.motheduc.faminc <- lm(bwght ~ cigs + motheduc + faminc)



eststo(b.cigs.motheduc)
eststo(b.cigs.faminc)
eststo(b.cigs.motheduc.faminc)

Run the code above in your browser using DataLab