[Limdep Nlogit List] Error running sample data

Richard Hofler rhofler at bus.ucf.edu
Sat Aug 18 08:54:56 EST 2007


Upananda,

I see that the values were NOT reproduced below in the format in which I sent them. They were in 32 rows with 5 values in each row. Each variable's values were in a column, as in an Excel spreadsheet.  
 
Richard
 

________________________________

From: limdep-bounces at limdep.itls.usyd.edu.au on behalf of Richard Hofler
Sent: Fri 8/17/2007 2:48 PM
To: Limdep and Nlogit Mailing List
Subject: RE: [Limdep Nlogit List] Error running sample data



Upananda,

You might have a spacing problem with your data values. The commands below work with data that have been reformatted within Excel.

Richard



SPECTOR.DAT

Read ; Nobs = 32 ; Nvar = 5

; names = OBS,GPA,TUCE,PSI,GRADE $

1

2.66

20

0

0

2

2.89

22

0

0

3

3.28

24

0

0

4

2.92

12

0

0

5

4

21

0

1

6

2.86

17

0

0

7

2.76

17

0

0

8

2.87

21

0

0

9

3.03

25

0

0

10

3.92

29

0

1

11

2.63

20

0

0

12

3.32

23

0

0

13

3.57

23

0

0

14

3.26

25

0

1

15

3.53

26

0

0

16

2.74

19

0

0

17

2.75

25

0

0

18

2.83

19

0

0

19

3.12

23

1

0

20

3.16

25

1

1

21

2.06

22

1

0

22

3.62

28

1

1

23

2.89

14

1

0

24

3.51

26

1

0

25

3.54

24

1

1

26

2.83

27

1

1

27

3.39

17

1

1

28

2.67

24

1

0

29

3.65

21

1

1

30

4

23

1

1

31

3.1

21

1

0

32

2.39

19

1

1

PROBIT ;lhs=grade  ;rhs=one,gpa,tuce,psi  ;margin=psi  $


________________________________

From: limdep-bounces at limdep.itls.usyd.edu.au on behalf of Paragahawewa, Upananda
Sent: Fri 8/17/2007 3:00 AM
To: Limdep and Nlogit Mailing List
Subject: [Limdep Nlogit List] Error running sample data



Hello

I am trying to run a probit/lopgit model using grade data given in the
help index. The results always give the following error message. Could
you please explain why this could be hapenning?

Regards
Upananda

SPECTOR.DAT
    Read ; Nobs = 32 ; Nvar = 4
    ; names = OBS,GPA,TUCE,PSI,GRADE $
  Error   999: The specification ;NOB is not recognized.
--> 1   2.66     20    0      0
    2   2.89     22    0      0
    3   3.28     24    0      0
    4   2.92     12    0      0
    5   4.00     21    0      1
    6   2.86     17    0      0
    7   2.76     17    0      0
    8   2.87     21    0      0
    9   3.03     25    0      0
    10   3.92     29    0      1
    11   2.63     20    0      0
    12   3.32     23    0      0
    13   3.57     23    0      0
    14   3.26     25    0      1
    15   3.53     26    0      0
    16   2.74     19    0      0
    17   2.75     25    0      0
    18   2.83     19    0      0
    19   3.12     23    1      0
    20   3.16     25    1      1
    21   2.06     22    1      0
    22   3.62     28    1      1
    23   2.89     14    1      0
    24   3.51     26    1      0
    25   3.54     24    1      1
    26   2.83     27    1      1
    27   3.39     17    1      1
    28   2.67     24    1      0
    29   3.65     21    1      1
    30   4.00     23    1      1
    31   3.10     21    1      0
    32   2.39     19    1      1
    probit;lhs=grade;rhs=one,gpa,tuce,psi;margin=psi$
  Error     1: Unrecognized command.  (Missing ; ?)


=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================
_______________________________________________
Limdep site list
Limdep at limdep.itls.usyd.edu.au
http://limdep.itls.usyd.edu.au


_______________________________________________
Limdep site list
Limdep at limdep.itls.usyd.edu.au
http://limdep.itls.usyd.edu.au





More information about the Limdep mailing list