哪位高手知道stata怎么处理长度超过255个字符的字符型变量
数据结果如下
id str1
1 sdfffddsfdsdsssfdfghhgh....fdfdf (一共有1000多个字母)
2 dsffdfdfddffsdfsdsdfsfdfdfg.....
stata只能读取前255个。不知有什么高招没有
楼主: davalic
|
2977
5
[其他] 讨论:stata 如何读取超过255个字符的字符型变量 |
博士生 87%
-
|
回帖推荐You can dowload the user written program -egenmore-, which provides several functions that fit your need.
e.g.
incss(strvarlist) , substr(substring) [ insensitive ] indicates occurrences of
substring within any of the variables in a list of string variables by 1 and
other observations by 0. insensitive makes comparison case-insensitive.
(Stata 6 required; an alterna ...
本帖被以下文库推荐
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明