Results 1 to 3 of 3

Thread: Help with Syntax & Error received

Threaded View

  1. #1
    Points: 1,088, Level: 17
    Level completed: 88%, Points required for next Level: 12

    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Help with Syntax & Error received

    Hello Everyone, I've tried searching but could not find a solution to this, so I am hoping you can help me.

    I am currently using the book: Applied Multivariate Statistics for the Social Sciences 5th edition by James Stevens. In the chapter on Multiple regression, he has a table 3.3 with syntax to enter in order to output the MR with other descriptives. A copy of what is in the book can be found here just scroll down to the next page (99):

    http://tinyurl.com/4dx9l72

    I have entered all of the data into the syntax editor and triple checked my entry. It matches the book's example exactly.

    However, when I run the syntax I receive the following message from SPSS:

    "Warning # 522
    An unexpected end of file has been found in the middle of reading a case. The
    Partial case will be ignored. Check your input for a possible missing record.
    Command line: 311 Current case: 6 Current splitfile group: 1"

    I am also going to past my exact syntax below. Any help you may be able to provide in solving this error would be greatly appreciated. I am new to syntax and still learning my way around SPSS. I am also running PASW 18 on my mac if that helps.

    I've looked through this forum as well as on Google. It sounds like there could be a missing record but the numbers match. I've tried changing the syntax in a few places but no result seems to do the trick.

    Thank you again for your assistance,

    JW

    My entered Syntax:
    TITLE'MORRISON MBA DATA'.
    DATA LIST FREE/INSTEVAL CLARITY STIMUL KNOWLEDG INTEREST COUEVAL.
    BEGIN DATA.
    112112 122111 111112 112112
    213222 224112 233112 234123
    223133 222222 223212 222332
    222112 224222 233113 234112
    232112 344322 343114 343123
    343223 334233 334233 343112
    345113 335123 344123 344113
    333213 335112 455234 445234
    END DATA.
    REGRESSION DESCRIPTIVES = DEFAULT/
    VARIABLES = INSTEVAL TO COUEVAL/
    STATISTICS = DEFAULTS TOL SELECTION/
    DEPENDENT = INSTEVAL/
    METHOD = STEPWISE/
    CASEWISE = ALL PRED RESID ZRESID LEVER COOK/
    SCATTERPLOT(*RES, *PRE)/.
    Last edited by jwick; 02-14-2011 at 04:28 PM.

Similar Threads

  1. help: SEM in linux with pre-typed syntax
    By owenpediatrica in forum R
    Replies: 2
    Last Post: 08-10-2009, 03:37 AM
  2. Syntax - how to subtract 2 columns
    By speechy in forum SPSS
    Replies: 3
    Last Post: 05-07-2009, 07:07 AM
  3. Replies: 2
    Last Post: 03-25-2009, 01:59 AM
  4. Syntax and Do Loops
    By NewYorkBoraPL in forum SAS
    Replies: 4
    Last Post: 12-24-2008, 07:37 PM
  5. SAS to JMP, Script syntax?
    By JohnReam in forum SAS
    Replies: 0
    Last Post: 11-12-2008, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats