Linear Regression Combined Predictor Results Table (Flextable)

Description

Creates a flextable with one row per predictor showing variable type, bivariate correlation r (with p), regression weight b (with p), and bivariate/multivariate interpretation category (a-d).

Usage

create_linear_reg_combined_table(reg_results_list, KEY = TRUE)

create_regression_combined_table(...)

Arguments

reg_results_list Output from linear_reg_answers().
KEY Logical. If TRUE (default), fill with computed values.
Additional arguments passed to underlying functions If FALSE, create a blank template (column widths are preserved).

Value

A flextable::flextable() object.

Examples

library("psych350lab")

data(superman, package = "psych350data")
sm <- superman |>
  dplyr::filter(!is.na(rt_critics_score), !is.na(rt_audience_score))
result <- linear_reg_answers(
  data = sm,
  criterion = "rt_critics_score",
  quant_predictors = c("clark_height_in", "rt_audience_score"),
  quant_labels = c("Height", "Audience"),
  criterion_label = "Critics Score"
)
create_linear_reg_combined_table(result, KEY = TRUE)

Predictor

Is variable
quant or binary?

r (p)
With Critics Score

b (p)

Bivariate/Multivariate Results Categories:
a. Neither r nor b significant
b. r & b both sig & same sign
c. r sig but not b
d. suppressor effect

Height

Quant

.03 (.950)

0.51 (.813)

a

Audience

Quant

.60 (.113)

0.61 (.146)

a

Predictor

Is variable
quant or binary?

r (p)
With Critics Score

b (p)

Bivariate/Multivariate Results Categories:
a. Neither r nor b significant
b. r & b both sig & same sign
c. r sig but not b
d. suppressor effect

Height

Audience