
#[
#import "@preview/tablex:0.0.8": tablex, cellx, hlinex

#tablex(
    columns: 4,
    auto-vlines: false,
    auto-hlines: false,
    column-gutter: 0.25em,
    hlinex(y: 0, stroke: 1pt),
    cellx(colspan: 2, x: 2, y: 0, align: center + top)[*Group 2*],
    hlinex(y: 1, start: 2, end: 4, stroke: 0.75pt),
    cellx(colspan: 1, x: 2, y: 1, align: center + top)[e],
    cellx(colspan: 1, x: 3, y: 1, align: center + top)[f],
    cellx(colspan: 1, x: 0, y: 2, align: left + top)[*Group 1*],
    cellx(colspan: 2, x: 2, y: 2, align: center + top)[*value1*],
    hlinex(y: 3, stroke: 0.75pt),
    cellx(colspan: 1, x: 0, y: 3, align: left + top)[a],
    cellx(colspan: 1, x: 1, y: 3, align: left + top)[*mean*],
    cellx(colspan: 1, x: 2, y: 3, align: center + top)[2],
    cellx(colspan: 1, x: 3, y: 3, align: center + top)[3],
    cellx(colspan: 1, x: 1, y: 4, align: left + top)[*std*],
    cellx(colspan: 1, x: 2, y: 4, align: center + top)[1.41],
    cellx(colspan: 1, x: 3, y: 4, align: center + top)[1.41],
    cellx(colspan: 1, x: 0, y: 5, align: left + top)[b],
    cellx(colspan: 1, x: 1, y: 5, align: left + top)[*mean*],
    cellx(colspan: 1, x: 2, y: 5, align: center + top)[6],
    cellx(colspan: 1, x: 3, y: 5, align: center + top)[7],
    cellx(colspan: 1, x: 1, y: 6, align: left + top)[*std*],
    cellx(colspan: 1, x: 2, y: 6, align: center + top)[1.41],
    cellx(colspan: 1, x: 3, y: 6, align: center + top)[1.41],
    hlinex(y: 7, stroke: 1pt),

)
]
