无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Stata編程小筆記2——tuples

2020-10-04 12:05 作者:deepwaterqh  | 我要投稿

當(dāng)我們想在stata中遍歷某些變量名時,用tuples是最好不過了,比如:

tuples?idcode year treat post,display

會出現(xiàn):

tuple1: post

tuple2: treat

tuple3: year

tuple4: idcode

tuple5: treat post

tuple6: year post

tuple7: year treat

tuple8: idcode post

tuple9: idcode treat

tuple10: idcode year

tuple11: year treat post

tuple12: idcode treat post

tuple13: idcode year post

tuple14: idcode year treat

tuple15: idcode year treat post

可以發(fā)現(xiàn),該命令可以對你放進(jìn)去的變量自動組合,并生成新的元組,那么如何方便地查看生成多少個元組呢?

dis `ntuples'?

此后,再也不要說stata不能遍歷變量了~~

完結(jié),撒花~

Stata編程小筆記2——tuples的評論 (共 條)

分享到微博請遵守國家法律
建水县| 黑水县| 镇安县| 成武县| 沙坪坝区| 冷水江市| 济宁市| 井冈山市| 潍坊市| 泰州市| 行唐县| 建始县| 沾化县| 舒城县| 交城县| 平塘县| 虹口区| 甘泉县| 永顺县| 惠水县| 永安市| 隆德县| 当雄县| 孟津县| 汾阳市| 上思县| 定兴县| 惠州市| 江陵县| 彭阳县| 手机| 古田县| 奎屯市| 广昌县| 凤庆县| 霍州市| 青州市| 杭州市| 汝城县| 巧家县| 北京市|