bugPSPP - Bugs: bug #30731, FREQUENCIES: Format of...


bug #30731: FREQUENCIES: Format of "Frequency" column in output appears fixed

Submitted by:  Ben Pfaff <blp>
Submitted on:  Tue 10 Aug 2010 04:24:57 PM UTC  
Category:  Output Driver Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Before 0.8.0
Effort:  0.00

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 26 May 2013 11:44:05 PM UTC, comment #3: 

Fixed with commit 3079a93f224d (Avoid letting data fields overflow in output and GUI.).

Ben Pfaff <blp>
Project Administrator
Wed 22 May 2013 06:25:47 AM UTC, comment #2: 

I'm working on this.

Ben Pfaff <blp>
Project Administrator
Sun 25 Nov 2012 04:59:53 AM UTC, comment #1: 

It doesn't make sense for SET FORMAT to control the frequency count format, because the default for SET FORMAT is F8.2 but frequency counts are usually integers.

It is possible to control the format for the frequencies by weighting the active file, then setting the format for the weight variable.

My current thinking is that this would be an appropriate place to use the "stretchy" data formatting function described in bug #35829 (but not yet implemented).

Ben Pfaff <blp>
Project Administrator
Tue 10 Aug 2010 04:24:57 PM UTC, original submission:  

From: lavila <la@jump23.com>

> In working with a file of ~250 million records, the report ends up with
> scientific notation type numbers like so:
> +-----------+-----+---------+-------+-------------+-----------+
> |Value Label|Value|Frequency|Percent|Valid Percent|Cum Percent|
> #===========#=====#=========#=======#=============#===========#
> |           |     | 12274173|   4.59|         4.59|       4.59|
> |           |    F|   1E+008|  51.56|        51.56|      56.15|
> |           |    M|   1E+008|  43.85|        43.85|     100.00|
> #===========#=====#=========#=======#=============#===========#
> |            Total|   3E+008|  100.0|        100.0|           |
> +-----------------+---------+-------+-------------+-----------+

I believe that this should be controllable with SET FORMAT or by changing the format of the weight variable, but lavila reports that this does not work (in PSPP 0.7.5).

Ben Pfaff <blp>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by blp (Submitted the item)
  • -email is unavailable- added by blp (reporter)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-26 blp StatusIn Progress => Fixed
        Open/ClosedOpen => Closed
    2013-05-22 blp StatusNone => In Progress
    2011-05-14 blp ReleaseNone => Before 0.8.0
    2010-08-10 blp Carbon-Copy- => Added la@jump23.com

    Back to the top

    Powered by Savane 3.5