|
Hello all,
Could you please suggest which SPSS 15 method should be used for these data: http://biosun1.harvard.edu/~fitzmaur/ala/melanoma.txt Thanks, Max. ------- Those who think they know it all upset those of us who do. ====================To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Hi all,
I'm using SPSS v14 here and it seems that there's a bug in CTRL-F. Even when I activate the right sps-file the editor still doesn't detect words that are definitely there. Kinda annoying. Is this a (known) bug? Is there a patch? And I also have a suggestion (unrelated to the previous point). I'd really appreciate a SHOW TIME and a SHOW DATETIME command. It gives useful info about the duration of various steps of (time-consuming) syntaxes. Now I use e.g. SHOW N, double-click on 'notes' and get the info I want, but a special command would be nicer. Cheers!! Albert-Jan Cheers! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Did you know that 87.166253% of all statistics claim a precision of results that is not justified by the method employed? [HELMUT RICHTER] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Point 1 is well known. Not sure if there is a patch. I hit this frequently in 14, as well. I just copy my syntax to a txt file and work from there usually.
Matt Albert-jan Roskam <[hidden email]> wrote: Hi all, I'm using SPSS v14 here and it seems that there's a bug in CTRL-F. Even when I activate the right sps-file the editor still doesn't detect words that are definitely there. Kinda annoying. Is this a (known) bug? Is there a patch? And I also have a suggestion (unrelated to the previous point). I'd really appreciate a SHOW TIME and a SHOW DATETIME command. It gives useful info about the duration of various steps of (time-consuming) syntaxes. Now I use e.g. SHOW N, double-click on 'notes' and get the info I want, but a special command would be nicer. Cheers!! Albert-Jan Cheers! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Did you know that 87.166253% of all statistics claim a precision of results that is not justified by the method employed? [HELMUT RICHTER] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Hi all,
If I have a BIRTHDATE in this format 16-NOV-1980 00:00:00 How do I extract the year into a different variable? Thanks, Phebe ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Hi Phebe,
Try this, COMPUTE Year = XDATE.YEAR(BIRTHDATE) . EXECUTE . Thanks, Mahbub -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Lacay, Phebe Sent: 23-Oct-07 10:31 AM To: [hidden email] Subject: extract year from date Hi all, If I have a BIRTHDATE in this format 16-NOV-1980 00:00:00 How do I extract the year into a different variable? Thanks, Phebe ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ______________________________________________________________________ This email has been scanned by the CAMH Email Security System. ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the CAMH Email Security System. ______________________________________________________________________ ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Albert-Jan Roskam
Hi Albert,
This is the reply I sent late September when a similar question was asked. I found this at SPSS Tech Support. It is a known bug. A workaround and a solution is offered below. Best regards, Florio Resolution number: 61827 Created on: Dec 21 2005 Last Reviewed on: Jun 17 2007 Problem Subject: Trouble with the Find/Replace function in SPSS 14.0 Syntax Editor Problem Description: I'm using SPSS 14.0 for Windows and I'm having trouble with the Find/Replace function in the Syntax Editor. The one thing that I can consistently replicate is that a string that starts in the first character of the first line of a syntax file seems to be invisible to the Find dialog box. For instance, I have a syntax file that starts with a GET FILE command in that first position, first line -- and that's the only appearance of "get" in the file. If I try to Find (i.e., Edit->Find, or clicking the Binoculars in the toolbar) the string "get" the application responds with a "Not Found" message. If I then put either a single extra space or an extra line before the GET FILE command, then the Find function can find the "get" string. This problem is replicable -- it happens every single time, in 14.0.1 as well. What's wrong? Resolution Subject: This appears to be a defect Resolution Description: This is a defect and has been fixed in SPSS 15.0 for Windows. As a workaround if you have extended Find/Replaces to do as part of your editing, you could select all the text in your syntax file, and copy/paste to a simple text editor, such as NotePad or Programmer's File Editor. Perform your editing and then copy/paste your edited code back to the SPSS Syntax Editor and save. There have been other reported issues with the Find feature in SPSS 14.0 and 15.0 that we have not been able to consistently replicate, and thus cannot be certain have been fixed along with the other replicable issues. One example involves a file with over 50 instances of a particular string, but sporadically the Find/Replace dialog can only "see" the first instance -- clicking Find Next in the dialog box does not advance the cursor to the next instance. So far SPSS Development has not been able to replicate this issue in a controlled environment, but user reports indicate that closing and re-opening the syntax file does seem to "re-set" the Find dialog's functionality. SPSS 16.0 for Windows will use a new syntax editor and all Find/Replace functionality should work as expected in that release. We apologize for the inconvenience. Product(s) Affected: Product Version SPSS 15.0.1 SPSS 14.0.1 SPSS 14.0 Did this Answer Help? Note This resolution is provided for reference only and is subject to change at any time. Resolutions typically contain information specific to the solution and not necessarily the steps taken to troubleshoot the problem. At 09:58 AM 10/23/2007, Albert-jan Roskam wrote: >Hi all, > >I'm using SPSS v14 here and it seems that there's a >bug in CTRL-F. Even when I activate the right sps-file >the editor still doesn't detect words that are >definitely there. Kinda annoying. Is this a (known) >bug? Is there a patch? > >And I also have a suggestion (unrelated to the >previous point). I'd really appreciate a SHOW TIME and >a SHOW DATETIME command. It gives useful info about >the duration of various steps of (time-consuming) >syntaxes. Now I use e.g. SHOW N, double-click on >'notes' and get the info I want, but a special command >would be nicer. > >Cheers!! >Albert-Jan > >Cheers! >Albert-Jan > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Did you know that 87.166253% of all statistics claim a precision of >results that is not justified by the method employed? [HELMUT RICHTER] >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > >===================== >To manage your subscription to SPSSX-L, send a message to >[hidden email] (not to SPSSX-L), with no body text except the >command. To leave the list, send the command >SIGNOFF SPSSX-L >For a list of commands to manage subscriptions, send the command >INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Matthew Reeder
Processor and elapsed time are shown in the Notes table.
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Matthew Reeder Sent: Tuesday, October 23, 2007 8:02 AM To: [hidden email] Subject: Re: (1) Ctrl-F bug ? (2) Suggest: SHOW TIME Point 1 is well known. Not sure if there is a patch. I hit this frequently in 14, as well. I just copy my syntax to a txt file and work from there usually. Matt Albert-jan Roskam <[hidden email]> wrote: Hi all, I'm using SPSS v14 here and it seems that there's a bug in CTRL-F. Even when I activate the right sps-file the editor still doesn't detect words that are definitely there. Kinda annoying. Is this a (known) bug? Is there a patch? And I also have a suggestion (unrelated to the previous point). I'd really appreciate a SHOW TIME and a SHOW DATETIME command. It gives useful info about the duration of various steps of (time-consuming) syntaxes. Now I use e.g. SHOW N, double-click on 'notes' and get the info I want, but a special command would be nicer. ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Lacay, Phebe
COMPUTE birth_year = XDATE>YEAR(birthdate).
Works if the variable BIRTHDATE is a datetime variable. --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Lacay, Phebe Sent: Tuesday, October 23, 2007 9:31 AM To: [hidden email] Subject: extract year from date Hi all, If I have a BIRTHDATE in this format 16-NOV-1980 00:00:00 How do I extract the year into a different variable? Thanks, Phebe ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Albert-Jan Roskam
You can use SHOW $VARS to get a small table that includes the current date and time as well as a few other things. That is the current time, not the processor time in the Notes table, but it might serve as well or better for figuring the time for a batch of syntax.
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Albert-jan Roskam Sent: Tuesday, October 23, 2007 8:58 AM To: [hidden email] Subject: [SPSSX-L] (1) Ctrl-F bug ? (2) Suggest: SHOW TIME Hi all, [>>>Peck, Jon] [snip] And I also have a suggestion (unrelated to the previous point). I'd really appreciate a SHOW TIME and a SHOW DATETIME command. It gives useful info about the duration of various steps of (time-consuming) syntaxes. Now I use e.g. SHOW N, double-click on 'notes' and get the info I want, but a special command would be nicer. Cheers!! Albert-Jan ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Marks, Jim
Minor correction: XDATE.YEAR
-----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Marks, Jim Sent: Tuesday, October 23, 2007 9:47 AM To: [hidden email] Subject: Re: extract year from date COMPUTE birth_year = XDATE>YEAR(birthdate). Works if the variable BIRTHDATE is a datetime variable. --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Lacay, Phebe Sent: Tuesday, October 23, 2007 9:31 AM To: [hidden email] Subject: extract year from date Hi all, If I have a BIRTHDATE in this format 16-NOV-1980 00:00:00 How do I extract the year into a different variable? Thanks, Phebe ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
What the variable format? String, Date? each situation have your aproach to
solve. Carlos Renato Statistician ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
In reply to this post by Oliver, Richard
Thx--
I was trying to use UPPERCASE for the function, and didn't unshift for the '.' typos are the bane of my existance :~) --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Oliver, Richard Sent: Tuesday, October 23, 2007 10:01 AM To: [hidden email] Subject: Re: extract year from date Minor correction: XDATE.YEAR -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Marks, Jim Sent: Tuesday, October 23, 2007 9:47 AM To: [hidden email] Subject: Re: extract year from date COMPUTE birth_year = XDATE>YEAR(birthdate). Works if the variable BIRTHDATE is a datetime variable. --jim -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Lacay, Phebe Sent: Tuesday, October 23, 2007 9:31 AM To: [hidden email] Subject: extract year from date Hi all, If I have a BIRTHDATE in this format 16-NOV-1980 00:00:00 How do I extract the year into a different variable? Thanks, Phebe ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
| Free forum by Nabble | Edit this page |
