📊 真实报告示例 护理专业学生真实调研 · n=584 · 仅聚合统计 示例中下载 / 复现功能未开放 用你的数据生成同款报告 →

网络分析(示例:自我控制 × 短视频成瘾)

生成时间 2026-10-18 12:13:45

方法说明

网络分析,glasso 估计,EBIC γ=0.5,spearman 相关

数据来源

数据文件:/home/tester/nurse_student/data/data_ready.csv(用同份数据 + 上述方法可复现结果)

模型设定

下表为本次分析实际使用的设定(由分析程序自动原样列出,非 AI 转述)。解读数字前请先核对设定与你的研究假设一致——尤其路径方向与变量角色;质量门控只检查统计前提,发现不了「设定对不对」。

设定项内容
节点变量SC健康习惯条目均分、SC抵制诱惑条目均分、SC冲动抑制条目均分、SC节制娱乐条目均分、SC专注工作条目均分、SVA戒断性条目均分、SVA逃避性条目均分、SVA失控性条目均分、SVA低效性条目均分
社区划分SC健康习惯条目均分:自我控制;SC抵制诱惑条目均分:自我控制;SC冲动抑制条目均分:自我控制;SC节制娱乐条目均分:自我控制;SC专注工作条目均分:自我控制;SVA戒断性条目均分:短视频成瘾;SVA逃避性条目均分:短视频成瘾;SVA失控性条目均分:短视频成瘾;SVA低效性条目均分:短视频成瘾

网络摘要

项目值
样本量584
节点数9
边数30
网络密度0.833
社区数2
估计方法glasso
EBIC γ(glasso)0.5
相关口径(glasso)spearman
最优 λ(glasso)0.017
稀疏度(glasso)0.167
强度最高节点['SVA失控性条目均分', 'SC节制娱乐条目均分', 'SC冲动抑制条目均分']
桥接最强节点['SVA逃避性条目均分', 'SC冲动抑制条目均分', 'SVA戒断性条目均分']
平均可预测性 R²0.524

节点中心性

节点strengthexpected_influencebetweennessclosenesspredictability
SC健康习惯条目均分0.810.4910.2860.8890.491
SC抵制诱惑条目均分0.2890.2260.1790.7270.089
SC冲动抑制条目均分1.0540.520.7320.8890.64
SC节制娱乐条目均分1.0660.7460.64310.601
SC专注工作条目均分0.9150.60.1250.80.498
SVA戒断性条目均分0.8530.3520.73210.604
SVA逃避性条目均分0.7060.3620.1790.80.398
SVA失控性条目均分1.2960.9430.7140.8890.733
SVA低效性条目均分0.9130.560.4640.80.665

strength 为与该节点相连的边权绝对值和(节点重要性);expected_influence 保留正负号(正=激活网络,负=抑制网络)。predictability(R²) 为 GGM 中该节点能被其余节点解释的方差比例(1 − 1/(Θii·Sii),条件方差口径,Haslbeck & Waldorp 2018);平均 R² = 0.524。

桥中心性(跨社区连接强度)

节点communitybridge_strengthbridge_expected_influencebridge_edgesbridge_betweenness
SC健康习惯条目均分自我控制0.159-0.15940.018
SC抵制诱惑条目均分自我控制0.0720.00930.018
SC冲动抑制条目均分自我控制0.267-0.26740.018
SC节制娱乐条目均分自我控制0.246-0.07340.031
SC专注工作条目均分自我控制0.157-0.15720.013
SVA戒断性条目均分短视频成瘾0.25-0.2550.031
SVA逃避性条目均分短视频成瘾0.299-0.04540
SVA失控性条目均分短视频成瘾0.176-0.17640.013
SVA低效性条目均分短视频成瘾0.176-0.17640.008

网络概览(合并图)

网络概览合并图
Fig. 1. Estimated network diagram and centrality indices (N = 584). Note: Only edges with |weight| ≥ 0.1 are displayed (16 weaker edges omitted; layout and centrality indices are based on the full network). (A) The network structure: node colors represent scales (communities); green and red edges denote positive and negative partial correlations, with edge width and color opacity proportional to |weight|. (B) Node strength centrality. (C) Bridge strength centrality.
说明:网络概览(N = 584):(A) 网络结构(节点颜色 = 量表,绿边 = 正相关、红边 = 负相关,边宽/深浅 ∝ |权重|);(B) 强度中心性;(C) 桥强度中心性。仅显示 |权重| ≥ 0.1 的边。

📌 以下为上方合并图各面板的单图版本(内容与合并图对应面板一致,便于单独放大与引用)。

网络图

心理网络图
Fig. 2. Estimated network diagram (N = 584). Note: Only edges with |weight| ≥ 0.1 are displayed (16 weaker edges omitted; layout and centrality indices are based on the full network). Node colors represent scales (communities); green and red edges denote positive and negative partial correlations, with edge width and color opacity proportional to |weight|. Node labels are short codes; full item names are given in the legend and the mapping table below.
说明:网络结构图(N = 584)。节点颜色 = 量表(社区);绿边 = 正相关、红边 = 负相关,边宽与深浅 ∝ |权重|;仅显示 |权重| ≥ 0.1 的边,被省略的弱边不参与任何统计以外的解读(布局与中心性仍基于全网络)。

节点名称对照表

网络图节点标签为结构化短码(外置中文标签与放不下的长名按 qgraph 短码惯例统一显示),全称见下表与 network_node_labels.csv;其余图表仍用全称。

短码节点全称
SC-1SC健康习惯条目均分
SC-2SC抵制诱惑条目均分
SC-3SC冲动抑制条目均分
SC-4SC节制娱乐条目均分
SC-5SC专注工作条目均分
SVA-1SVA戒断性条目均分
SVA-2SVA逃避性条目均分
SVA-3SVA失控性条目均分
SVA-4SVA低效性条目均分
节点强度
Fig. 3. Node strength centrality. Note: Nodes are sorted in descending order (most central node at the top); values are raw (unstandardized) strength, i.e., the sum of |weights| of all edges connected to a node.
说明:强度中心性单图(Fig.1 面板 B 原图):最中心节点在顶部,数值为原始 strength。
桥中心性
Fig. 4. Bridge strength centrality. Note: Bridge strength aggregates the |weights| of edges connecting a node to nodes in other communities (cross-scale connectors).
说明:桥强度中心性单图(Fig.1 面板 C 原图):与**其他社区**相连边权绝对值之和。

可预测性与影响估计(合并图)

predictability
Fig. 5. Network structure with node predictability and influence estimates (N = 584). Note: Only edges with |weight| >= 0.1 are displayed. (A) Network structure with node predictability: the ring around each node represents its predictability (the proportion of node variance explained by all other nodes; mean R-squared = 0.524); (B) Expected influence of each node; (C) Bridge expected influence (1-step). Node labels are short codes (see the mapping table). Layout of panel (A) is shared with Fig. 2.
说明:可预测性与影响估计:(A) 节点外环填充比例 = 该节点被其余节点解释的方差比例;(B) 期望影响;(C) 桥期望影响(1-step)。(A) 布局与主图一致。

以下为上方合并图各面板的单图版本(内容与合并图对应面板一致,便于单独放大与引用)。

predictability single
Fig. 6. Network structure with node predictability (N = 584) - panel (A) of the composite above. Note: The ring around each node represents its predictability.
说明:可预测性网络单图(合并图面板 A 原图)。
EI
Fig. 7. Expected influence. Note: Unlike strength, the signs of edge weights are retained (positive = activating, negative = inhibiting).
说明:期望影响单图(合并图面板 B 原图):保留边权正负号。
Bridge EI
Fig. 8. Bridge expected influence (1-step). Note: Expected influence computed over between-community edges only.
说明:桥期望影响单图(合并图面板 C 原图)。

边稳定性(bootstrap,n_boot=20)

节点1节点2点估计权重bootstrap 均值95% CI非零占比 %稳定(CI 不含 0)
SVA失控性条目均分SVA低效性条目均分0.4820.474[0.399, 0.56]100是
SC冲动抑制条目均分SC节制娱乐条目均分0.4510.463[0.372, 0.526]100是
SVA逃避性条目均分SVA失控性条目均分0.3480.344[0.299, 0.412]100是
SVA戒断性条目均分SVA失控性条目均分0.290.281[0.208, 0.36]100是
SC健康习惯条目均分SC节制娱乐条目均分0.2860.277[0.218, 0.34]100是
SC健康习惯条目均分SC专注工作条目均分0.260.27[0.208, 0.333]100是
SVA戒断性条目均分SVA低效性条目均分0.2550.261[0.16, 0.362]100是
SC冲动抑制条目均分SC专注工作条目均分0.2320.221[0.122, 0.311]100是
SC抵制诱惑条目均分SC专注工作条目均分0.20.169[0.104, 0.254]100是
SC冲动抑制条目均分SVA失控性条目均分-0.129-0.103[-0.159, -0.048]100是
SC健康习惯条目均分SVA逃避性条目均分-0.122-0.114[-0.202, -0.035]100是
SC专注工作条目均分SVA低效性条目均分-0.119-0.121[-0.182, -0.033]100是
SC节制娱乐条目均分SVA戒断性条目均分-0.11-0.094[-0.168, -0.009]95是
SC健康习惯条目均分SC冲动抑制条目均分0.1040.1[0.031, 0.161]100是
SC冲动抑制条目均分SVA戒断性条目均分-0.076-0.094[-0.188, -0.011]95是
SC节制娱乐条目均分SC专注工作条目均分0.0650.064[0.002, 0.114]95是
SC节制娱乐条目均分SVA逃避性条目均分0.0870.087[0, 0.185]80否
SVA戒断性条目均分SVA逃避性条目均分0.0580.057[0, 0.136]90否
SC冲动抑制条目均分SVA逃避性条目均分-0.05-0.058[-0.142, 0]80否
SC抵制诱惑条目均分SVA逃避性条目均分0.040.045[0, 0.101]80否
SC节制娱乐条目均分SVA低效性条目均分-0.038-0.023[-0.108, 0.025]65否
SC专注工作条目均分SVA戒断性条目均分-0.038-0.031[-0.131, 0]65否
SC抵制诱惑条目均分SVA失控性条目均分-0.02-0.026[-0.078, 0.037]65否
SC抵制诱惑条目均分SC节制娱乐条目均分0.0180.02[0, 0.066]45否
SC健康习惯条目均分SVA失控性条目均分-0.016-0.025[-0.081, 0]60否
SC健康习惯条目均分SVA戒断性条目均分-0.015-0.018[-0.1, 0]40否
SC冲动抑制条目均分SVA低效性条目均分-0.013-0.025[-0.094, 0.038]70否
SC节制娱乐条目均分SVA失控性条目均分-0.012-0.03[-0.091, 0]65否
SC抵制诱惑条目均分SVA戒断性条目均分-0.011-0.022[-0.089, 0.018]55否
SC健康习惯条目均分SVA低效性条目均分-0.006-0.008[-0.052, 0.037]50否

稳定性检验与仅稳定边图的 bootstrap 口径为 EBICglasso 正则化偏相关(EBIC γ=0.5,spearman 相关)(随主分析估计方法,每次重抽样按该口径重新估计,与图自洽);点估计网络 30 条边中 16 条稳定。本报告主图亦为 glasso 口径。

中心性稳定性(case-dropping bootstrap,n_boot=100)

逐步丢弃 10%~70% 样本重估网络,考察中心性排序保持程度。CS 系数(相关性>0.7 的最大丢弃比例):strength=0.7、expected_influence=0.7、bridge_strength=0.0。判读标准(Epskamp et al. 2018):CS>0.5 为佳,0.25~0.5 可接受,<0.25 时中心性排名仅最高/最低者可信。bootstrap 口径为 EBICglasso 正则化偏相关(EBIC γ=0.5,spearman 相关)(随主分析估计方法)。文献惯例只解读 strength/期望影响/桥指标的 CS;betweenness/closeness 已知不稳定、不作解读,亦不计入质量检查判定。

准确性与稳定性(合并图)

stability
Fig. 9. Accuracy and stability analysis of the network (N = 584, bootstrap n = 100). Note: (A) Accuracy analysis of the edge weights: black line and dots = bootstrap means, red dots = sample point estimates, gray lines = bootstrap 95% CIs; all edges with non-zero point estimate or bootstrap mean are shown, sorted by bootstrap mean (descending). (B) Stability analysis of the centrality indices: lines show the average correlation between subsample and full-sample centralities with quantile bands; the x-axis shows the percentage of cases retained.
说明:准确性与稳定性:(A) 边权重准确性(黑 = bootstrap 均值、红 = 样本估计、灰 = 95% CI);(B) 中心性稳定性(case-dropping,含分位数频带,CS 系数见上方说明)。

以下为上方合并图各面板的单图版本(内容与合并图对应面板一致,便于单独放大与引用)。

中心性稳定性
Fig. 10. Stability analysis of the centrality indices (case-dropping bootstrap, n = 100). Note: The x-axis shows the percentage of cases retained in each subsample; lines show the average correlation between the centrality rankings of the subsamples and the full sample, with 2.5th/97.5th quantile bands.
说明:中心性稳定性:x 轴 = 每次重抽样保留的样本比例,纵轴 = 子样本中心性排名与全样本的相关(含分位数频带);CS 系数见上方说明。

边权重两两差异检验(n_boot=100)

论文 Fig.6 惯例:行/列为边(按平均权重降序),黑格 = 两边权重差异显著(bootstrap 95% CI 不含 0),灰格 = 不显著;对角线为各边平均权重(蓝渐变 + 数值)。黑色行/列多的边在网络中与其他边区分度高,权重估计更可信。

边差异检验矩阵
Fig. 11. Bootstrapped difference test of edge weights (n = 100). Note: Black boxes indicate significant differences between edge weights (95% CI excludes 0); gray boxes non-significant. The diagonal shows the mean edge weight of each edge.
说明:边权重两两差异检验:黑格 = 两边权重差异显著、灰格 = 不显著;对角线为各边平均权重(蓝渐变)。

strength 两两差异检验(n_boot=100)

bootnet difference test 惯例:黑格 = 两节点该指标差异显著(bootstrap 95% CI 不含 0),灰格 = 不显著——被灰格连片的相邻排名不可区分,不宜过度解读;对角线为各节点指标值(蓝渐变 + 数值),先行看清大小再看黑格判断哪些差异立得住。

差异检验矩阵
Fig. 12. Bootstrapped difference test for strength (n = 100). Note: Black boxes indicate significant differences (95% CI excludes 0); gray boxes non-significant. The diagonal shows each node's value.
说明:中心性两两差异检验:黑格 = 差异显著、灰格 = 不显著;对角线为各节点指标值;对角线自左下向右上递增(bootnet 惯例)。

bridge_strength 两两差异检验(n_boot=100)

bootnet difference test 惯例:黑格 = 两节点该指标差异显著(bootstrap 95% CI 不含 0),灰格 = 不显著——被灰格连片的相邻排名不可区分,不宜过度解读;对角线为各节点指标值(蓝渐变 + 数值),先行看清大小再看黑格判断哪些差异立得住。

差异检验矩阵
Fig. 13. Bootstrapped difference test for bridgeStrength (n = 100). Note: Black boxes indicate significant differences (95% CI excludes 0); gray boxes non-significant. The diagonal shows each node's value.
说明:中心性两两差异检验:黑格 = 差异显著、灰格 = 不显著;对角线为各节点指标值;对角线自左下向右上递增(bootnet 惯例)。

补充图(深入检查视图)

以下为参考论文未包含的补充视图:强边/桥边聚焦、边权重热图与分布、显示阈值对比、非正则对照网络、可预测性排序、数据驱动社区校验等,供深入检查与附录使用。

聚焦视图

全图边数多,以下每张图只回答一个分析问题:强边网络看核心连接、桥边网络找桥接点、热图览尽全部边权。均为显示层过滤,统计量与全图完全一致。

桥边网络(全部 17 条跨社区边中最强的 17 条,节点大小 ∝ bridge_strength)

社区内边与较弱桥边为显示层隐藏(跨社区偏相关普遍弱于社区内,绝对阈值会滤空),桥接节点(大小+跨簇连线)一眼可辨;桥中心性数值见下方排序图与桥中心性表。

桥边网络图
Fig. 14. Bridge network (17 strongest between-community edges of 17). Note: Node size is proportional to bridge strength; node colors represent scales. Node labels are short codes (see the mapping table).
说明:桥边网络:全部 17 条跨社区边中最强的 17 条;节点大小 ∝ 桥中心性,颜色 = 量表。

边权重热图(按社区分块排序)

对角块 = 社区内连接,离块亮格 = 跨社区桥边;红正/蓝负,饱和度 ∝ |权重|,与网络图互补(无线条交叉,适合论文补充材料)。

边权重热图
Fig. 15. Edge weight heatmap (glasso, community-blocked). Note: Red and blue cells denote positive and negative weights; rows and columns are ordered by community, with white lines separating community blocks.
说明:边权重热图:红/蓝 = 正/负权重,行列按社区分块排序(白色分隔线),对角块 = 社区内连接、离块亮格 = 跨社区桥边。

边权重分布

边权重分布
Fig. 16. Distribution of non-zero edge weights (glasso). Note: Green and red bars denote positive and negative weights.
说明:非零边权重分布:绿 = 正边、红 = 负边,直观看网络稀疏度与权重形态。

仅稳定边网络(bootstrap 95% CI 不含 0,n_boot=20)

仅稳定边网络
Fig. 17. Network of stable edges only (bootstrap 95% CI excludes 0, n = 20). Note: Layout shared with the unregularized network.
说明:仅稳定边网络:bootstrap 95% CI 不含 0 的边(n_boot = 20);布局与非正则对照图一致。
predictability rank
Fig. 18. Node predictability. Note: The proportion of each node's variance explained by the remaining nodes; sorted in descending order.
说明:可预测性排序:顶部节点最被网络解释(干预靶点视角)。

数据驱动社区 vs 理论社区(网络效度校验)

Louvain 检出 2 个社区(模块度 0.27),与理论量表归属的调整兰德指数 ARI = 1.00(1=完全一致,>0.6 通常视为结构得到较好复现)。两图共享同一布局:第一张为理论社区着色,第二张为 Louvain 数据驱动着色;节点位置完全一致,颜色差异即两种口径的分歧点。

理论社区Louvain社区
Fig. 19. Theoretical vs. data-driven communities. Top: nodes colored by scale assignment; bottom: nodes colored by Louvain detection (modularity = 0.27). Note: Only edges with |weight| ≥ 0.1 are displayed. Both panels share the same layout; adjusted Rand index = 1.00 (1 = perfect agreement).
说明:网络效度校验:上 = 理论量表着色,下 = Louvain 数据驱动着色;布局一致,颜色差异 = 两种口径的分歧点(ARI = 1.00)。

质量检查

存在 2 项未达标:直接按原样报告会误导结论,必须说明原因与影响。
检查项实际值参考标准状态建议
边数量30 条边边数 > 0✓ 通过
网络密度0.833(9 节点)≥6 节点时密度 ≤ 0.50✗ 未达标过密网络解读受限;glasso 下考虑增大正则化,或检查节点冗余
中心性稳定性 CS(strength/期望影响)0.7≥0.50✓ 通过
桥中心性稳定性 CS0≥0.50✗ 未达标桥指标依赖跨社区边、波动天然更大;CS 低时谨慎解读桥中心性排名,或增大样本/bootstrap 次数后重估
模块度0.271≥0.30⚠ 提醒社区划分不清晰时,桥中心性解读需谨慎
节点数9≥3✓ 通过
📄 复现代码⬇ R
R 代码
# 网络分析(示例:自我控制 × 短视频成瘾)
# 数据来源: /home/tester/nurse_student/data/data_ready.csv
# 节点变量: SC健康习惯条目均分, SC抵制诱惑条目均分, SC冲动抑制条目均分, SC节制娱乐条目均分, SC专注工作条目均分, SVA戒断性条目均分, SVA逃避性条目均分, SVA失控性条目均分, SVA低效性条目均分
# 估计方法: glasso

library(readr)
library(qgraph)

# 读取数据
data <- read_csv("/home/tester/nurse_student/data/data_ready.csv")

# 选择节点变量
node_vars <- c("SC健康习惯条目均分", "SC抵制诱惑条目均分", "SC冲动抑制条目均分", "SC节制娱乐条目均分", "SC专注工作条目均分", "SVA戒断性条目均分", "SVA逃避性条目均分", "SVA失控性条目均分", "SVA低效性条目均分")
data_subset <- data[, node_vars]

# 估计网络
cat("\n=== 网络分析 ===\n\n")

if ("glasso" == "glasso") {
    # 使用 EBICglasso(推荐)
    net <- EBICglasso(cor(data_subset, method = "spearman"), 
                      nrow(data_subset), gamma = 0.5)
} else {
    # 非正则化:偏相关 + Bonferroni 阈值化(与 Python threshold_network 同口径:
    # Pearson 相关(_partial_correlation_core 同款)+ t 检验 df = n - p +
    # 双尾 alpha/n_tests 校正;此前误用相关矩阵,非偏相关网络)
    S <- cor(data_subset)
    Theta <- solve(S)
    d <- sqrt(diag(Theta))
    net <- -Theta / outer(d, d)
    diag(net) <- 0
    nn <- nrow(data_subset)
    pv <- ncol(data_subset)
    n_tests <- pv * (pv - 1) / 2
    df_t <- nn - pv
    t_crit <- qt(1 - 0.05 / n_tests / 2, df_t)
    t_stat <- net * sqrt(df_t / (1 - net^2))
    net[abs(t_stat) <= t_crit] <- 0
}

# 绘制网络图(出图参数与平台报告对齐可发文参考论文:spring 布局、
# minimum=0.1 仅显示 |权重|>0.1 的边、弱边向白褪色、正边 darkgreen/负边红
# ——edge.color 顺序经 qgraph 实渲染验证为 c(正色, 负色))
cat("\n=== 网络图 ===\n")
qgraph(net, labels = node_vars, layout = "spring",
       cut = 0, minimum = 0.1, fade = TRUE,
       edge.color = c("#006400", "#CC0000"),
       border.width = 1.2,
       title = "网络分析")

# 中心性指标
cat("\n=== 中心性指标 ===\n")
centrality_net <- centrality(net)
print(centrality_net)

# 绘制中心性图(qgraph ≥1.9 用 centralityPlot 且需传网络矩阵而非 centrality 对象,plot.centrality 已移除)
centralityPlot(net)

# 节点可预测性 R²(Haslbeck & Waldorp 2018;base R 非正则化口径:
# R²_i = 1 - 1/Θ_ii,Θ 为相关矩阵逆。正则化网络可用
# networktools::predictability(net),需另行安装 networktools 包)
cat("\n=== 节点可预测性 R² ===\n")
tryCatch({
    S <- cor(data_subset, method = "spearman")
    Theta <- solve(S)
    R2 <- 1 - 1 / diag(Theta)
    R2[R2 < 0] <- 0
    print(round(sort(R2, decreasing = TRUE), 4))
}, error = function(e) {
    cat("可预测性计算失败(相关矩阵可能奇异):", conditionMessage(e), "\n")
})

AI 建议

[未达标] 网络密度——过密网络解读受限;glasso 下考虑增大正则化,或检查节点冗余
[未达标] 桥中心性稳定性 CS(0 < 0.50)——桥指标依赖跨社区边、波动天然更大;CS 低时谨慎解读桥中心性排名,或增大样本/bootstrap 次数后重估
[提醒] 模块度(0.271 < 0.30)——社区划分不清晰时,桥中心性解读需谨慎
这份报告由 AI 分析助手对真实调研数据自动生成 免费试一试 →
'; var blob = new Blob([doc], { type: 'text/html;charset=utf-8' }); var a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = stamp() + '.html'; a.click(); ok(); } }); })();
这份报告由 AI 分析助手对真实调研数据自动生成 免费试一试 →