File: include_reference.md

package info (click to toggle)
r-cran-parameters 0.24.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,852 kB
  • sloc: sh: 16; makefile: 2
file content (157 lines) | stat: -rw-r--r-- 7,418 bytes parent folder | download
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
# include_reference, on-the-fly factors

    Code
      print(out1)
    Output
      Parameter   | Coefficient |   SE |         95% CI | t(27) |      p
      ------------------------------------------------------------------
      (Intercept) |       27.48 | 1.97 | [23.43, 31.53] | 13.92 | < .001
      gear [3]    |        0.00 |      |                |       |       
      gear [4]    |        0.08 | 1.83 | [-3.68,  3.83] |  0.04 | 0.967 
      gear [5]    |        2.39 | 2.38 | [-2.50,  7.29] |  1.00 | 0.324 
      am [0]      |        0.00 |      |                |       |       
      am [1]      |        4.14 | 1.81 | [ 0.42,  7.85] |  2.29 | 0.030 
      hp          |       -0.06 | 0.01 | [-0.09, -0.04] | -6.24 | < .001
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print(out2)
    Output
      Parameter   | Coefficient |   SE |         95% CI | t(27) |      p
      ------------------------------------------------------------------
      (Intercept) |       27.48 | 1.97 | [23.43, 31.53] | 13.92 | < .001
      gear [3]    |        0.00 |      |                |       |       
      gear [4]    |        0.08 | 1.83 | [-3.68,  3.83] |  0.04 | 0.967 
      gear [5]    |        2.39 | 2.38 | [-2.50,  7.29] |  1.00 | 0.324 
      am [0]      |        0.00 |      |                |       |       
      am [1]      |        4.14 | 1.81 | [ 0.42,  7.85] |  2.29 | 0.030 
      hp          |       -0.06 | 0.01 | [-0.09, -0.04] | -6.24 | < .001
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print_md(out, engine = "tt")
    Output
      
      +--------------+----------------------+----------------------+
      | Parameter    | m1                   | m2                   |
      +==============+======================+======================+
      | (Intercept)  | 27.48 (23.43, 31.53) | 27.48 (23.43, 31.53) |
      +--------------+----------------------+----------------------+
      | gear (3)     | 0.00                 | 0.00                 |
      +--------------+----------------------+----------------------+
      | gear (4)     | 0.08 (-3.68, 3.83)   | 0.08 (-3.68, 3.83)   |
      +--------------+----------------------+----------------------+
      | gear (5)     | 2.39 (-2.50, 7.29)   | 2.39 (-2.50, 7.29)   |
      +--------------+----------------------+----------------------+
      | am (0)       | 0.00                 | 0.00                 |
      +--------------+----------------------+----------------------+
      | am (1)       | 4.14 (0.42, 7.85)    | 4.14 (0.42, 7.85)    |
      +--------------+----------------------+----------------------+
      | hp           | -0.06 (-0.09, -0.04) | -0.06 (-0.09, -0.04) |
      +--------------+----------------------+----------------------+
      |              |                      |                      |
      +--------------+----------------------+----------------------+
      | Observations | 32                   | 32                   |
      +--------------+----------------------+----------------------+ 

# include_reference, different contrasts

    Code
      print(out)
    Output
      Parameter   | Coefficient |   SE |          95% CI | t(27) |      p
      -------------------------------------------------------------------
      (Intercept) |       19.70 | 1.18 | [ 17.28, 22.11] | 16.71 | < .001
      cyl [6]     |       -6.66 | 1.63 | [-10.00, -3.31] | -4.09 | < .001
      cyl [8]     |      -10.54 | 1.96 | [-14.56, -6.52] | -5.38 | < .001
      gear [3]    |        0.00 |      |                 |       |       
      gear [4]    |        1.32 | 1.93 | [ -2.63,  5.28] |  0.69 | 0.498 
      gear [5]    |        1.50 | 1.85 | [ -2.31,  5.31] |  0.81 | 0.426 
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print(out)
    Output
      Parameter   | Coefficient |   SE |          95% CI | t(27) |      p
      -------------------------------------------------------------------
      (Intercept) |       25.43 | 1.88 | [ 21.57, 29.29] | 13.52 | < .001
      cyl [4]     |        0.00 |      |                 |       |       
      cyl [6]     |       -6.66 | 1.63 | [-10.00, -3.31] | -4.09 | < .001
      cyl [8]     |      -10.54 | 1.96 | [-14.56, -6.52] | -5.38 | < .001
      gear [3]    |        0.00 |      |                 |       |       
      gear [4]    |        1.32 | 1.93 | [ -2.63,  5.28] |  0.69 | 0.498 
      gear [5]    |        1.50 | 1.85 | [ -2.31,  5.31] |  0.81 | 0.426 
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print(out)
    Output
      Parameter   | Coefficient |   SE |          95% CI | t(27) |      p
      -------------------------------------------------------------------
      (Intercept) |       20.64 | 0.67 | [ 19.26, 22.01] | 30.76 | < .001
      cyl [6]     |       -6.66 | 1.63 | [-10.00, -3.31] | -4.09 | < .001
      cyl [8]     |      -10.54 | 1.96 | [-14.56, -6.52] | -5.38 | < .001
      gear [1]    |       -0.94 | 1.09 | [ -3.18,  1.30] | -0.86 | 0.396 
      gear [2]    |        0.38 | 1.11 | [ -1.90,  2.67] |  0.34 | 0.734 
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print(out)
    Output
      Parameter   | Coefficient |   SE |         95% CI | t(27) |      p
      ------------------------------------------------------------------
      (Intercept) |       15.83 | 1.24 | [13.28, 18.37] | 12.75 | < .001
      cyl [8]     |        0.00 |      |                |       |       
      cyl [4]     |       10.54 | 1.96 | [ 6.52, 14.56] |  5.38 | < .001
      cyl [6]     |        3.89 | 1.88 | [ 0.03,  7.75] |  2.07 | 0.049 
      gear [1]    |       -0.94 | 1.09 | [-3.18,  1.30] | -0.86 | 0.396 
      gear [2]    |        0.38 | 1.11 | [-1.90,  2.67] |  0.34 | 0.734 
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.

---

    Code
      print(out)
    Output
      Parameter   | Coefficient |   SE |         95% CI | t(27) |      p
      ------------------------------------------------------------------
      (Intercept) |       14.89 | 0.92 | [13.00, 16.77] | 16.19 | < .001
      cyl [8]     |        0.00 |      |                |       |       
      cyl [4]     |       10.54 | 1.96 | [ 6.52, 14.56] |  5.38 | < .001
      cyl [6]     |        3.89 | 1.88 | [ 0.03,  7.75] |  2.07 | 0.049 
      gear [3]    |        0.00 |      |                |       |       
      gear [4]    |        1.32 | 1.93 | [-2.63,  5.28] |  0.69 | 0.498 
      gear [5]    |        1.50 | 1.85 | [-2.31,  5.31] |  0.81 | 0.426 
    Message
      
      Uncertainty intervals (equal-tailed) and p-values (two-tailed) computed
        using a Wald t-distribution approximation.