Description Usage Arguments Value Author(s) References See Also Examples
This function extends the mtable() to report strategic selection models (StratSel
). Together with setStratSelDefault
and the mtable
command from the memisc
package users can create multi-model tables and export them to LaTeX.
1 2 | ## S3 method for class 'StratSel'
getSummary(obj, alpha = 0.05, ...)
|
obj |
An object of class |
alpha |
Significance level. |
... |
additional arguments |
Returns a list of objects to be fed to mtable
. Do not use this command directly. The command mtable
will automatically call this function for an object of the StratSel
class.
Lucas Leemann lleemann@gmail.com
Elff, Martin. (2013). memisc: Tools for Management of Survey Data, Graphics, Programming, Statistics, and Simulation R package version 0.96-7.
1 2 3 4 |
Loading required package: MASS
Loading required package: memisc
Loading required package: lattice
Attaching package: ‘memisc’
The following objects are masked from ‘package:stats’:
contr.sum, contr.treatment, contrasts
The following object is masked from ‘package:base’:
as.array
Loading required package: Formula
Loading required package: mnormt
Loading required package: pbivnorm
Calls:
out1: StratSel(formula = Y ~ var.A | var.D | var.E, corr = FALSE, data = data.fake)
out2: StratSel(formula = Y ~ var.A | var.C | var.E, corr = FALSE, data = data.fake)
============================================
out1 out2
--------------------------------------------
u11 constant -0.494 -0.347
(0.304) (0.298)
u11 var.A 1.052*** 0.883***
(0.218) (0.207)
u14 constant -0.660 -0.456
(0.454) (0.446)
u14 var.D 0.774***
(0.073)
u24 constant 0.454*** 0.453***
(0.058) (0.058)
u24 var.E 0.607*** 0.586***
(0.129) (0.137)
u14 var.C 0.927**
(0.294)
--------------------------------------------
Log-likelihood
N 1000 1000
============================================
Significance: *** = p < 0.001;
** = p < 0.01;
* = p < 0.05
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.