eststo: Estimates Storage

Description Usage Arguments Value Author(s) See Also Examples

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

1
eststo(x,est_column=NULL,store="default")

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 know that additional variables, contained in further models, need to be placed at the end or in the correct order. See the example below! (cigs,motheduc,faminc)

store

Specifies the storage units for individual tables. Each unit contains the data for one output table.

Value

The list object 'ccl' is returned.

comp1

models stored

comp2

estimates stored of each model, the last list contains R, adj. R, N

comp3

estimate, std.err., t-value, p-value

Author(s)

Felix Kaminsky fkamins@uni-goettingen.de inspired by estout for Stata.

See Also

esttab, estclear

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
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)

eststo(model1,store="tab2")
eststo(model2,store="tab2")
eststo(model3,store="tab2")

## End(Not run)

estout documentation built on May 1, 2019, 10:31 p.m.

Related to eststo in estout...