Usage Arguments Value Author(s) Examples
View source: R/summary.Gcomputation.R
1  | summary.Gcomputation(x, digist = 4, ...)
 | 
x | 
|
digist | 
|
... | 
model | 
 —-  | 
Namedata | 
 —-  | 
cond | 
 —-  | 
data | 
 —-  | 
Estdata | 
 —-  | 
NBallObs | 
 —-  | 
NBestObs | 
 —-  | 
nboot | 
 —-  | 
coefficients | 
 —-  | 
Thomas Maltesen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30  | ## Not run: 
N<-2000
set.seed(3)
A0<-rnorm(N)
L0<-2*A0+rnorm(N)
A1<-3*L0+2.4*A0+rnorm(N)
Y<-2*A0+2*L0+3*A1+rnorm(N)
DAG.2<-data.frame(Y,A0,A1,L0)
rm("Y", "A0", "A1", "L0")
G<-
TimeVaryGcomp(model=Y ~ A0 + A1,
              cond=c(L0 ~ A0,
                     Y ~ A0 + A1 + L0),
              data=DAG.2)
G
summary(G)
Call: TimeVaryGcomp(model = Y ~ A0 + A1, 
                    cond = c(L0 ~ A0, 
                             Y ~ A0 + A1 + L0), 
                    data = DAG.2)
Coefficients:         95
   Estimate Std. Err.  Lower  Upper
A0   5.7444    0.1869 5.3781 6.1107
A1   3.0342    0.0221 2.9908 3.0776
The size of the dataset used to estimtation: 2000
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.