1827 17

[经济] spss为什么不能编码日期变量 [推广有奖]

  • 0关注
  • 0粉丝

小学生

50%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
29 点
帖子
4
精华
0
在线时间
10 小时
注册时间
2013-9-5
最后登录
2014-6-22

楼主
统计xiao菜鸟 发表于 2013-9-5 08:04:44 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
如标题,试过几次都没有成功,求解
二维码

扫码加我 拉你入群

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

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

关键词:日期变量 SPSS PSS

沙发
统计xiao菜鸟 发表于 2013-9-5 08:13:54
求解

藤椅
统计xiao菜鸟 发表于 2013-9-5 08:18:20
求解

板凳
恶趣味去问去问 发表于 2013-9-5 15:52:23
同求

报纸
恶趣味去问去问 发表于 2013-9-5 15:53:08
其他变量都能编码,为啥就只有日期变量不能?

地板
yiyan06 发表于 2013-9-5 16:42:55
可以的。

Dates and Times in IBM SPSS Statistics
Variables that represent dates and times in IBM® SPSS® Statistics have a variable type of numeric, with display formats that correspond to the specific date/time formats. These variables are generally referred to as date/time variables. Date/time variables that actually represent dates are distinguished from those that represent a time duration that is independent of any date, such as 20 hours, 10 minutes, and 15 seconds. The latter are referred to as duration variables and the former as date or date/time variables. For a complete list of display formats, see Date and Time Formats .

Date and date/time variables. Date variables have a format representing a date, such as mm/dd/yyyy. Date/time variables have a format representing a date and time, such as dd-mmm-yyyy hh:mm:ss. Internally, date and date/time variables are stored as the number of seconds from October 14, 1582. Date and date/time variables are sometimes referred to as date-format variables.

• Both two- and four-digit year specifications are recognized. By default, two-digit years represent a range beginning 69 years prior to the current date and ending 30 years after the current date. This range is determined by your Options settings and is configurable (from the Edit menu, choose Options and click the Data tab).

• Dashes, periods, commas, slashes, or blanks can be used as delimiters in day-month-year formats.

• Months can be represented in digits, Roman numerals, or three-character abbreviations, and they can be fully spelled out. Three-letter abbreviations and fully spelled-out month names must be in English; month names in other languages are not recognized.

Duration variables. Duration variables have a format representing a time duration, such as hh:mm. They are stored internally as seconds without reference to a particular date.

• In time specifications (applies to date/time and duration variables), colons can be used as delimiters between hours, minutes, and seconds. Hours and minutes are required, but seconds are optional. A period is required to separate seconds from fractional seconds. Hours can be of unlimited magnitude, but the maximum value for minutes is 59 and for seconds is 59.999....

Current date and time. The system variable $TIME holds the current date and time. It represents the number of seconds from October 14, 1582, to the date and time when the transformation command that uses it is executed

7
恶趣味去问去问 发表于 2013-9-5 17:35:20
不能编码日期变量啊

不能编码这个日期啊,日期格式yyddd,将13345改为13245就不行啊

8
恶趣味去问去问 发表于 2013-9-5 17:46:31
我试过,貌似真的不能编码

9
yiyan06 发表于 2013-9-5 18:32:02
看视频吧,发个私人信息告诉。英文的。不懂再问。

10
yiyan06 发表于 2013-9-5 18:32:38
视频发不了,告诉我你的私人邮件。发个私人信息好了。

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2026-1-8 14:43