0%

1 Recognize \LaTeX

通过更换文档类型,可以正确显示中文。

Read more »

Markdown

1. Title

三级标题

四级标题

格式及快捷键如下:

1
2
3
4
5
6
7
# Markdown

## 1. Title

### 三级标题

#### 四级标题
Read more »

1. 引言

影响力,一般认为指的是用一种为别人所乐于接受的方式,改变他人所乐于接受的方式,改变他人的思想和行动的能力。该书由著名社会心理学家 Robert B. Cialdini 所著, Cialdini 倾其职业生涯来研究影响力,在说服、顺从和谈判领域享有广泛的国际声誉。因其在商业道德和政策运用方面所作的前沿研究,常被称为“影响力教父”。

Read more »

1 Stata operation

1.1 Import data

  • use

    grilic_small.dta 文件的目录请根据自己的文件目录填写,数据文件可在陈强老师的网站下载,Click here,选择《计量经济学及Stata应用》中的数据集下载。

    1
    use "D:\Demo\University\XMU\Class_files\Econometrics\Econometrics and Stata application\Data-Finished-bachelor\grilic_small.dta", clear
Read more »

1 Introduction

本文为参考洪永淼老师《高级计量学》复习高级计量经济学的学习笔记。

Read more »

1 Markov model

1.1 Preparation and definition

  • Import modules

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    import numpy as np
    import pandas as pd
    from numpy import linalg as la

    from sklearn.metrics import mean_absolute_error, r2_score
    from sklearn.metrics import mean_squared_error

    # Plot module
    import matplotlib.pyplot as plt
    plt.rcParams['font.sans-serif'] = ['SimHei']
    # Microsoft YaHei, Times New Roman
    plt.rcParams['axes.unicode_minus'] = False
Read more »

1 Differential equation model

1.1 Introduction

  • 特点

当描述实际对象的某些特征随时间(或空间)而演变的过程、分析它的变化规律、预测它的未来形态、研究它的控制手段时,通常需要建立对象的 动态微分方程模型

微分模型求解的结果就是问题的答案,该答案是 唯一 的。

  • 典型的模型:
    • 传染病的预测模型
    • 经济增长预测模型
    • 兰彻斯特(Lanchester)战争预测模型
    • 药物在体内的分布于排除预测模型
    • 人口的预测模型
    • 烟雾的扩散与消失模型

模型的基本规律随着时间的增长趋势呈指数形式,根据变量的个数建立微分方程。

Read more »

1
{% pdf https://yangsuoly.com/file/Latex-Notes.pdf %}
Read more »

1 Introduction

  • 中文显示乱码问题

Matplotlib 库缺少中文字体,因此在图标上显示中文会出现乱码,解决办法:

1
2
3
4
5
6
7
8
from pyplt import mpl
mpl.rcParams['font.sans-serif'] = ['SimHei']
mpl.rcParams['axes.unicode_minus'] = False

# 或
import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = ['SimHei']
plt.rcParams['axes.unicode_minus'] = False
Read more »