bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: Cant compile latest stable version pspp-stable-200910XX


From: Jason Stover
Subject: Re: PSPP-BUG: Cant compile latest stable version pspp-stable-200910XX
Date: Fri, 30 Oct 2009 16:36:24 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

I just this and it looks like a bug that's still in the source
code of the master branch. 

On Thu, Oct 29, 2009 at 01:35:26PM -0500, Leonard Evens wrote:
> On Thu, 2009-10-29 at 10:21 -0400, Jason Stover wrote:
> > On Thu, Oct 29, 2009 at 08:48:37AM -0500, Leonard Evens wrote:
> > > Okay.  I compiled 0.6.2.  But it has the same crosstab bug I reported
> > > before for 0.6.1.  If I do a crosstab on split data, then in the second
> > > part of the split, it reports the total number of missing entries rather
> > > than the number missing just for that part of the split. (Possibly a
> > > variable was not reinitialized?)  I had hoped that I could find a
> > > version where that bug had been fixed.
> > 
> > Can you send a sample data file that shows the problem?
> 
> Try the attached .sav file.  Split on the values of the variable ven3,
> which separates data with ven = 3 from data with ven not= 3.  Then do a
> crosstab on any pair of variables, e.g,
> gender vs zipcode.  One of  the two results will report the wrong number
> of missing entries and the wrong number of total entries.  Which one is
> wrong will depend on the ordering of the data.   The total should be 178
> for venue 3 and 68 for all other venues combined.  The total number of
> entries independent of venue is 246.
> 
> I also attached a file showing the ou tpu t I got for age vs zipcode,
> and I indicated in that file where the numbers reported were wrong.
> -- 
> Leonard Evens address@hidden
> Professor Emeritus, Department of Mathematics, Northwestern University


> Variable Value    Label
> ven3          .00 Other
> 
> 1.1(1) CROSSTABS.  Summary.
> #========#============================================#
> #        #                    Cases                   #
> #        #-----------------+-----------------+--------#
> #        #      Valid      |     Missing     |  Total #
> #        #--------+--------+--------+--------+--------#
> #        #       N| Percent|       N| Percent|       N#
> #--------#--------+--------+--------+--------+--------#
> #Gender *#      65|   95.6%|       3|    4.4%|      68#
> #Zip Code#        |        |        |        |        #
> #========#========#========#========#========#========#
> 
> 1.1(2:2) CROSSTABS.  Summary.
> #========#========#
> #        #        #
> #        #--------#
> #        #        #
> #        #--------#
> #        # Percent#
> #--------#--------#
> #Gender *#  100.0%#
> #Zip Code#        #
> #========#========#
> 
> 1.2(2) CROSSTABS.  Q8 by Q13 [count, row %, column %, total
> #============#===================================#========#
> #            #                Q13                |        #
> #            #--------+--------+--------+--------+        #
> #          Q8#60201   |60202   |60203   |60091   |  Total #
> #------------#--------+--------+--------+--------+--------#
> #Male        #     7.0|     2.0|     1.0|     3.0|    13.0#
> #            #   53.8%|   15.4%|    7.7%|   23.1%|  100.0%#
> #            #   17.5%|   12.5%|  100.0%|   37.5%|   20.0%#
> #            #   10.8%|    3.1%|    1.5%|    4.6%|   20.0%#
> #------------#--------+--------+--------+--------+--------#
> #Female      #    33.0|    14.0|      .0|     5.0|    52.0#
> #            #   63.5%|   26.9%|     .0%|    9.6%|  100.0%#
> #            #   82.5%|   87.5%|     .0%|   62.5%|   80.0%#
> #============#========#========#========#========#========#
> 1.2(4) CROSSTABS.  Q8 by Q13 [count, row %, column %, total
> #============#===================================#========#
> #            #                Q13                |        #
> #            #--------+--------+--------+--------+        #
> #          Q8#60201   |60202   |60203   |60091   |  Total #
> #------------#--------+--------+--------+--------+--------#
> #            #   50.8%|   21.5%|     .0%|    7.7%|   80.0%#
> #------------#--------+--------+--------+--------+--------#
> #Total       #    40.0|    16.0|     1.0|     8.0|    65.0#
> #            #   61.5%|   24.6%|    1.5%|   12.3%|  100.0%#
> #            #  100.0%|  100.0%|  100.0%|  100.0%|  100.0%#
> #            #   61.5%|   24.6%|    1.5%|   12.3%|  100.0%#
> #============#========#========#========#========#========#
> 
> 1.3(2) CROSSTABS.  Chi-square tests.
> #===============#========#========#========#
> #Statistic      #   Value|      df|  Asymp.#
> #               #        |        |    Sig.#
> #               #        |        |(2-sided#
> #               #        |        |       )#
> #---------------#--------+--------+--------#
> #Pearson        #   6.250|       3|    .100#
> #Chi-Square     #        |        |        #
> #Likelihood     #   5.313|       3|    .150#
> #Ratio          #        |        |        #
> #Linear-by-Linea#   2.008|       1|    .157#
> #r Association  #        |        |        #
> #===============#========#========#========#
> 
> 1.3(4) CROSSTABS.  Chi-square tests.
> #===============#========#========#========#
> #Statistic      #   Value|      df|  Asymp.#
> #               #        |        |    Sig.#
> #               #        |        |(2-sided#
> #               #        |        |       )#
> #---------------#--------+--------+--------#
> #N of Valid     #      65|        |        #
> #Cases          #        |        |        #
> #===============#========#========#========#
> 
> Variable Value    Label
> ven3         1.00 USPS
> 
> 1.4(1:2) CROSSTABS.  Summary.
> #========#============================================#
> #        #                    Cases                   #
> #        #-----------------+-----------------+--------#
> #        #      Valid      |     Missing     |  Total #
> #        #--------+--------+--------+--------+--------#
> #        #       N| Percent|       N| Percent|       N#
> #--------#--------+--------+--------+--------+--------#
> #Gender *#     176|   97.2%|       5|    2.8%|     181# <= This is wrong, #s 
> should be 176, 2, and 178
> #Zip Code#        |        |        |        |        #
> #========#========#========#========#========#========#
> 
> 1.4(2:2) CROSSTABS.  Summary.
> #========#========#
> #        #        #
> #        #--------#
> #        #        #
> #        #--------#
> #        # Percent#
> #--------#--------#
> #Gender *#  100.0%#
> #Zip Code#        #
> #========#========#
> 
> 1.5(2) CROSSTABS.  Q8 by Q13 [count, row %, column %, total
> #============#===================================#========#
> #            #                Q13                |        #
> #            #--------+--------+--------+--------+        #
> #          Q8#60201   |60202   |60203   |60091   |  Total #
> #------------#--------+--------+--------+--------+--------#
> #Male        #    19.0|    11.0|     2.0|    25.0|    57.0#
> #            #   33.3%|   19.3%|    3.5%|   43.9%|  100.0%#
> #            #   25.7%|   29.7%|   22.2%|   44.6%|   32.4%#
> #            #   10.8%|    6.3%|    1.1%|   14.2%|   32.4%#
> #------------#--------+--------+--------+--------+--------#
> #Female      #    55.0|    26.0|     7.0|    31.0|   119.0#
> #            #   46.2%|   21.8%|    5.9%|   26.1%|  100.0%#
> #            #   74.3%|   70.3%|   77.8%|   55.4%|   67.6%#
> #============#========#========#========#========#========#
> 1.5(4) CROSSTABS.  Q8 by Q13 [count, row %, column %, total
> #============#===================================#========#
> #            #                Q13                |        #
> #            #--------+--------+--------+--------+        #
> #          Q8#60201   |60202   |60203   |60091   |  Total #
> #------------#--------+--------+--------+--------+--------#
> #            #   31.3%|   14.8%|    4.0%|   17.6%|   67.6%#
> #------------#--------+--------+--------+--------+--------#
> #Total       #    74.0|    37.0|     9.0|    56.0|   176.0#
> #            #   42.0%|   21.0%|    5.1%|   31.8%|  100.0%#
> #            #  100.0%|  100.0%|  100.0%|  100.0%|  100.0%#
> #            #   42.0%|   21.0%|    5.1%|   31.8%|  100.0%#
> #============#========#========#========#========#========#
> 
> 1.6(2) CROSSTABS.  Chi-square tests.
> #===============#========#========#========#
> #Statistic      #   Value|      df|  Asymp.#
> #               #        |        |    Sig.#
> #               #        |        |(2-sided#
> #               #        |        |       )#
> #---------------#--------+--------+--------#
> #Pearson        #   5.907|       3|    .116#
> #Chi-Square     #        |        |        #
> #Likelihood     #   5.809|       3|    .121#
> #Ratio          #        |        |        #
> #Linear-by-Linea#   4.874|       1|    .027#
> #r Association  #        |        |        #
> #===============#========#========#========#
> 
> 1.6(4) CROSSTABS.  Chi-square tests.
> #===============#========#========#========#
> #Statistic      #   Value|      df|  Asymp.#
> #               #        |        |    Sig.#
> #               #        |        |(2-sided#
> #               #        |        |       )#
> #---------------#--------+--------+--------#
> #N of Valid     #     176|        |        #
> #Cases          #        |        |        #
> #===============#========#========#========#
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]