[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: CROSSTABS decimal places
From: |
Daniel Harper |
Subject: |
Re: Fwd: CROSSTABS decimal places |
Date: |
Mon, 26 Nov 2012 11:48:56 +1300 |
Thanks John and Ben. Fantastic. I can confirm that its now working as
expected in http://pspp.benpfaff.org/~blp/pspp-master/20121125030503/
Now about about that custom tables module ;)
Thanks again,
Daniel
On Fri, Nov 23, 2012 at 8:19 PM, John Darrington
<address@hidden> wrote:
> I raised a bug about this. Thanks for reporting it.
>
> J'
>
> On Fri, Nov 23, 2012 at 09:54:23AM +1300, Daniel Harper wrote:
> Syntax with some dummy data ...
>
> DATA LIST TABLE /OUTCOME 1-4 (A) TYPE (F1).
>
> BEGIN DATA.
> Pass1
> Fail1
> Fail1
> Pass0
> Fail0
> Fail1
> Pass1
> Fail1
> Fail1
> Pass0
> Fail0
> Fail1
> Pass1
> Fail1
> Fail1
> Pass0
> Fail0
> Fail1
> Pass1
> Fail1
> Fail1
> Pass0
> Pass0
> Pass0
> Pass0
> Pass0
> Fail0
> Fail1
> END DATA.
>
> SET FORMAT F8.2.
>
> CROSSTAB
> /TABLE TYPE by OUTCOME
> /CELLS=ROW
> .
>
> Output is at 1 decimal place, not matter what I set as the Format type
> to ...
>
>
> Summary.
> #==============#===============================#
> # # Cases #
> # #----------+---------+----------#
> # # Valid | Missing | Total #
> # #--+-------+-+-------+--+-------#
> # # N|Percent|N|Percent| N|Percent#
> #--------------#--+-------+-+-------+--+-------#
> #TYPE * OUTCOME#28| 100.0%|0| 0.0%|28| 100.0%#
> #==============#==#=======#=#=======#==#=======#
>
> TYPE * OUTCOME [row %].
> #=====#===========#======#
> # # OUTCOME | #
> # #-----+-----+ #
> # TYPE# Fail| Pass| Total#
> #-----#-----+-----+------#
> # 0#33.3%|66.7%|100.0%#
> # 1#75.0%|25.0%|100.0%#
> #Total#57.1%|42.9%|100.0%#
> #=====#=====#=====#======#
>
> Thanks,
>
> Daniel
>
>
> On Thu, Nov 22, 2012 at 8:28 PM, John Darrington
> <address@hidden> wrote:
> > On Thu, Nov 22, 2012 at 12:28:33PM +1300, Daniel Harper wrote:
> > Apologies, this is in plain text.
> >
> > Not sure if I am doing something stupid but crosstabs does not
> honour
> > the set format F8.0 statement.
> >
> > No matter what format I specify the output is always in PCT9.1,
> ie 1
> > decimal place?
> >
> > PSPP version is 0.7.9. I have also tried a nightly snapshot,
> 0.7.9-gb6493c
> >
> > Could you post a short syntax demonstrating the problem?
> >
> > Thanks,
> >
> > John
> >
> > --
> > PGP Public key ID: 1024D/2DE827B3
> > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> > See http://keys.gnupg.net or any PGP keyserver for public key.
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iEYEARECAAYFAlCt1A4ACgkQimdxnC3oJ7OViACghP+SNYWZYvmIAMwTkaWZ8LDd
> > oUkAnjihUQ+VO0epcb1ioD1GoKR9sVQZ
> > =+2qM
> > -----END PGP SIGNATURE-----
> >
>
>
>
> --
> Cheers,
>
> Daniel
>
>
> --
> Cheers,
>
> Daniel
>
> _______________________________________________
> Pspp-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/pspp-users
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://keys.gnupg.net or any PGP keyserver for public key.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAlCvI4sACgkQimdxnC3oJ7NjHQCgissW2rTqgwi3iovrMLVXA/m7
> cD4An2wM+EwoMtktZNh3Ks29weGUJXLv
> =HE9r
> -----END PGP SIGNATURE-----
>
--
Cheers,
Daniel