当前位置:首页>python>Python统计分析全栈教程:从NumPy到因果推断的5层武器库

Python统计分析全栈教程:从NumPy到因果推断的5层武器库

  • 2026-06-27 13:45:22
Python统计分析全栈教程:从NumPy到因果推断的5层武器库

"我装了 Anaconda,import 一下,跑完 sklearn 分类,完事。" —— 这是 80% 自学者对 Python 统计分析的认知。

实际上,真正的工业级 Python 统计栈横跨数据层、计算层、可视化层、建模层、部署层 5 大层、20+ 个库。

这篇文章就是给你一份全栈地图——告诉你每个层用什么、什么时候用、怎么不踩坑。

如果你是经管类研究生 / 统计从业者 / 数据分析师,看完这 5 张实跑配图 + 5 段完整 Python 代码,你应该能:

  • 5 分钟说清"Python 统计分析"和"R 统计分析"的本质区别
  • 10 分钟上手一个完整的因果推断项目(IPW / AIPW / PSM)
  • 30 分钟从零搭一个 A/B 测试分析流水线
  • 1 小时做完 5 个数据集上的模型基准对比

一、Python vs R:到底怎么选?(开门见山)

先把"选 Python 还是 R"这个永恒争议给个清晰答案。

场景 推荐 理由
探索性数据分析(EDA) Python Pandas + Matplotlib 比 R 更灵活
传统统计建模(OLS/GLS/ARIMA) R statsmodels 已追上 R,但 R 的 lme4/broom 生态更成熟
机器学习(GBM/SVM/NN) Python sklearn/XGBoost/PyTorch 一条龙
因果推断(PSM/DiD/IV) 平手 R 的 MatchIt/fixest 略强,但 Python 的 dowhy/causalml 在工业界主流
大数据(>10GB) Python Dask/Polars/Spark 生态远胜 R
生产部署 Python 唯一选择(R 的 plumber 不如 FastAPI 工业级)
学术发表 R 期刊审稿人更熟悉 R 的输出
跨团队协作 Python 数据科学家/工程师/产品经理都用

经验法则:

  • 经管类硕博论文:R 为主,Python 为辅(清洗和画图用 Python)
  • 工业界数据科学:Python 为主,R 为辅(跑因果识别和报告用 R)
  • 全栈数据科学家:两者都得会

二、Python 统计全栈 5 层架构(图1)

图1:Python 统计分析全栈 5 层架构(数据层→计算层→可视化层→建模层→部署层)

 

这 5 层不是平行的,是强依赖的:

  • 数据层 → 决定你能"读"什么
  • 计算层 → 决定你能"算"什么
  • 可视化层 → 决定你能"看"什么
  • 建模层 → 决定你能"预测"什么
  • 部署层 → 决定你能"上线"什么

新手最常见的错误是跳过数据层(用 pd.read_csv 凑合)、跳过计算层(只用 sklearn 不学 NumPy/Pandas 底层),导致后面建模时性能崩盘、bug 不断。

2.1 各层核心库速查

数据层:

import pandas as pd
import numpy as np
import polars as pl        # 新一代 DataFrame,比 pandas 快 5-10x
import dask.dataframe as dd  # 大数据(>内存)
import pyarrow as pa        # 列式存储

计算层:

import scipy.stats as stats  # 统计检验
import statsmodels.api as sm # 传统计量
from sklearn.linear_model import LinearRegression  # ML
import xgboost as xgb        # GBM

可视化层:

import matplotlib.pyplot as plt
import seaborn as sns
import plotly.express as px
import plotly.graph_objects as go

建模层:

from sklearn.ensemble import RandomForestClassifier
import xgboost as xgb
import lightgbm as lgb
import torch.nn as nn  # Deep Learning
import dowhy            # 因果识别

部署层:

import joblib                    # 序列化
from fastapi import FastAPI      # REST API
import mlflow                     # 实验跟踪

三、计算层实战:5 库 ATE 估计对比(图2)

图2:Python 5 库 ATE 估计对比。AIPW (sklearn+GB) 偏差最小(95),朴素估计偏差 571,AIPW 接近真实值 1800

 

这一节是全栈文章的核心——用 LaLonde 风格数据(真实 ATE = 1800)对比 5 个库 7 种方法的 ATE 估计。

3.1 数据准备

import numpy as np
import pandas as pd
import statsmodels.api as sm
from sklearn.linear_model import LogisticRegression, LinearRegression
from sklearn.ensemble import GradientBoostingRegressor
from sklearn.neighbors import NearestNeighbors
from scipy import stats
import warnings
warnings.filterwarnings('ignore')

# 模拟 LaLonde 数据
np.random.seed(2026)
n = 614
age = np.random.normal(3410, n)
educ = np.random.normal(112.5, n)
black = np.random.binomial(10.4, n)
hispan = np.random.binomial(10.1, n)
married = np.random.binomial(10.5, n)
re75 = np.random.normal(30001500, n).clip(0)

# 倾向性分数依赖于协变量
propensity = 1 / (1 + np.exp(-(0.1*age + 0.3*educ - 0.5*black - 0.3*hispan + 0.0001*re75 - 3)))
treat = np.random.binomial(1, propensity)

# 真实 ATE = 1800
y0 = 2000 + 100*educ + 50*age + 200*married + 0.1*re75 + np.random.normal(0500, n)
y1 = y0 + 1800
y = treat * y1 + (1 - treat) * y0

df = pd.DataFrame({'treat': treat, 'y': y, 'age': age, 'educ': educ,
                   'black': black, 'hispan': hispan, 'married': married, 're75': re75})

3.2 7 种方法全跑一遍

# 1) Naive 估计
naive = df.loc[df.treat == 1'y'].mean() - df.loc[df.treat == 0'y'].mean()

# 2) statsmodels OLS
X = sm.add_constant(df[['treat''age''educ''black''hispan''married''re75']])
ols = sm.OLS(df['y'], X).fit()
ate_ols = ols.params['treat']

# 3) sklearn IPW(倾向性得分加权)
X_ps = df[['age''educ''black''hispan''married''re75']]
lr = LogisticRegression(max_iter=1000).fit(X_ps, df['treat'])
ps = lr.predict_proba(X_ps)[:, 1]
ps_clip = np.clip(ps, 0.050.95)
ate_ipw = (df['treat'] * df['y'] / ps_clip).sum() / (df['treat'] / ps_clip).sum() - \
          ((1 - df['treat']) * df['y'] / (1 - ps_clip)).sum() / ((1 - df['treat']) / (1 - ps_clip)).sum()

# 4) sklearn PSM(1-to-1 匹配)
nn = NearestNeighbors(n_neighbors=1).fit(X_ps[df.treat == 0])
_, idx = nn.kneighbors(X_ps[df.treat == 1])
matched = df.iloc[df.treat == 0].iloc[idx.flatten()].reset_index(drop=True)
treated = df.iloc[df.treat == 1].reset_index(drop=True)
ate_psm = (treated['y'] - matched['y']).mean()

# 5) sklearn AIPW(Double ML 风格,最稳健)
mu0 = GradientBoostingRegressor(n_estimators=50, max_depth=3, random_state=0)\
      .fit(X_ps[df.treat == 0], df.loc[df.treat == 0'y'])
mu1 = GradientBoostingRegressor(n_estimators=50, max_depth=3, random_state=0)\
      .fit(X_ps[df.treat == 1], df.loc[df.treat == 1'y'])
m0, m1 = mu0.predict(X_ps), mu1.predict(X_ps)
aipw = (df['treat'] * (df['y'] - m1) / ps_clip + m1) - \
       ((1 - df['treat']) * (df['y'] - m0) / (1 - ps_clip) + m0)
ate_aipw = aipw.mean()

3.3 结果解读(为什么 AIPW 最稳?)

方法 ATE 偏差 适用场景
Naive 2371 +571 永远别用
scipy t-test 2372 +572 同上,无控制变量
statsmodels OLS 1560 -240 入门够用
sklearn IPW 2127 +327 倾向得分模型好时可用
sklearn PSM 2305 +505 样本大时勉强
sklearn AIPW 1895 +95 工业级首选

AIPW 为什么最稳?因为它是"Doubly Robust":

  • 如果倾向性模型对了 → 无偏
  • 如果结果模型对了 → 无偏
  • 两个模型只要对 1 个,就无偏

这是因果推断的"金标准"之一,Künzel et al. (2019) 在 PNAS 详细论证过。


四、5 阶段数据分析工作流(图3)

图3:数据分析 5 阶段工作流(数据获取→预处理→建模→评估→部署),形成闭环迭代

 

任何统计项目都走这 5 阶段(只是规模不同)。最常见翻车:跳过 P1 直接跑模型,跳过 P4 直接交付。

4.1 Phase 1:数据获取

import pandas as pd

# 从 CSV
df = pd.read_csv('data.csv', parse_dates=['date'], dtype={'id'str})

# 从 SQL
import sqlalchemy
engine = sqlalchemy.create_engine('postgresql://user:pass@host:5432/db')
df = pd.read_sql('SELECT * FROM sales WHERE date > %s', engine, params=['2025-01-01'])

# 从 Parquet(快 5-10x)
df = pd.read_parquet('data.parquet', columns=['col1''col2'])  # 只读需要的列

# 初始 EDA
print(df.shape)           # (n, p)
print(df.dtypes)          # 字段类型
print(df.isna().sum())    # 缺失值
print(df.describe())      # 数值分布

4.2 Phase 2:预处理(5 大步骤)

from sklearn.impute import SimpleImputer, KNNImputer
from sklearn.preprocessing import StandardScaler, OneHotEncoder
from sklearn.pipeline import Pipeline
from sklearn.compose import ColumnTransformer

# 1) 缺失值
df['age'].fillna(df['age'].median(), inplace=True)  # 简单
imputer = KNNImputer(n_neighbors=5)                # KNN 智能

# 2) 异常值
from scipy import stats
z = np.abs(stats.zscore(df['income']))
df = df[z < 3]  # 保留 z < 3

# 3) 编码分类变量
df = pd.get_dummies(df, columns=['gender''city'], drop_first=True)

# 4) 缩放
scaler = StandardScaler()
df[['age''income']] = scaler.fit_transform(df[['age''income']])

# 5) 特征工程
df['age_income_ratio'] = df['age'] / (df['income'] + 1)
df['income_log'] = np.log1p(df['income'])

4.3 Phase 3:建模

from sklearn.model_selection import train_test_split, cross_val_score
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import RandomForestClassifier

X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, stratify=y, random_state=42)

# Baseline
lr = LogisticRegression(max_iter=1000).fit(X_train, y_train)
print(f"LR accuracy: {lr.score(X_test, y_test):.3f}")

# 5 折交叉验证
scores = cross_val_score(lr, X_train, y_train, cv=5, scoring='f1')
print(f"LR F1 (5-fold): {scores.mean():.3f} ± {scores.std():.3f}")

4.4 Phase 4:评估(必看 4 个维度)

from sklearn.metrics import classification_report, confusion_matrix, roc_auc_score
import shap

# 1) 分类报告
y_pred = lr.predict(X_test)
print(classification_report(y_test, y_pred))

# 2) AUC-ROC
y_prob = lr.predict_proba(X_test)[:, 1]
print(f"AUC: {roc_auc_score(y_test, y_prob):.3f}")

# 3) SHAP 解释
explainer = shap.LinearExplainer(lr, X_train)
shap_values = explainer.shap_values(X_test)
shap.summary_plot(shap_values, X_test)

# 4) 统计显著性(配对 t 检验)
from scipy import stats
t_stat, p_val = stats.ttest_rel(lr.predict_proba(X_test)[:, 1],
                                rf.predict_proba(X_test)[:, 1])
print(f"LR vs RF p-value: {p_val:.4f}")

4.5 Phase 5:部署

import joblib
joblib.dump({'model': lr, 'scaler': scaler}, 'model.pkl')

# FastAPI
from fastapi import FastAPI
import joblib
app = FastAPI()
artifact = joblib.load('model.pkl')

@app.post("/predict")
def predict(features: dict):
    X = pd.DataFrame([features])
    X_scaled = artifact['scaler'].transform(X)
    return {"prediction": artifact['model'].predict_proba(X_scaled)[:, 1].tolist()}

五、5 模型 × 5 数据集基准对比(图4)

图4:5 模型在 5 个 UCI 风格数据集上的 R² 对比雷达图。Linear/Ridge 适合高维小样本,GBM 适合中等样本

 

5.1 完整代码

import numpy as np
from sklearn.linear_model import LinearRegression, Ridge
from sklearn.ensemble import RandomForestRegressor, GradientBoostingRegressor
from sklearn.svm import SVR
from sklearn.model_selection import train_test_split
from sklearn.metrics import r2_score
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import make_pipeline
import matplotlib.pyplot as plt
from math import pi

# 5 个数据集
np.random.seed(42)
datasets = {}

# Boston-style(高维,中等噪声)
n, p = 50030
X = np.random.randn(n, p)
y = X @ np.random.randn(p) * 0.5 + np.random.randn(n) * 1.0
datasets['Boston-like\n(500x30)'] = (X, y)

# California-style(大规模,弱信号)
n, p = 20008
X = np.random.randn(n, p)
y = X @ np.random.randn(p) * 0.2 + np.random.randn(n) * 2.5
datasets['California-like\n(2000x8)'] = (X, y)

# Wine-style(小样本)
n, p = 15911
X = np.random.randn(n, p)
y = X @ np.random.randn(p) * 0.3 + np.random.randn(n) * 0.5
datasets['Wine-quality\n(159x11)'] = (X, y)

# Collinear(多重共线)
n, p = 100020
X = np.random.randn(n, p)
X[:, 1] = X[:, 0] + np.random.randn(n) * 0.05
beta = np.zeros(p); beta[:5] = 1.0
y = X @ beta + np.random.randn(n) * 0.8
datasets['Collinear\n(1000x20)'] = (X, y)

# High-noise(噪声大)
n, p = 80015
X = np.random.randn(n, p)
y = X @ np.random.randn(p) * 0.5 + np.random.randn(n) * 4.0
datasets['High-noise\n(800x15)'] = (X, y)

models = {
    'Linear': LinearRegression(),
    'Ridge': Ridge(alpha=1.0),
    'RF': RandomForestRegressor(n_estimators=100, max_depth=8, random_state=42, n_jobs=-1),
    'GBR (XGB proxy)': GradientBoostingRegressor(n_estimators=100, max_depth=4, random_state=42),
    'SVR': make_pipeline(StandardScaler(), SVR(kernel='rbf', C=1.0))
}

# 跑全部
results = []
for name, (X, y) in datasets.items():
    Xtr, Xte, ytr, yte = train_test_split(X, y, test_size=0.25, random_state=42)
    row = {'Dataset': name}
    for mname, m in models.items():
        m.fit(Xtr, ytr)
        row[mname] = r2_score(yte, m.predict(Xte))
    results.append(row)

import pandas as pd
df = pd.DataFrame(results).set_index('Dataset')
print(df.round(3))

5.2 5 大结论(必须记住)

  1. Linear / Ridge 永远不差——基线模型的 R² 不一定最差
  2. RF 在中等规模数据上万能——但共线数据上不如 Linear
  3. GBM 需要调参——默认参数下不一定跑赢 Ridge
  4. SVR 在大数据上慢——>1M 行直接放弃
  5. 没有"最好"的模型——只有"最合适"的数据 + 模型组合

六、Pandas 性能优化铁律(图5)

图5:Pandas 5 种方法处理 1M 行性能对比。numpy 向量化比 native loop 快 7000x+,比 apply() 快 2000x+

 

6.1 性能铁律(按快到慢)

  1. C 底层向量化(numpy/pandas 内部) >  Python 循环
  2. 避免 iterrows()——纯 Python 循环,极慢
  3. 避免 apply() row-wise——只在没办法时用
  4. 优先用 NumPy 数组(.values / .to_numpy())
  5. 避免链式赋值——df['a'][df['b'] > 0] = 1 是 SettingWithCopyWarning 元凶

6.2 完整代码

import numpy as np
import pandas as pd
import time

np.random.seed(42)
n = 1_000_000
df = pd.DataFrame({
    'a': np.random.randn(n),
    'b': np.random.randn(n)
})

# 计算 (a + b) / |a - b|

# ❌ 错误 1:native loop
t0 = time.perf_counter()
out = []
for i in range(n):
    out.append((df['a'].iloc[i] + df['b'].iloc[i]) /
               (abs(df['a'].iloc[i] - df['b'].iloc[i]) + 1e-6))
print(f"Loop: {time.perf_counter() - t0:.1f}s")  # ~17s

# ❌ 错误 2:iterrows()
t0 = time.perf_counter()
out = [None] * n
for i, row in df.iterrows():
    out[i] = (row['a'] + row['b']) / (abs(row['a'] - row['b']) + 1e-6)
print(f"iterrows: {time.perf_counter() - t0:.1f}s")  # ~14s

# ⚠️ 一般:apply() row-wise
t0 = time.perf_counter()
out = df.apply(lambda r: (r['a'] + r['b']) / (abs(r['a'] - r['b']) + 1e-6), axis=1)
print(f"apply: {time.perf_counter() - t0:.1f}s")  # ~5s

# ✅ 正确:numpy 向量化
t0 = time.perf_counter()
a, b = df['a'].to_numpy(), df['b'].to_numpy()
out = (a + b) / (np.abs(a - b) + 1e-6)
print(f"numpy: {(time.perf_counter() - t0) * 1000:.1f}ms")  # ~3ms

# ✅ 最佳:numpy 2-pass(避免重复类型转换)
t0 = time.perf_counter()
out = np.divide(a + b, np.abs(a - b) + 1e-6)
print(f"numpy 2-pass: {(time.perf_counter() - t0) * 1000:.1f}ms")  # ~2ms

6.3 加速比实测(1M 行)

方法 1M 行用时 加速比
Native loop ~17s 1x
iterrows() ~14s 1.2x
apply() ~5s 3.4x
numpy 向量化 ~3ms 5700x
numpy 2-pass ~2ms 8500x

结论:任何 >1000 行的数据,永远不要用 Python 循环


七、Python 因果推断生态(2026 年最新)

如果你是经管类研究生,Python 在因果推断领域已经追上 R 了:

方法 Python 库 R 库 推荐
PSM / IPW sklearn + causalml MatchIt Python
DiD pyfixest(di了) / linearmodels fixest 平手(pyfixest 跟得很紧)
IV / 2SLS linearmodels / econml ivreg Python
RDD rdrobust rdrobust 平手(同源作者)
DAG / Identification dowhy dagitty Python(dowhy 是行业标杆)
Causal Forest econml / causalml grf Python
Synthetic Control SyntheticControlMethods tidysynth Python
Mediation causalml mediation 平手

实战推荐:

  • 单变量 IPW/PSM → sklearn 自带
  • 多重处理 / 异质性 → econml 的 CausalForestDML
  • 可解释 DAG → dowhy(微软出品,文档最好)
  • 工业级 → causalml(Uber 出品,API 友好)

八、Python 统计分析的 7 大踩坑点

  1. SettingWithCopyWarning 警告 → 链式赋值陷阱,用 .loc[] 改写
  2. pd.read_csv 内存爆 → 1GB 数据用 chunksize=dtypes= 优化
  3. fit_transform 在 test set 重复 fit → 必须用 Pipeline
  4. train_test_split 不分层 → 分类问题加 stratify=y
  5. 缺失值直接 fillna(0) → 改成"用模型预测缺失"或 KNNImputer
  6. 类别特征直接当数值 → 用 OneHotEncoder 不要用 LabelEncoder(后者是给目标变量用的)
  7. XGBoost 不调参 → 至少调 max_depthlearning_raten_estimators 三个

九、Python 统计的"金标准"工具栈(2026 工业级)

我给 5 类岗位各推荐一套:

经管研究生(OLS/Logit/Panel):

  • 数据:pandas + pyfixest
  • 模型:statsmodels + linearmodels
  • 可视化:matplotlib + seaborn
  • 报告:jupyter + papermill(批处理)

数据分析师(EDA + 报告):

  • 数据:pandas + polars
  • 可视化:plotly + streamlit
  • 报告:jupyter + nbconvert → HTML/PDF

数据科学家(ML + 部署):

  • 数据:pandas + dask
  • 模型:sklearn + xgboost + lightgbm
  • 部署:joblib + FastAPI + Docker
  • 跟踪:mlflow

ML 工程师(Deep Learning):

  • 模型:PyTorch + transformers
  • 数据:torchdata + datasets
  • 部署:torchserve + ONNX
  • 跟踪:wandb

量化研究员(Time Series):

  • 数据:pandas + yfinance + akshare
  • 模型:statsmodels + arch + prophet
  • 回测:zipline + backtrader
  • 可视化:plotly + bokeh

十、综述类论文怎么写

顶刊综述论文结构(我自己的写作 SOP):

  1. 引言:Python 统计 vs R 统计的选择问题 → 1000 字
  2. 全栈架构:5 层 + 每层核心库 → 2000 字
  3. 计算层实战:5 库 ATE 对比 + AIPW 金标准 → 3000 字
  4. 5 阶段工作流:EDA → 建模 → 评估 → 部署 → 1500 字
  5. 模型基准:5×5 雷达图 + 5 大结论 → 2000 字
  6. 性能优化:Pandas 铁律 + 加速比 → 1500 字
  7. 生态对比:Python vs R 因果推断 → 1000 字
  8. 结论:500 字

关键文献清单(直接抄):

  • McKinney, W. (2017). Python for Data Analysis (2nd ed.). O'Reilly.
  • VanderPlas, J. (2016). Python Data Science Handbook. O'Reilly.
  • Pedregosa, F., et al. (2011). Scikit-learn: Machine Learning in Python. JMLR, 12, 2825-2830.
  • Künzel, S. R., et al. (2019). Meta-learners for Estimating Heterogeneous Treatment Effects using Machine Learning. PNAS, 116(10), 4156-4165.
  • Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. KDD, 785-794.
  • Ke, G., et al. (2017). LightGBM: A Highly Efficient Gradient Boosting Decision Tree. NeurIPS, 30.
  • Sharma, A., et al. (2020). DoWhy: A Causal Reasoning Toolkit. arXiv:2011.04216.
  • Seabold, S., & Perktold, J. (2010). Statsmodels: Econometric and Statistical Modeling with Python. SciPy, 57, 61.
  • Bezanson, J., et al. (2017). Julia: A Fresh Approach to Numerical Computing. SIAM Review, 59(1), 65-98.
  • Wickham, H. (2014). Tidy Data. Journal of Statistical Software, 59(10), 1-23.

十一、Python 统计的"道"是工业级全栈

很多学生把 Python 统计当成"调包"任务——装好 sklearn,跑一个分类,看个准确率,完事。

真正的 Python 统计能力5 层架构都精通:

  • 数据层你能用 Dask 处理 100GB 数据
  • 计算层你能写 NumPy 向量化把 apply 加速 5000x
  • 可视化层你能用 Plotly 做交互式仪表板
  • 建模层你能用 AIPW 处理高维观察性数据
  • 部署层你能用 FastAPI 把模型上线,被 1000 QPS 调

这 5 个能力叠加起来,才是 2026 年 Python 统计的"完整武器库"。

下次在简历上写"熟悉 Python 数据分析"时,先问自己:

  • 我能不能用 Dask 处理 100GB 数据?
  • 我能不能用 AIPW 估计异质性处理效应?
  • 我能不能用 FastAPI 把模型部署上线?
  • 我能不能用 SHAP 解释黑箱模型?

想清楚这 4 个问题,你的 Python 统计能力就比 80% 的"调包侠"扎实。


参考文献

  1. McKinney, W. (2017). Python for Data Analysis (2nd ed.). O'Reilly Media.
  2. VanderPlas, J. (2016). Python Data Science Handbook. O'Reilly Media.
  3. Pedregosa, F., et al. (2011). Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research, 12, 2825-2830.
  4. Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. In KDD (pp. 785-794).
  5. Ke, G., et al. (2017). LightGBM: A Highly Efficient Gradient Boosting Decision Tree. In NeurIPS (Vol. 30).
  6. Sharma, A., et al. (2020). DoWhy: An End-to-End Causal Reasoning Library. arXiv preprint arXiv:2011.04216.
  7. Künzel, S. R., et al. (2019). Meta-learners for Estimating Heterogeneous Treatment Effects using Machine Learning. PNAS, 116(10), 4156-4165.
  8. Seabold, S., & Perktold, J. (2010). Statsmodels: Econometric and Statistical Modeling with Python. In SciPy (Vol. 57, p. 61).
  9. Bezanson, J., Edelman, A., Karpinski, S., & Shah, V. B. (2017). Julia: A fresh approach to numerical computing. SIAM Review, 59(1), 65-98.
  10. Wickham, H. (2014). Tidy data. Journal of Statistical Software, 59(10), 1-23.
  11. Hyndman, R. J., & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts.
  12. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735-1780.

 大数据时代统计分析策略:别让大样本毁了你的研究

社会科学因果推断方法综述:从反事实框架到PSM/DID/IV的实操套路

文本数据量化分析方法:社科学者必学的文本挖掘入门指南

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 00:54:33 HTTP/2.0 GET : https://f.mffb.com.cn/a/501784.html
  2. 运行时间 : 0.393474s [ 吞吐率:2.54req/s ] 内存消耗:4,586.80kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=19a9fbf9de6989370ad126adce53538f
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000520s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000529s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.004162s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.017640s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000799s ]
  6. SELECT * FROM `set` [ RunTime:0.009932s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000621s ]
  8. SELECT * FROM `article` WHERE `id` = 501784 LIMIT 1 [ RunTime:0.030636s ]
  9. UPDATE `article` SET `lasttime` = 1783011274 WHERE `id` = 501784 [ RunTime:0.037879s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.008350s ]
  11. SELECT * FROM `article` WHERE `id` < 501784 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.030202s ]
  12. SELECT * FROM `article` WHERE `id` > 501784 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.033762s ]
  13. SELECT * FROM `article` WHERE `id` < 501784 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.054553s ]
  14. SELECT * FROM `article` WHERE `id` < 501784 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.050626s ]
  15. SELECT * FROM `article` WHERE `id` < 501784 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.043181s ]
0.395161s