# ua
**Repository Path**: arlionn/ua
## Basic Information
- **Project Name**: ua
- **Description**: stata15用户,一次性对当前工作路径以及所有子文件夹中的文件进行转码(unicode),以保证中文字符可以正常显示。
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 11
- **Forks**: 8
- **Created**: 2017-12-19
- **Last Updated**: 2024-05-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
> 🍓 主页:
### 1. ua 命令
适用于 stata15 用户。可以一次性对当前工作路径以及所有子文件夹中的文件进行转码(unicode),以保证中文字符可以正常显示。
#### 安装
下载 `ua.ado` 和 `ua.hlp`,放置于 `D:\stata15\ado\base\u` 或 `D:\stata15\ado\plus\u` 文件夹中。
#### 使用
- 在 Stata 命令窗口中输入 `help ua`,查看命令介绍和 Stata 范例。参照范例使用即可。
#### Stata 范例
```stata
* Change current working directory (CWD)
. cd D:\stata15\ado\personal\mypaper
* Unicode all .dta files in CWD and files in sub-directories
. ua: unicode encoding set gb18030
. ua: unicode translate *.dta
* Unicode all files (.do, .ado, .dta, .hlp, etc.) in CWD and files in sub-directories
. ua: unicode encoding set gb18030
. ua: unicode translate *
```
---
### 2. `uall` 命令
#### Description
`uall` is shortcut for `help ua`.
It executes the following two commands:
```stata
. ua: unicode encoding set gb18030
. ua: unicode translate *
```
#### Syntax
- Short version (Chinese only):
```stata
. uall
```
- Full version:
```stata
. uall [encoding-name]
```
- encoding-name is the name of encoding, see the list of encodings.
- The default is *gb18030* for Chinese. So, for Chinese user, you need not specify this option.
#### Examples
```stata
* Change current working directory (CWD)
. cd D:\stata15\ado\personal\mypaper
* For Chinese users:
. uall
* For Japnese users:
. uall ibm-943_P15A-2003
* For Korean users:
. uall ibm-970_P110_P110-2006_U2
```
#### Author
- Yujun,Lian (Arlion) Department of Finance, Lingnan College, Sun Yat-Sen University.
- E-mail: arlionn@163.com.
- 连玉君 ([知乎](https://zhuanlan.zhihu.com/arlion) | [简书](http://www.jianshu.com/u/69a30474ef33) | [码云](https://gitee.com/arlionn))
### 相关课程
> ##### 导航: 📍 [连享会主页](https://www.lianxh.cn) 📍 [知乎专栏](https://www.zhihu.com/people/arlionn/) 📍 [公众号推文](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=2&sn=07017b31da626e2beab0332f5aa5f9e2)
----
> #### ⏩ **因果推断-内生性 专题** ⌚ 2020.11.12-15
> 🍓 主讲:王存同 (中央财经大学);司继春(上海对外经贸大学)
> 👉 [课程主页](https://www.lianxh.cn/news/ff14d1cbb3500.html):
> 🍏 ${\color{red}{诚邀助教 10 名}}$,详见课程主页。

---
> #### 🎦 **空间计量 专题** ⌚ 2020.12.10-13
> 🍎 主讲:杨海生 (中山大学);范巧 (兰州大学)
> 👉 [课程主页](https://www.lianxh.cn/news/ff14d1cbb3500.html):
> 🍏 ${\color{red}{诚邀助教 10 名}}$,详见课程主页。

--- - --
> #### ⏩ [连享会·直播 - DSGE 专题](https://gitee.com/arlionn/DSGE)
> **直播/视频回放**:长期有效
> **主讲嘉宾**:朱传奇 (中山大学)
> **课程主页**:


## 相关课程
> **连享会-直播课** 上线了!
>
> **免费公开课:**
> - [直击面板数据模型](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等)
>
---
### 课程一览
> 支持回看,所有课程可以随时购买观看。
| 专题 | 嘉宾 | 直播/回看视频 |
| --- | --- | --- |
| ⭐ **[DSGE 专题](https://gitee.com/arlionn/DSGE)** | 朱传奇| [线上直播 4 天](https://www.lianxh.cn/news/c2f757a200474.html)
2020年9月 19-20日; 26-27日 |
| ⭕ **[Stata数据清洗](https://lxh.360dhf.cn/live/detail/4114)** | 游万海| [直播, 2 小时](https://www.lianxh.cn/news/f785de82434c1.html)
2020.7.21 |
| **[空间计量系列](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/#/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小时] |
> Note: 部分课程的资料,PPT 等可以前往 [连享会-直播课](https://gitee.com/arlionn/Live) 主页查看,下载。

---
>#### 关于我们
- **Stata连享会** 由中山大学连玉君老师团队创办,定期分享实证分析经验。[直播间](http://lianxh.duanshu.com) 有很多视频课程,可以随时观看。
- [连享会-主页](https://www.lianxh.cn) 和 [知乎专栏](https://www.zhihu.com/people/arlionn/),300+ 推文,实证分析不再抓狂。
- **公众号推文分类:** [计量专题](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=4&sn=0c34b12da7762c5cabc5527fa5a1ff7b) | [分类推文](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=2&sn=07017b31da626e2beab0332f5aa5f9e2) | [资源工具](https://mp.weixin.qq.com/mp/homepage?__biz=MzAwMzk4ODUzOQ==&hid=3&sn=10c2cf37e172289644f03a4c3b5bd506)。推文分成 **内生性** | **空间计量** | **时序面板** | **结果输出** | **交乘调节** 五类,主流方法介绍一目了然:DID, RDD, IV, GMM, FE, Probit 等。
> Stata 连享会 [主页](https://www.lianxh.cn/news/46917f1076104.html) || [视频](http://lianxh.duanshu.com) || [推文](https://www.zhihu.com/people/arlionn/)

> **温馨提示:** 定期 [清理浏览器缓存](http://www.xitongzhijia.net/xtjc/20170510/97450.html),可以获得最佳浏览体验。