上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 29 下一页
摘要: 分类回归的其他问题 二值选择模型的异方差问题 将模型的 l n σ 2 ln{\sigma}^2 lnσ2 与可能有关的变量进行回归 原假设的同方差假设: 备择假设的异方差: 补充单词: Homoskedasticity Heteroskedasticity 上面是正常的probit回归 下面是 l 阅读全文
posted @ 2020-10-20 14:49 kuanleung 阅读(128) 评论(0) 推荐(0)
摘要: 分类回归 查看系统自带的数据集 导入数据并浏览信息 以上是我记着玩的,均与本节无关。 导入外部数据 数据集下载地址: http://econometrics-stata.com/col.jsp?id=101 路径自行解压修改 分类二值回归 .线性OLS .使用logit回归 估计 β \beta β 阅读全文
posted @ 2020-10-19 14:00 kuanleung 阅读(169) 评论(0) 推荐(0)
摘要: 导入数据 打开stata,文件功能下有导入按钮,可以按照导入的文件选择。 数据的处理 点击变量窗口中的变量,然后在修改数据的标签,在属性窗口。 粗略查看数据集 . describe 或者 . d 举例: 查看具体数据 . list 变量名 . list 变量名 if 变量的条件 . list 变量名 阅读全文
posted @ 2020-10-10 16:57 kuanleung 阅读(264) 评论(0) 推荐(0)
摘要: 关注经济世界公众号,里面有安装资源 阅读全文
posted @ 2020-10-10 14:48 kuanleung 阅读(9) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/video/BV1eb411h7sP?p=3 上面是python的简单入门,学习python之前明确目标,目标分为两种,一种是工程开发,另一种是使用python进行数据处理,方便科研。工程开发可能需要掌握的更全面,计算机内部的一些逻辑需要略懂。而对于 阅读全文
posted @ 2020-10-05 10:17 kuanleung 阅读(14) 评论(0) 推荐(0)
摘要: 模型等用法去这里 https://www.w3cschool.cn/doc_statsmodels/dict.html 快速入门 库函数导入 import numpy as np import statsmodels.api as sm import statsmodels.formula.api 阅读全文
posted @ 2020-10-01 16:42 kuanleung 阅读(63) 评论(0) 推荐(0)
摘要: 太难安装了,用0.11.1版本吧,配numpy低版本 pip install statsmodel==0.11.1 pip install numpy==1.14.0 版本支持介绍 最新版依赖: Dependencies¶ The current minimum dependencies are: 阅读全文
posted @ 2020-10-01 14:43 kuanleung 阅读(105) 评论(0) 推荐(0)
摘要: 损失函数梯度 均方误差函数梯度 均方误差表达式: 梯度导数: 交叉熵函数梯度 Softmax 梯度 回顾 Softmax 函数的表达式: Softmax 梯度为: 交叉熵梯度 考虑交叉熵损失函数的表达式: 将log分解: 最终简化求出: 阅读全文
posted @ 2020-09-30 15:09 kuanleung 阅读(19) 评论(0) 推荐(0)
摘要: 激活函数导数 Sigmoid 函数导数 导数为: S i g m o i d ( 1 − S i g m o i d ) Sigmoid(1 − Sigmoid) Sigmoid(1−Sigmoid) ReLU 函数导数 LeakyReLU函数导数 Tanh 函数梯度 导数为: 1 − t a n 阅读全文
posted @ 2020-09-30 14:54 kuanleung 阅读(13) 评论(0) 推荐(0)
摘要: matlabplot学习笔记 点击加载详解 https://www.matplotlib.org.cn/tutorials/#%E5%BA%8F%E8%A8%80 点击加载 https://www.matplotlib.org.cn/contents/ 阅读全文
posted @ 2020-09-15 18:28 kuanleung 阅读(15) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 29 下一页