# StataProfile **Repository Path**: qbmonokuma/StataProfile ## Basic Information - **Project Name**: StataProfile - **Description**: 连玉君的 profile.do 文件。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 115 - **Created**: 2020-06-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README >> Profile.do 下载方法: [[左键点我]](https://www.jianguoyun.com/p/DZAaPSwQtKiFCBiIndsC),在弹出页面下载即可。 --- > 🍎 **最新专题:** --- ### 项目介绍:连玉君的 **profile.do** 文件 #### 使用方法 - 下载 **profile.do** 文件: [[左键点我]](https://www.jianguoyun.com/p/DZAaPSwQtKiFCBiIndsC),在弹出页面下载即可。 - 如果在你的 Stata 安装目录下没有 **profile.do** 文档,可以直接将我的 **profile.do** 文件放到你的 Stata 安装目录下 (我的 Stata 安装目录是:**D:\stata15**),但需要酌情修改你里面的内容,尤其是有关文件路径方面的设定。 - 如果在你的 Stata 安装目录下已经建立了 **profile.do** 文档,但需要更新一些设定,可以打开我的 **profile.do** 文档,截取所需放入你自己的 **profile.do** 文档中。Note: 有关文件路径方面的信息,可能需要酌情修改。 #### FAQ - **Q1:如何打开 profile.do 文档?** - **A1:** profile.do 就是一个普通的 **dofile**,因此,你平时怎么打开 dofile 就怎么打开 profile.do。问题的关键是,很多人不知道自己的 **profile.do** 存放在何处。答案是:它存放在 Stata 安装目录下。因此,你可以使用 Stata 的 dofile 编辑器打开 profile.do 文档,命令为: `doedit D:\stata15\profile.do` 或 **doedit `c(sysdir_stata)'/profile.do**。 - **Q2:我的 Stata 安装路径如何查看?** - **A2:** 在 Stata 命令窗口中输入 `sysdir` 命令,第一行显示的就是你的 Stata 安装路径。 ```stata . sysdir STATA: D:\stata15\ BASE: D:\stata15\ado\base\ SITE: D:\stata15\ado\site\ PLUS: D:\stata15/ado\plus\ PERSONAL: D:\stata15/ado\personal\ OLDPLACE: c:\ado\ ``` #### 何谓 profile.do ? 每次启动 Stata 时,Stata 会自行到安装目录下找到 **profile.do** 文档,并执行里面的所有命令。显然,这些命令通常都是一些使用 Stata 时的基本设定,如文件路径、自动开启日志文件 (log file)、显示格式等。 如下是 `help profilew` 提供的说明: #### Description Stata first looks for the file sysprofile.do when it is invoked. After that, Stata looks for the file profile.do. If either of these files are found, Stata executes the commands they contain. Stata looks **(1)** in the directory where Stata was installed, **(2)** in the current directory, **(3)** along your PATH, **(4)** in your home directory as defined by Windows's USERPROFILE environment variable, and finally **(5)** along the adopath (see adopath).   ----   > **连享会-直播课** 上线了! > > **免费公开课:** > - [直击面板数据模型](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38) - 连玉君,时长:1小时40分钟 > - [Stata 33 讲](https://lianxh.duanshu.com/#/brief/course/b22b17ee02c24015ae759478697df2a0) - 连玉君, 每讲 15 分钟. > - 部分直播课 [课程资料下载](https://gitee.com/arlionn/Live) (PPT,dofiles等)   > #### [连享会 - 效率分析专题](https://www.lianxh.cn/news/a94e5f6b8df01.html),2020年5月29-31日 > 主讲嘉宾:连玉君 | 鲁晓东 | 张宁 > 🍏 [课程主页](https://www.lianxh.cn/news/88426b2faeea8.html),[微信版](https://mp.weixin.qq.com/s/zRotMGebIQqaMih8B71fdg),[码云版](https://gitee.com/arlionn/TE),[PDF版](https://quqi.gblhgk.com/s/880197/g3ne5HdXdrSoo8iL) ![连享会-效率分析专题视频](https://fig-lianxh.oss-cn-shenzhen.aliyuncs.com/TE专题_连享会_lianxh.cn500.png "连享会-效率分析专题视频,三天课程,随时学") > #### [连享会直播 - 生存分析 (Survival Analysis) 专题](https://www.lianxh.cn/news/30ff0f7c9b08d.html) > 主讲嘉宾:王存同教授 (中央财经大学) > 2020年6月6日,[课程详情](https://gitee.com/arlionn/st) ![连享会直播-生存分析专题](https://fig-lianxh.oss-cn-shenzhen.aliyuncs.com/连享会-生分析海报横版.jpg)   > #### [连享会直播 - 二元选择与计数数据](https://www.lianxh.cn/news/91c3fc21cdbbc.html) > 2020年5月23日,19:00-21:00, 88元 > 主讲嘉宾:司继春 ;[课程主页](https://www.lianxh.cn/news/91c3fc21cdbbc.html) ![](https://fig-lianxh.oss-cn-shenzhen.aliyuncs.com/司继春_离散选择模型_海报00.png)   > #### [连享会 - 文本分析与爬虫 - 专题视频](https://www.lianxh.cn/news/88426b2faeea8.html) > 主讲嘉宾:司继春 || 游万海 ![连享会-文本分析与爬虫-专题视频教程](https://fig-lianxh.oss-cn-shenzhen.aliyuncs.com/lanNew-文本分析-海报002.png "连享会-文本分析与爬虫-专题视频,四天课程,随随时学") --- ### 课程一览 > 支持回看,所有课程可以随时购买观看。 | 专题 | 嘉宾 | 直播/回看视频 | | --- | --- | --- | | **[生存分析-专题](https://gitee.com/arlionn/st)** | 王存同 | [课程主页](https://www.lianxh.cn/news/30ff0f7c9b08d.html), 2020.6.6, 热招中 | | **[效率分析-专题](https://gitee.com/arlionn/TE)** | 连玉君
鲁晓东
张 宁 | [视频-TFP-SFA-DEA](https://www.lianxh.cn/news/88426b2faeea8.html)
2020.5.29-31, 热招中 | | **文本分析/爬虫** | 游万海
司继春 | [视频-文本分析与爬虫](https://www.lianxh.cn/news/88426b2faeea8.html)
已上线,可随时购买 | | **二元选择模型** | 司继春 | [直播:二元选择与计数数据](https://www.lianxh.cn/news/91c3fc21cdbbc.html), 5.23日, 88元 | | **分位数回归** | 游万海 | [视频,2小时,88元](https://lianxh.duanshu.com/#/brief/course/f0bfb3102ada48969966c92123a7ebf0) | | **[空间计量系列](https://lianxh.duanshu.com/#/brief/course/958fd224da8548e1ba7ff0740b536143)** | 范巧 | [空间全局模型](https://efves.duanshu.com/#/brief/course/ed1bc8fc5e7748c5aca7e2c39d28e20e), [空间权重矩阵](https://lianxh.duanshu.com/#/brief/course/94a5361647384a18852d28d1b9246362)
[空间动态面板](https://lianxh.duanshu.com/#/brief/course/f4e4b6b1e77c4ff88cecb685bbde07c3), [空间DID](https://lianxh.duanshu.com/#/brief/course/ff7dc9e0b82b40dab2047af0d01e96d0) | | 论文重现 | 连玉君 | [经典论文精讲](https://lianxh.duanshu.com/#/brief/course/c3f79a0395a84d2f868d3502c348eafc),[-课程资料-](https://gitee.com/arlionn/Paper101), [-幻灯片-](https://quqi.com/s/880197/nz9LvbzzEEpWBNrD) | | 研究设计 | 连玉君 | [我的特斯拉-实证研究设计](https://lianxh.duanshu.com/#/course/5ae82756cc1b478c872a63cbca4f0a5e),[-幻灯片-](https://gitee.com/arlionn/Live/tree/master/%E6%88%91%E7%9A%84%E7%89%B9%E6%96%AF%E6%8B%89-%E5%AE%9E%E8%AF%81%E7%A0%94%E7%A9%B6%E8%AE%BE%E8%AE%A1-%E8%BF%9E%E7%8E%89%E5%90%9B)| | 面板模型 | 连玉君 | [动态面板模型](https://efves.duanshu.com/#/brief/course/3c3ac06108594577a6e3112323d93f3e),[-幻灯片-](https://quqi.gblhgk.com/s/880197/o7tDK5tHd0YOlYJl) | | | | [直击面板数据模型](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38) [免费公开课,2小时] | | 大数据 | 李兵 | [经济学中的大数据应用](https://lianxh.duanshu.com/#/brief/course/da1a75bc3acc4e238f489af3367efa26) | | R 语言 | 游万海 | [R 语言初识](https://lianxh.duanshu.com/#/brief/course/a719037536de4812a630a599f8cd7b43), 9.9元 | Python+Github | 司继春 | [Python和Github入门](https://lianxh.duanshu.com/#/brief/course/132a12b2e5ef45b795bfa897c037a6f4)
2小时, 9.9元 > Note: 部分课程的资料,PPT 等可以前往 [连享会-直播课](https://gitee.com/arlionn/Live) 主页查看,下载。   --- >#### 关于我们 > ##### 导航: 📍 [连享会主页](https://www.lianxh.cn) | 📍 [知乎专栏](https://www.zhihu.com/people/arlionn/) | 📍 [直播课](http://lianxh.duanshu.com)