[Limdep Nlogit List] dstat, values and frequency

RAUX Charles Charles.Raux at laet.ish-lyon.cnrs.fr
Sat Oct 21 21:53:50 AEDT 2017


Hello,
I have an issue after importing my data. I have 5400 observations with 59 variables including a variable 'Effect' which I know has 7 values (1..7 for each observation, and this has been checked under Excel in the original csv file: 1800 observations for Effect=1, 600 for each other).
After import I have
|-> dstat; rhs=effect; value$


--------+---------------------------------------------------------------------
        |                  Standard                                    Missing
Variable|         Mean    Deviation      Minimum      Maximum    Cases  Values
--------+---------------------------------------------------------------------
  EFFECT|     3.333333     2.160447          1.0          7.0     5400       0
__Values|Negative    0     Zero   0           Positive   5400
        |Integers 5400     Real =    0   Unique Values      7
--------+---------------------------------------------------------------------

|-> frequency; rhs=effect$

-------------------------------------
Frequency Table for   EFFECT
Sample size             5400
-------------------------------------
                Sample       Sample
   Value       Frequency   Proportion
-------------  ---------   ----------
  EFFECT=   1     1799       .3331
  EFFECT=   2      599       .1109
  EFFECT=   3      599       .1109
  EFFECT=   4      599       .1109
  EFFECT=   5      599       .1109
  EFFECT=   6      599       .1109
  EFFECT=   7      599       .1109
-------------------------------------

This sums to 5393. Why 1799 (and not 1800), then 599 (and not 600) for each other?
CR


More information about the Limdep mailing list