# StataProfile **Repository Path**: wu_jian_xian/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-04-10 - **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分钟。 --- ## 课程一览 > 支持回看,往期精彩课程可以随时购买观看。 | 专题 | 嘉宾 | 直播/回看视频 | | --- | --- | --- | | Python+Github | 司继春 | [Python和Github入门](https://lianxh.duanshu.com/#/brief/course/132a12b2e5ef45b795bfa897c037a6f4)
两小时, 9.9元 | **文本/爬虫** | 游万海
司继春 | [4天直播-文本分析与爬虫](https://www.lianxh.cn/news/88426b2faeea8.html)
2020.3.28-29日; 4.4-5日 | | **空间计量** | 范巧 | 已上线,[T1. 空间计量全局模型](https://efves.duanshu.com/#/brief/course/ed1bc8fc5e7748c5aca7e2c39d28e20e) | | | | 已上线,[T2. 地理加权回归模型(GWR)](https://lianxh.duanshu.com/#/brief/course/a62ca9dcb276496097922a61fcf1a701) | | | [T2-T5全程](https://lianxh.duanshu.com/#/brief/course/958fd224da8548e1ba7ff0740b536143) | 3月21日,[T3. 内生时空权重矩阵](https://lianxh.duanshu.com/#/brief/course/94a5361647384a18852d28d1b9246362) | | 动态模型 | | 4月05日,[T4. 空间面板模型及动态设定](https://lianxh.duanshu.com/#/brief/course/f4e4b6b1e77c4ff88cecb685bbde07c3) | | 空间DID | | 4月11日,[T5. 双重差分空间计量模型(SDID)](https://lianxh.duanshu.com/#/brief/course/ff7dc9e0b82b40dab2047af0d01e96d0) | | 论文重现 | 连玉君 | [我的甲壳虫-经典论文精讲](https://lianxh.duanshu.com/#/brief/course/c3f79a0395a84d2f868d3502c348eafc) | | 研究设计 | 连玉君 | [我的特斯拉-实证研究设计](https://lianxh.duanshu.com/#/course/5ae82756cc1b478c872a63cbca4f0a5e)| | 面板模型 | 连玉君 | [动态面板模型](https://efves.duanshu.com/#/brief/course/3c3ac06108594577a6e3112323d93f3e) | | | | [直击面板数据模型](https://lianxh.duanshu.com/#/brief/course/7d1d3266e07d424dbeb3926170835b38) [免费公开课,1小时40分] | | 大数据 | 李兵 | [经济学中的大数据应用](https://lianxh.duanshu.com/#/brief/course/da1a75bc3acc4e238f489af3367efa26) | | R 语言 | 游万海 | [R 语言初识](https://lianxh.duanshu.com/#/brief/course/a719037536de4812a630a599f8cd7b43), 9.9元 > Note: 课程详情可以前往 [连享会-课程主页](https://www.lianxh.cn/news/46917f1076104.html) 查看。   --- >#### 关于我们 > ##### 导航: 📍 [连享会主页](https://www.lianxh.cn) | 📍 [知乎专栏](https://www.zhihu.com/people/arlionn/) | 📍 [直播课](http://lianxh.duanshu.com) ![点我 - 更多推文](https://images.gitee.com/uploads/images/2020/0222/181340_968f61e0_1522177.png)