printCrudeAndAdjustedModel: Output crude and adjusted model data

Description Usage Arguments Value Warning See Also Examples

View source: R/printCrudeAndAdjustedModel.R

Description

Prints table for a fitted object. It prints by default a latex table but can also be converted into a HTML table that should be more compatible with common word processors. For details run vignette("printCrudeAndAdjustedModel")

Usage

 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
31
32
33
34
35
36
37
38
printCrudeAndAdjustedModel(
  model,
  order,
  digits = 2,
  ci_lim = c(-Inf, Inf),
  sprintf_ci_str = getOption("sprintf_ci_str", "%s to %s"),
  add_references,
  add_references_pos,
  reference_zero_effect,
  groups,
  rowname.fn,
  use_labels = TRUE,
  desc_column = FALSE,
  desc_args = caDescribeOpts(digits = digits),
  impute_args,
  ...
)

## S3 method for class 'printCrudeAndAdjusted'
rbind(..., alt.names, deparse.level = 1)

## S3 method for class 'printCrudeAndAdjusted'
print(x, ...)

## S3 method for class 'printCrudeAndAdjusted'
htmlTable(x, ...)

## S3 method for class 'printCrudeAndAdjusted'
x[i, j, ...]

## S3 method for class 'printCrudeAndAdjusted'
cbind(..., alt.names, deparse.level = 1)

## S3 method for class 'printCrudeAndAdjusted'
knit_print(x, ...)

## S3 method for class 'printCrudeAndAdjusted'
latex(object, ...)

Arguments

model

A regression model fit, i.e. the returned object from your regression function, or the output from getCrudeAndAdjustedModelData()

order

A vector with regular expressions for each group, use if youe want to reorder the groups in another way than what you've used in your original function. You can also use this in order to skip certain variables from the output.

digits

The number of digits to round to

ci_lim

A limit vector number that specifies if any values should be abbreviated above or below this value, for instance a value of 1000 would give a value of > -1000 for a value of 1001. This gives a prettier table when you have very wide confidence intervals.

sprintf_ci_str

A string according to sprintf() to write the confidence interval where the first %s is the lower and the second the upper. You can choose to set this through setting the option sprintf_ci_str, e.g. options(sprintf_ci_str = "%s - %s").

add_references

True if it should use the data set to look for references, otherwise supply the function with a vector with names. Sometimes you want to indicate the reference row for each group. This needs to be just as many as the groups as the order identified. Use NA if you don't want to have a reference for that particular group.

add_references_pos

The position where a reference should be added. Sometimes you don't want the reference to be at the top, for instance if you have age groups then you may have < 25, 25-39, 40-55, > 55 and you have the reference to be 25-39 then you should set the reference list for age_groups as add_references_pos = list(age_groups = 2) so that you have the second group as the position for the reference.

reference_zero_effect

Used with references, tells if zero effect is in exponential form, i.e. exp(0) = 1, or in regular format, i.e. 0 = 0 (can be set to any value)

groups

If you wish to have other than the default rgroup names for the grouping parameter

rowname.fn

A function that takes a row name and sees if it needs beautifying. The function has only one parameter the coefficients name and should return a string or expression.

use_labels

If the rowname.fn function doesn't change the name then the label should be used instead of the name, that is if there is a label and it isn't a factor.

desc_column

Add descriptive column to the crude and adjusted table

desc_args

The description arguments that are to be used for the the description columns. The options/arguments should be generated by the caDescribeOpts function.

impute_args

A list with additional arguments if the provided input is a imputed object. Currently the list options coef_change and variance.inflation are supported. If you want both columns then the simplest way is to provide the list: list(coef_change = TRUE, variance.inflation = TRUE). The coef_change adds a column with the change in coefficients due to the imputation, the the "raw" model is subtracted from the imputed results. The "raw" model is the unimputed model, coef(imputed_model) - coef(raw_model). The variance.inflation adds the variance.inflation.impute from the fit.mult.impute() to a separate column. See the description for the variance.inflation.impute in in the fit.mult.impute() description. Both arguments can be customized by providing a list. The list can have the elements type, name, out_str, and/or digits. The type can for coef_change/variance.impute be either "percent" or "ratio", note that variance.inflation.impute was not originally intended to be interpreted as %. The default for coef_change is to have "diff", that gives the absolute difference in the coefficient. The name provides the column name, the out_str should be a string that is compatible with sprintf() and also contains an argument for accepting a float value, e.g. " column. The digits can be used if you are not using the out_str argument, it simply specifies the number of digits to show. See the example for how for a working example. Note that currently only the fit.mult.impute() is supported by this option.

...

outputs from printCrudeAndAdjusted. If mixed then it defaults to rbind.data.frame

alt.names

If you don't want to use named arguments for the tspanner attribute in the rbind or the cgroup in the cbind but a vector with names then use this argument.

deparse.level

backward compatibility

x

The output object from the printCrudeAndAdjustedModel function

object

The output object from the printCrudeAndAdjustedModel function

Value

matrix Returns a matrix of class printCrudeAndAdjusted that has a default print method associated with

Warning

If you call this function and you've changed any of the variables used in the original call, i.e. the premises are changed, this function will not remember the original values and the statistics will be faulty!

See Also

latex() for details.

Other printCrudeAndAdjusted functions: prCaAddRefAndStat(), prCaAddReference(), prCaAddUserReferences(), prCaGetImputationCols(), prCaGetRowname(), prCaGetVnStats(), prCaPrepareCrudeAndAdjusted(), prCaReorderReferenceDescribe(), prCaReorder(), prCaSelectAndOrderVars(), prCaSetRownames()

Examples

  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
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# simulated data to use
set.seed(10)
ds <- data.frame(
  ftime = rexp(200),
  fstatus = sample(0:1, 200, replace = TRUE),
  Variable1 = runif(200),
  Variable2 = runif(200),
  Variable3 = runif(200),
  Variable4 = factor(sample(LETTERS[1:4], size = 200, replace = TRUE))
)

library(rms)
dd <- datadist(ds)
options(datadist = "dd")

fit <- cph(Surv(ftime, fstatus) ~ Variable1 + Variable3 + Variable2 + Variable4,
  data = ds, x = TRUE, y = TRUE
)
printCrudeAndAdjustedModel(fit, order = c("Variable[12]", "Variable3"))
printCrudeAndAdjustedModel(fit,
  order = c("Variable3", "Variable4"),
  add_references = TRUE,
  desc_column = TRUE
)

# Now to a missing example
n <- 500
ds <- data.frame(
  x1 = factor(sample(LETTERS[1:4], size = n, replace = TRUE)),
  x2 = rnorm(n, mean = 3, 2),
  x3 = factor(sample(letters[1:3], size = n, replace = TRUE))
)

ds$Missing_var1 <- factor(sample(letters[1:4], size = n, replace = TRUE))
ds$Missing_var2 <- factor(sample(letters[1:4], size = n, replace = TRUE))
ds$y <- rnorm(nrow(ds)) +
  (as.numeric(ds$x1) - 1) * 1 +
  (as.numeric(ds$Missing_var1) - 1) * 1 +
  (as.numeric(ds$Missing_var2) - 1) * .5

# Create a messy missing variable
non_random_missing <- sample(which(ds$Missing_var1 %in% c("b", "d")),
  size = 150, replace = FALSE
)
# Restrict the non-random number on the x2 variables
non_random_missing <- non_random_missing[non_random_missing %in%
  which(ds$x2 > mean(ds$x2) * 1.5) &
  non_random_missing %in%
    which(ds$x2 > mean(ds$y))]
ds$Missing_var1[non_random_missing] <- NA

# Simple missing variable
ds$Missing_var2[sample(1:nrow(ds), size = 50)] <- NA

# Setup the rms environment
ddist <- datadist(ds)
options(datadist = "ddist")

impute_formula <-
  as.formula(paste(
    "~",
    paste(colnames(ds),
      collapse = "+"
    )
  ))

imp_ds <- aregImpute(impute_formula, data = ds, n.impute = 10)

fmult <- fit.mult.impute(y ~ x1 + x2 + x3 +
  Missing_var1 + Missing_var2,
fitter = ols, xtrans = imp_ds, data = ds
)

printCrudeAndAdjustedModel(fmult,
  impute_args = list(
    variance.inflation = TRUE,
    coef_change = list(
      type = "diff",
      digits = 3
    )
  )
)


# Use some labels and style to prettify the output
# fro the mtcars dataset
data("mtcars")

label(mtcars$mpg) <- "Gas"
units(mtcars$mpg) <- "Miles/(US) gallon"

label(mtcars$wt) <- "Weight"
units(mtcars$wt) <- "10^3 kg" # not sure the unit is correct

mtcars$am <- factor(mtcars$am, levels = 0:1, labels = c("Automatic", "Manual"))
label(mtcars$am) <- "Transmission"

mtcars$gear <- factor(mtcars$gear)
label(mtcars$gear) <- "Gears"

# Make up some data for making it slightly more interesting
mtcars$col <- factor(sample(c("red", "black", "silver"), size = NROW(mtcars), replace = TRUE))
label(mtcars$col) <- "Car color"

require(splines)
fit_mtcar <- lm(mpg ~ wt + gear + col, data = mtcars)
printCrudeAndAdjustedModel(fit_mtcar,
  add_references = TRUE,
  ctable = TRUE,
  desc_column = TRUE,
  digits = 1,
  desc_args = caDescribeOpts(
    digits = 1,
    colnames = c("Avg.")
  )) %>% 
  htmlTable::addHtmlTableStyle(css.rgroup = "",
                               css.header = "font-weight: normal")

printCrudeAndAdjustedModel(fit_mtcar,
  add_references = TRUE,
  desc_column = TRUE,
  order = c("Interc", "gear")
)

# Alterntive print - just an example, doesn't make sense to skip reference
printCrudeAndAdjustedModel(fit_mtcar,
  order = c("col", "gear"),
  groups = c("Color", "Gears"),
  add_references = c("black", NA),
  ctable = TRUE
)

# Now we can also combine models into one table using rbind()
mpg_model <- printCrudeAndAdjustedModel(lm(mpg ~ wt + gear + col, data = mtcars),
  add_references = TRUE,
  ctable = TRUE,
  desc_column = TRUE,
  digits = 1,
  desc_args = caDescribeOpts(
    digits = 1,
    colnames = c("Avg.")
  )
)

wt_model <- printCrudeAndAdjustedModel(lm(wt ~ mpg + gear + col, data = mtcars),
  add_references = TRUE,
  ctable = TRUE,
  desc_column = TRUE,
  digits = 1,
  desc_args = caDescribeOpts(
    digits = 1,
    colnames = c("Avg.")
  )
)

library(magrittr)
library(htmlTable)
rbind(Miles = mpg_model, Weight = wt_model) %>%
  addHtmlTableStyle(pos.caption = "bottom") %>% 
  htmlTable(caption = paste("Combining models together with a table spanner element", 
                            "separating each model"))

Example output

Loading required package: forestplot
Loading required package: grid
Loading required package: magrittr
Loading required package: checkmate
Loading required package: Gmisc
Loading required package: Rcpp
Loading required package: htmlTable
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package:HmiscThe following objects are masked frompackage:base:

    format.pval, units

Loading required package: SparseM

Attaching package:SparseMThe following object is masked frompackage:base:

    backsolve

<table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>HR</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>HR</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody>
<tr>
<td style='text-align: left;'>Variable1</td>
<td style='text-align: right;'>0.84</td>
<td style='text-align: center;'>0.44 to 1.58</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.95</td>
<td style='text-align: center;'>0.47 to 1.92</td>
</tr>
<tr>
<td style='text-align: left;'>Variable2</td>
<td style='text-align: right;'>1.07</td>
<td style='text-align: center;'>0.57 to 2.02</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.13</td>
<td style='text-align: center;'>0.59 to 2.17</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>Variable3</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>0.73</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.38 to 1.39</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>0.67</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.34 to 1.29</td>
</tr>
</tbody>
</table><table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='2' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'></th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Total</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Event</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>HR</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>HR</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody>
<tr>
<td style='text-align: left;'>Variable3</td>
<td style='text-align: right;'>0.52 (&plusmn;0.30)</td>
<td style='text-align: right;'>0.47 (&plusmn;0.29)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.73</td>
<td style='text-align: center;'>0.38 to 1.39</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.67</td>
<td style='text-align: center;'>0.34 to 1.29</td>
</tr> 
<tr><td colspan='9' style='font-weight: 900;'>Variable4</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;A</td>
<td style='text-align: right;'>55</td>
<td style='text-align: right;'>25 (45.45%)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.00</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.00</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;B</td>
<td style='text-align: right;'>50</td>
<td style='text-align: right;'>26 (52.00%)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.39</td>
<td style='text-align: center;'>0.80 to 2.40</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.40</td>
<td style='text-align: center;'>0.80 to 2.48</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;C</td>
<td style='text-align: right;'>46</td>
<td style='text-align: right;'>30 (65.22%)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.76</td>
<td style='text-align: center;'>1.03 to 3.00</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.81</td>
<td style='text-align: center;'>1.06 to 3.10</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;D</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>49</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>30 (61.22%)</td> 
<td style='border-bottom: 2px solid grey; text-align: right;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>1.58</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.93 to 2.70</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>1.58</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.90 to 2.77</td>
</tr>
</tbody>
</table>Iteration 1 
Iteration 2 
Iteration 3 
Iteration 4 
Iteration 5 
Iteration 6 
Iteration 7 
Iteration 8 
Iteration 9 
Iteration 10 
Iteration 11 
Iteration 12 
Iteration 13 

Variance Inflation Factors Due to Imputation:

     Intercept           x1=B           x1=C           x1=D             x2 
          1.03           1.07           1.05           1.07           1.14 
          x3=b           x3=c Missing_var1=b Missing_var1=c Missing_var1=d 
          1.09           1.02           1.06           1.09           1.02 
Missing_var2=b Missing_var2=c Missing_var2=d 
          1.06           1.19           1.06 

Rate of Missing Information:

     Intercept           x1=B           x1=C           x1=D             x2 
          0.03           0.07           0.05           0.06           0.12 
          x3=b           x3=c Missing_var1=b Missing_var1=c Missing_var1=d 
          0.09           0.02           0.06           0.08           0.02 
Missing_var2=b Missing_var2=c Missing_var2=d 
          0.05           0.16           0.06 

d.f. for t-distribution for Tests of Single Coefficients:

     Intercept           x1=B           x1=C           x1=D             x2 
       8249.89        2013.84        3971.93        2364.76         604.21 
          x3=b           x3=c Missing_var1=b Missing_var1=c Missing_var1=d 
       1227.72       20588.65        2743.89        1317.34       30736.60 
Missing_var2=b Missing_var2=c Missing_var2=d 
       3309.94         348.23        2477.44 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 


Variance Inflation Factors Due to Imputation:

Intercept      x1=B      x1=C      x1=D 
        1         1         1         1 

Rate of Missing Information:

Intercept      x1=B      x1=C      x1=D 
        0         0         0         0 

d.f. for t-distribution for Tests of Single Coefficients:

   Intercept         x1=B         x1=C         x1=D 
4.030151e+26 5.940232e+28 1.573237e+28 3.967243e+27 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 


Variance Inflation Factors Due to Imputation:

Intercept        x2 
        1         1 

Rate of Missing Information:

Intercept        x2 
        0         0 

d.f. for t-distribution for Tests of Single Coefficients:

   Intercept           x2 
4.243498e+25 5.814532e+38 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 


Variance Inflation Factors Due to Imputation:

Intercept      x3=b      x3=c 
        1         1         1 

Rate of Missing Information:

Intercept      x3=b      x3=c 
        0         0         0 

d.f. for t-distribution for Tests of Single Coefficients:

   Intercept         x3=b         x3=c 
4.132485e+25 9.749756e+31 5.565786e+33 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 


Variance Inflation Factors Due to Imputation:

     Intercept Missing_var1=b Missing_var1=c Missing_var1=d 
          1.03           1.08           1.04           1.03 

Rate of Missing Information:

     Intercept Missing_var1=b Missing_var1=c Missing_var1=d 
          0.03           0.07           0.04           0.03 

d.f. for t-distribution for Tests of Single Coefficients:

     Intercept Missing_var1=b Missing_var1=c Missing_var1=d 
      13742.64        1782.15        6019.95       10207.13 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 


Variance Inflation Factors Due to Imputation:

     Intercept Missing_var2=b Missing_var2=c Missing_var2=d 
          1.07           1.10           1.07           1.07 

Rate of Missing Information:

     Intercept Missing_var2=b Missing_var2=c Missing_var2=d 
          0.07           0.09           0.07           0.07 

d.f. for t-distribution for Tests of Single Coefficients:

     Intercept Missing_var2=b Missing_var2=c Missing_var2=d 
       1990.96        1025.28        1942.37        1960.29 

The following fit components were averaged over the 10 model fits:

  fitted.values stats linear.predictors 

<table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Imputation effect</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coefficient change</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Variance change</th>
</tr>
</thead>
<tbody> 
<tr><td colspan='9' style='font-weight: 900;'>x1</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;B</td>
<td style='text-align: right;'>1.33</td>
<td style='text-align: center;'>0.96 to 1.70</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.06</td>
<td style='text-align: center;'>0.82 to 1.30</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.023</td>
<td style='text-align: right;'>1.07</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;C</td>
<td style='text-align: right;'>2.03</td>
<td style='text-align: center;'>1.66 to 2.41</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.95</td>
<td style='text-align: center;'>1.71 to 2.19</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.065</td>
<td style='text-align: right;'>1.05</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;D</td>
<td style='text-align: right;'>3.13</td>
<td style='text-align: center;'>2.75 to 3.50</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>3.02</td>
<td style='text-align: center;'>2.78 to 3.26</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.042</td>
<td style='text-align: right;'>1.07</td>
</tr>
<tr>
<td style='text-align: left;'>x2</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>-0.08 to 0.08</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>-0.04 to 0.04</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.005</td>
<td style='text-align: right;'>1.14</td>
</tr> 
<tr><td colspan='9' style='font-weight: 900;'>x3</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;b</td>
<td style='text-align: right;'>-0.22</td>
<td style='text-align: center;'>-0.63 to 0.20</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.15</td>
<td style='text-align: center;'>-0.37 to 0.08</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.082</td>
<td style='text-align: right;'>1.09</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;c</td>
<td style='text-align: right;'>-0.06</td>
<td style='text-align: center;'>-0.46 to 0.35</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.08</td>
<td style='text-align: center;'>-0.29 to 0.13</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.025</td>
<td style='text-align: right;'>1.02</td>
</tr> 
<tr><td colspan='9' style='font-weight: 900;'>Missing_var1</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;b</td>
<td style='text-align: right;'>1.11</td>
<td style='text-align: center;'>0.71 to 1.51</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.10</td>
<td style='text-align: center;'>0.86 to 1.35</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.023</td>
<td style='text-align: right;'>1.06</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;c</td>
<td style='text-align: right;'>2.22</td>
<td style='text-align: center;'>1.83 to 2.61</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>2.17</td>
<td style='text-align: center;'>1.92 to 2.41</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.031</td>
<td style='text-align: right;'>1.09</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;d</td>
<td style='text-align: right;'>2.92</td>
<td style='text-align: center;'>2.52 to 3.33</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>2.91</td>
<td style='text-align: center;'>2.67 to 3.16</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.065</td>
<td style='text-align: right;'>1.02</td>
</tr> 
<tr><td colspan='9' style='font-weight: 900;'>Missing_var2</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;b</td>
<td style='text-align: right;'>0.31</td>
<td style='text-align: center;'>-0.17 to 0.78</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.45</td>
<td style='text-align: center;'>0.20 to 0.69</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.013</td>
<td style='text-align: right;'>1.06</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;c</td>
<td style='text-align: right;'>0.93</td>
<td style='text-align: center;'>0.46 to 1.40</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.82</td>
<td style='text-align: center;'>0.57 to 1.08</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.010</td>
<td style='text-align: right;'>1.19</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;d</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>1.25</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.77 to 1.72</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>1.48</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>1.24 to 1.73</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>0.006</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>1.06</td>
</tr>
</tbody>
</table>Loading required package: splines
<table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='1' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'></th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: normal; text-align: center;'>Variable</th>
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;'>Avg.</th> 
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: normal; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody>
<tr>
<td style='text-align: left;'>(Intercept)</td>
<td style='text-align: right;'>-</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>20.1</td>
<td style='text-align: center;'>17.9 to 22.3</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>36.1</td>
<td style='text-align: center;'>29.8 to 42.4</td>
</tr>
<tr>
<td style='text-align: left;'>Weight</td>
<td style='text-align: right;'>3.2 (&plusmn;1.0)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-5.3</td>
<td style='text-align: center;'>-6.5 to -4.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-5.0</td>
<td style='text-align: center;'>-6.6 to -3.4</td>
</tr> 
<tr><td colspan='8' style=''>Gears</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;3</td>
<td style='text-align: right;'>15</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;4</td>
<td style='text-align: right;'>12</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>8.4</td>
<td style='text-align: center;'>4.7 to 12.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.7</td>
<td style='text-align: center;'>-1.8 to 5.2</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;5</td>
<td style='text-align: right;'>5</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>5.3</td>
<td style='text-align: center;'>0.3 to 10.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.7</td>
<td style='text-align: center;'>-4.5 to 3.1</td>
</tr> 
<tr><td colspan='8' style=''>Car color</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;black</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;red</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.7</td>
<td style='text-align: center;'>-6.0 to 4.6</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.2</td>
<td style='text-align: center;'>-3.1 to 2.6</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;silver</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>10</td> 
<td style='border-bottom: 2px solid grey; text-align: right;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>-2.8</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-8.3 to 2.6</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>-1.5</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-4.2 to 1.3</td>
</tr>
</tbody>
</table><table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='1' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'></th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Total</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody>
<tr>
<td style='text-align: left;'>(Intercept)</td>
<td style='text-align: right;'>-</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>20.09</td>
<td style='text-align: center;'>17.92 to 22.26</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>36.10</td>
<td style='text-align: center;'>29.76 to 42.43</td>
</tr> 
<tr><td colspan='8' style='font-weight: 900;'>Gears</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;3</td>
<td style='text-align: right;'>15</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;4</td>
<td style='text-align: right;'>12</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>8.43</td>
<td style='text-align: center;'>4.70 to 12.16</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.71</td>
<td style='text-align: center;'>-1.79 to 5.22</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;5</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>5</td> 
<td style='border-bottom: 2px solid grey; text-align: right;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>5.27</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.30 to 10.25</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>-0.70</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-4.46 to 3.07</td>
</tr>
</tbody>
</table><table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody> 
<tr><td colspan='6' style='font-weight: 900;'>Color</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;black</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.00</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;red</td>
<td style='text-align: right;'>-0.72</td>
<td style='text-align: center;'>-6.04 to 4.61</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.25</td>
<td style='text-align: center;'>-3.09 to 2.60</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;silver</td>
<td style='text-align: right;'>-2.82</td>
<td style='text-align: center;'>-8.28 to 2.64</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-1.47</td>
<td style='text-align: center;'>-4.25 to 1.30</td>
</tr> 
<tr><td colspan='6' style='font-weight: 900;'>Gears</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;4</td>
<td style='text-align: right;'>8.43</td>
<td style='text-align: center;'>4.70 to 12.16</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.71</td>
<td style='text-align: center;'>-1.79 to 5.22</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;5</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>5.27</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>0.30 to 10.25</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>-0.70</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-4.46 to 3.07</td>
</tr>
</tbody>
</table><table class='gmisc_table' style='border-collapse: collapse; margin-top: 1em; margin-bottom: 1em;' >
<thead>
<tr>
<th style='border-top: 2px solid grey;'></th>
<th colspan='1' style='font-weight: 900; border-top: 2px solid grey; text-align: center;'></th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Crude</th><th style='border-bottom: none; border-top: 2px solid grey;' colspan=1>&nbsp;</th>
<th colspan='2' style='font-weight: 900; border-bottom: 1px solid grey; border-top: 2px solid grey; text-align: center;'>Adjusted</th>
</tr>
<tr><th style='border-bottom: 1px solid grey; font-weight: 900; text-align: center;'>Variable</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Avg.</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th> 
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;' colspan=1>&nbsp;</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>Coef</th>
<th style='font-weight: 900; border-bottom: 1px solid grey; text-align: center;'>2.5 % to 97.5 %</th>
</tr>
</thead>
<tbody>
<tr><td colspan='8' style='font-weight: 900; text-align: left;'>Miles</td></tr>
<tr>
<td style='text-align: left;'>(Intercept)</td>
<td style='text-align: right;'>-</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>20.1</td>
<td style='text-align: center;'>17.9 to 22.3</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>36.1</td>
<td style='text-align: center;'>29.8 to 42.4</td>
</tr>
<tr>
<td style='text-align: left;'>Weight</td>
<td style='text-align: right;'>3.2 (&plusmn;1.0)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-5.3</td>
<td style='text-align: center;'>-6.5 to -4.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-5.0</td>
<td style='text-align: center;'>-6.6 to -3.4</td>
</tr> 
<tr><td colspan='8' style='font-weight: 900;'>Gears</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;3</td>
<td style='text-align: right;'>15</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;4</td>
<td style='text-align: right;'>12</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>8.4</td>
<td style='text-align: center;'>4.7 to 12.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>1.7</td>
<td style='text-align: center;'>-1.8 to 5.2</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;5</td>
<td style='text-align: right;'>5</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>5.3</td>
<td style='text-align: center;'>0.3 to 10.2</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.7</td>
<td style='text-align: center;'>-4.5 to 3.1</td>
</tr> 
<tr><td colspan='8' style='font-weight: 900;'>Car color</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;black</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;red</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.7</td>
<td style='text-align: center;'>-6.0 to 4.6</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.2</td>
<td style='text-align: center;'>-3.1 to 2.6</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;silver</td>
<td style='text-align: right;'>10</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-2.8</td>
<td style='text-align: center;'>-8.3 to 2.6</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-1.5</td>
<td style='text-align: center;'>-4.2 to 1.3</td>
</tr>
<tr><td colspan='8' style='font-weight: 900; text-align: left; border-top: 1px solid #BEBEBE;'>Weight</td></tr>
<tr>
<td style='text-align: left;'>(Intercept)</td>
<td style='text-align: right;'>-</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>3.2</td>
<td style='text-align: center;'>2.9 to 3.6</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>5.9</td>
<td style='text-align: center;'>5.2 to 6.7</td>
</tr>
<tr>
<td style='text-align: left;'>Gas</td>
<td style='text-align: right;'>20.1 (&plusmn;6.0)</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.1</td>
<td style='text-align: center;'>-0.2 to -0.1</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.1</td>
<td style='text-align: center;'>-0.2 to -0.1</td>
</tr> 
<tr><td colspan='8' style='font-weight: 900;'>Gears</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;3</td>
<td style='text-align: right;'>15</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;4</td>
<td style='text-align: right;'>12</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-1.3</td>
<td style='text-align: center;'>-1.9 to -0.7</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.4</td>
<td style='text-align: center;'>-0.9 to 0.2</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;5</td>
<td style='text-align: right;'>5</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-1.3</td>
<td style='text-align: center;'>-2.1 to -0.5</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>-0.6</td>
<td style='text-align: center;'>-1.1 to 0.0</td>
</tr> 
<tr><td colspan='8' style='font-weight: 900;'>Car color</td></tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;black</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.0</td>
<td style='text-align: center;'>ref</td>
</tr>
<tr>
<td style='text-align: left;'>&nbsp;&nbsp;red</td>
<td style='text-align: right;'>11</td> 
<td style='text-align: right;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.2</td>
<td style='text-align: center;'>-0.7 to 1.1</td> 
<td style='text-align: center;' colspan=1>&nbsp;</td>
<td style='text-align: right;'>0.2</td>
<td style='text-align: center;'>-0.2 to 0.6</td>
</tr>
<tr>
<td style='border-bottom: 2px solid grey; text-align: left;'>&nbsp;&nbsp;silver</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>10</td> 
<td style='border-bottom: 2px solid grey; text-align: right;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>0.2</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-0.8 to 1.1</td> 
<td style='border-bottom: 2px solid grey; text-align: center;' colspan=1>&nbsp;</td>
<td style='border-bottom: 2px solid grey; text-align: right;'>-0.2</td>
<td style='border-bottom: 2px solid grey; text-align: center;'>-0.6 to 0.3</td>
</tr>
</tbody>
<tr><td colspan='8' style='text-align: left;'>
Combining models together with a table spanner element separating each model</td></tr>
</table>

Greg documentation built on July 1, 2020, 6:59 p.m.