全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
24789 24
2013-06-19
如题所问……路过好心人帮忙……
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-6-22 23:44:01
用 stata transfer 就可以了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-23 10:25:17
Crystal_0807 发表于 2013-6-22 23:44
用 stata transfer 就可以了
我已经知道啦~谢谢~~
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-23 13:04:09
可以下载  usespss 命令


help usespss                                                                                                    dialogs:  usespss  
-----------------------------------------------------------------------------------------------------------------------------------

Title

    usespss -- Use SPSS dataset

What is supported:
-------------------------------
    files in SPSS-system format (*.sav)
    platforms: Windows or Unix/Mac
    compressed and non-compressed data
    long variable names
    variable labels
    value labels for numerical variables
    extended missing values
    variable formatting (for numerical variables only)
    types optimization

What is (currently) NOT supported:
----------------------------------------
    SPSS portable format files
    SPSS/PC format files
    DEC PDP files
    value labels for short strings (not supported by Stata)
    information regarding weighting in SPSS file


Syntax

    Load SPSS-format dataset

        usespss using filename [, clear saving(filename) iff(condition) inn(condition) memory(memsize) lowmemory(memsize)]


    Describe SPSS-format dataset

        desspss using filename [, clear]


    Note that if your filename contains embedded spaces, enclose it in double quotes.


Description

    usespss loads an SPSS-format dataset into memory.  Extension must be specified in filename. The word "using" may be omitted
    in the current version of usespss, but is likely to be required in the later versions.

    Version 1.0 does not allow a subset of the variables to be read. If and in conditions must be specified within iff and inn
    options.

Options

    clear specifies that it is okay to replace the data in memory, even though the current data have not been saved to disk.

    saving specifies that a particular filename must be used for the result of the conversion. One command

    . usespss using "filename.sav",saving("filename.dta")

    is generally faster than the following sequence

    . usespss using "filename.sav"
    . save "filename.dta"

    memory(memsize) specifies that immediately after conversion the memory size must be set to memsize megabytes. memory()
        implies clear.


    lowmem(memsize) specifies that during conversion Stata must allocate memsize megabytes. lowmem() is ignored if memory is not
        specified. Default value for lowmem() is 1 megabyte. lowmem() is supposed to be lower pt memory()}.


Author

    Sergiy Radyakin
    DECRG, The World Bank, Washington DC, USA
    sradyakin(at)worldbank.org


Examples

    . desspss using "myfile.sav"

    . usespss using "myfile.sav",
    . usespss using "myfile.sav", clear
    . usespss using "myfile.sav", clear saving("myfile.dta")
    . usespss using "myfile.sav", clear iff(myvar<threshold) inn(1/500)
    . usespss using "myfile.sav", clear saving("myfile.dta") lowmem(10) memory(300)

Also see


Online: use, sysuse, fdause

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-24 15:12:40
哇哦~谢谢版主啦~~
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-6-24 15:13:50
蓝色 发表于 2013-6-23 13:04
可以下载  usespss 命令
我没点回复……谢谢斑竹!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群