楼主: 黃河泉
19735 48

[stata资源分享] 黄河泉之 Stata [推广有奖]

11
胡不歸 发表于 2018-6-3 18:03:29
黃河泉 发表于 2018-6-3 15:19
谢谢!您还在学界吗?
黄老师终于来大陆授课啦,可惜山西太远了,希望能多来几场~

12
黃河泉 在职认证  发表于 2018-6-3 18:40:47
胡不歸 发表于 2018-6-3 18:03
黄老师终于来大陆授课啦,可惜山西太远了,希望能多来几场~
您在那个省呢?

13
胡不歸 发表于 2018-6-3 21:03:07
黃河泉 发表于 2018-6-3 18:40
您在那个省呢?
四川黄老师来吃火锅吧~

14
黃河泉 在职认证  发表于 2018-6-4 06:12:54
胡不歸 发表于 2018-6-3 21:03
四川黄老师来吃火锅吧~
我还真的蛮想去的,下次一起吃火锅(我也蛮喜欢吃火锅的)。

15
胡不歸 发表于 2018-6-5 21:46:07
黃河泉 发表于 2018-6-4 06:12
我还真的蛮想去的,下次一起吃火锅(我野蛮喜欢吃火锅的)。
that's my honor!

16
arlionn 在职认证  发表于 2018-6-11 10:43:05
支持支持,

17
黃河泉 在职认证  发表于 2018-6-11 18:13:08
wjx004 发表于 2018-6-11 18:09
组团吧,组团不贵
谢谢支持。

18
白杨九 发表于 2018-6-15 12:31:26 来自手机
老师能不能开网课呢?这样比较远的学生也能听了

19
黃河泉 在职认证  发表于 2018-6-15 14:55:54
白杨九 发表于 2018-6-15 12:31
老师能不能开网课呢?这样比较远的学生也能听了
有机会会考虑的,谢谢。

20
琥珀川lz 发表于 2019-7-5 18:10:36
Passing arguments to Mata functions
In designing a subroutine, you have two paramount interests: how you get data into your subroutine and
how you get results back. You get data in by the values you pass as the arguments. For calcsum(),
we called the subroutine by coding
mata: calcsum("`varlist'", "`touse'")
After macro expansion, that line turned into something like
mata: calcsum("mpg", " 0001dc")
The 0001dc variable is a temporary variable created by the marksample command earlier in our
ado-file. mpg was the variable specified by the user. After expansion, the arguments were nothing
more than strings, and those strings were passed to calcsum().

黄老师,想请教您这里的touse是什么意思?为什么这里需要两个参数。问了很多人都不清楚。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-29 01:56