楼主: spss19
50226 67

Stat/Transfer 12.0.152.0527 (更新至2014-5-28版)   [推广有奖]

11
zhaowill 发表于 2014-7-17 10:48:56
还是不行。不过可以用其他办法解决这个问题。
谢谢楼主啦!

12
pcjoshua 在职认证  发表于 2014-7-28 22:07:12
zhaowill 发表于 2014-7-17 10:48
还是不行。不过可以用其他办法解决这个问题。
谢谢楼主啦!
兄弟,用的什么办法解决?能否告知下?


用这个软件转换spss到stata出现,如下错误,请大家看看,是什么问题


QQ截图20140728220551.png

13
pcjoshua 在职认证  发表于 2014-7-28 22:13:18
Frequently Asked Questions: Character Encoding

Q.What are “Encoding Errors”?

A.Stat/Transfer stores strings internally in Unicode, which is capable of storing all of characters in all languages, plus many, many other symbols. Most older character sets are of much more limited scope. For instance, the most common encoding, ASCII, is only capable of storing a handful of symbols, letters and numbers, since it has only 127 locations for characters and control codes. Other single-byte character sets double the amount of storage and allow accented characters and other useful symbols. There are a number of such single-byte character sets, for instance one is suitable for the Cyrillic alphabet and another for modern Greek.

When Stat/Transfer reads data, it converts it to Unicode either based on the settings for character sets in the encoding options, or information written in the input file. If you file does not have information on the encoding, and is in a character set that is not the default encoding used on your computer, you must tell Stat/Transfer which encoding to use. For instance, if a Greek colleague sends you a Stata dataset, you may need to select a Greek character set in order to properly read it and translate it to a Unicode based system such as Excel. If the dataset contains non-ASCII strings and you do not set the encoding properly, you will get nonsense on output.

Because all single byte characters can be mapped to Unicode, there are seldom errors on input. However, you might encounter them if you are reading multi-byte characters such as those for Japanese.

The most common problems occur on output, when sometimes a character that was read on input has no mapping to the output character set. For instance, if you read your Greek data set and attempted to write it to SAS, using your Western European machine default, there would be many encoding errors because Greek characters in Unicode cannot be mapped to a character set such as latin1.

Some problems are more surprising because it looks as if you are dealing with ASCII, but your file has some characters that cannot be represented in the output. For instance all Microsoft applications use Unicode and characters such as the left apostrophe cannot be mapped to common non-unicode character sets. The same is true for the Euro sign, which is not present in ISO-8859-1, but is present in its more modern replacement, ISO-8859-15. If any of these characters are present, they create a potential for encoding errors.

In order to simplify matters, the most current builds of Stat/Transfer substitute characters very freely, for instance an é will go to e if the accented character is not presnt and an

14
pcjoshua 在职认证  发表于 2014-7-28 22:29:02
http://www.stattransfer.com/faq/encoding.html

15
spss19 发表于 2014-7-28 23:48:16
如果要將SPSS數據轉成Stata格式,建議直接在SPSS軟件上另存新檔即可。

16
wuya100 发表于 2014-7-31 16:03:01
谢谢楼主分享!!!

17
sosofast 发表于 2014-8-14 07:19:22
等到用的时候就知道其重要性了

18
gz870825 发表于 2014-8-19 19:09:48
还是不能将Excel转化为stata格式,楼主……

19
wenniao 发表于 2014-9-7 21:38:31
大家看看,这个问题怎么解决? 如果把转换的样本容量设置得大一点呢?整个文件比较大,将近1G。谢谢大家了~~~

QQ图片20140907213502.jpg (82.37 KB)

样本容量超上限

样本容量超上限

20
zgw1055 发表于 2014-9-13 21:32:07
提示是试用版 只能转换以部分数据啊怎么办

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

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