Skip to content

xtbhst

Bootstrap Slope Heterogeneity Test for Panel Data

v1.0.2 · Apr 27, 2026 · GPL-3

Description

Implements the bootstrap slope heterogeneity test for panel data based on Blomquist and Westerlund (2015) <doi:10.1007/s00181-015-0978-z>. Tests the null hypothesis that slope coefficients are homogeneous across cross-sectional units. Provides both standard and adjusted Delta statistics with bootstrap p-values. Supports partialling out of control variables and cross-sectional averages for dealing with cross-sectional dependence.

Downloads

CRAN

412

Last 30 days

10484th

1.4K

Last 90 days

1.8K

Last year

Trend: -10.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

28

Last 90 days

35

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

2

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 3 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 13, 2026

Code

Structure

Lines of code

1,358

Files

18

Compiled share

0%

Has compiled src

No

Language breakdown

R 875 (64.4%)Tests 198 (14.6%)Docs 285 (21%)

API

Exported functions

1

Internal functions

8

Recent export changes

v1.0.1+1 xtbhst

Testing & CI

Has tests

Yes

Test-to-code ratio

0.23

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2026-03-13

Latest release

2026-04-27

Avg cadence

45 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.1: 1,359 LOCv1.0.2: 1,358 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Version History

2 tracked
updated 1.0.2 ← 1.0.1 diff Apr 27, 2026
new 1.0.1 Mar 13, 2026