The vector variable is described in the manual on p.109.

On 10/01/2015 14:10, Matthias Faeth wrote:
Hi Frans

great piece of code, that makes life easier.

I was not aware that PSPP supports advanced features like vector, which I have heard of bit never used before.

Thanks
Matthias

Matthias Fäth
Im Mediapark 12
50670 Köln
t: 0221-2907973
m: 0171-9832175
e: m.fa...@gmx.de <mailto:m.fa...@gmx.de>

2015-01-09 21:21 GMT+01:00 Frans Houweling <fhouwel...@email.it <mailto:fhouwel...@email.it>>:

    Hi Matthias,
      I use good ol' (SPSS 14) TABLES, so I don't usually save MRSETS
    but define them on the fly with /MRGROUP; I guess CTABLES give
    similar results.
    Often I prefer to translate my MR variables to MD format like this
    (suppose codes with max code 100,  and suppose max 10 answers):

    VECTOR bin (100)  /* max code */.
    DO REPEAT mr = mr1 TO mr10  /* input vars */.
    + DO IF NOT MISSING(mr).
    +  COMPUTE bin(mr) = 1.
    + END IF.
    END REPEAT.
    RECODE bin1 TO bin100 /* max code again */  (SYSMIS=0) (1=1)    /*
    or for readability (1=100) */.

    The tedious part is converting VAL LAB 1 "Alfa Romeo" 2 "Audi"
    etc. into VAR LAB bin1 "Alfa Romeo" /bin2 "Audi" etc., but once
    this is done you can use MEANS or DESCRIPTIVES in combination with
    SPLIT FILE to live without (C)TABLES and without SPSS(C).
    HTH
    frans




    On 08/01/2015 21:44, Matthias Faeth wrote:
    Yes I could use count, but the problem with open questions is
    that I usually have a codeplan with up to 100 codes. That makes
    it tedious to use your solution. And it would not produce 1
    comprehensive table.



    Matthias Fäth
    Im Mediapark 12
    50670 Köln
    t: 0221-2907973 <tel:0221-2907973>
    m: 0171-9832175 <tel:0171-9832175>
    e: m.fa...@gmx.de <mailto:m.fa...@gmx.de>

    2015-01-08 19:16 GMT+01:00 Alan Mead <ame...@alanmead.org
    <mailto:ame...@alanmead.org>>:

        FWIW, I don't understand your example and I tried to run your
        example, but my license of SPSS does not include CTABLES.

        If you wanted to know how many 1's in variables 83 to 84, you
        could use these two lines:

        count NUMLIKES = var82 to var84 (1).
        FREQ/ NUMLIKES.

        And I suspect that you could do a crosstabs with NUMLIKES and
        get the same kind of information as CTABLES.

        -Alan


        On 1/8/2015 11:31 AM, Matthias Faeth wrote:
        Well I use MRSETS usually for open questions. Here the issue
        is, that each code can be on any variable in the set in
        arbitrary order.

        e.g. "Likes" get 3 possible variables var82 var83 var84.
        Case A: 1 2 3
        Case B: 4 1 5
        Case C: 5 6 1

        I define the Mult Response Group:
        MRSETS
        /mcgroup name=$Likes VARIABLES =var82 var83 var84.

        And make a table which would tell me that 1 is in every case
        (for each pack which is here var80)
        CTABLES
          /VLABELS VARIABLES=$likes DISPLAY=none
          /table $likes by var80
          /CATEGORIES VARIABLES=$likes totals=yes EMPTY=EXCLUDE
          /TITLES TITLE = 'Likes Pack'
        .

        As far as I know, PSPP does not support this.


        Matthias Fäth
        Im Mediapark 12
        50670 Köln
        t: 0221-2907973 <tel:0221-2907973>
        m: 0171-9832175 <tel:0171-9832175>
        e: m.fa...@gmx.de <mailto:m.fa...@gmx.de>

        2015-01-08 17:21 GMT+01:00 Alan Mead <ame...@alanmead.org
        <mailto:ame...@alanmead.org>>:

            I've used SPSS to analyze multiple response data for
years (decades, actually) but never used MULT RESPONSE. I was curious what I was missing, so I watched this
            video: https://www.youtube.com/watch?v=-toBCDscCwQ and
            I'm still a bit confused. You get the same data by
            running frequencies on the four variables independently,
            right?

            If each response is optional, then one thing that is a
            bit of a PITA is detecting non-response, but that's not
            a big deal.  For example, if the four possible responses
            to Q12 are encoded 1/0 in Q12A, Q12B, Q12C, and Q12D,
            then you can do this:

            count Q12MISS = Q12A A12B Q12C Q12D (1).
            execute.

            Everyone with Q12MISS=0 didn't respond to the question.
            For some questions, this is more important than
            individual responses (other times not).

            I'm not arguing against including it in PSPP, I'm just
            curious why it's an issue because it seems like it's
            really, really easy to get along without.  What am I
            missing?

            BTW, there is another issue of multiple responses that
            DOESN'T work this way. When you have a test question
            labeled "Mark all that apply" and if your scoring is all
            or nothing then it's actually easier to handle this as a
            string.  If they marked A, B and E on Q12, you encode
            their response as 'ABE'.  Later you score it:  "recode
            Q12 ('ABC'=1) (else=0) into Q12.Scored."  If you're
            going to give partial credit for individual responses,
            it's usually easier to enter the individual responses as
            independent variables, but you could create them using
            string functions.  So, again, SPSS without MULT RESPONSE
            seems perfectly adequate and MULT RESPONSE doesn't
            actually handle all multiple-responses situations.

            -Alan


            On 1/8/2015 8:22 AM, Matthias Faeth wrote:
            I would support that. Multi Response is the one
            procedure that lets me stick to SPSS. I'm not a
            progammer but would help with testing and comparing.

            Matthias Fäth
            Im Mediapark 12
            50670 Köln
            t: 0221-2907973 <tel:0221-2907973>
            m: 0171-9832175 <tel:0171-9832175>
            e: m.fa...@gmx.de <mailto:m.fa...@gmx.de>

            2015-01-08 14:36 GMT+01:00 news <news....@free.fr
            <mailto:news....@free.fr>>:



                On 08/01/2015 06:54, Ben Pfaff wrote:

                    On Wed, Jan 07, 2015 at 12:32:26AM +0100, F.
                    Thomas wrote:

                        I found the MRSETS command which allows to
                        analyse multiple reponse
                        questions;
                        But the MULT RESPONSE command has not yet
                        been implemented, according to the
                        manual.
                        So how to analyse mult response questions ?
                        What can you do with MRSETS when
                        you have no Mult response frequencies or
                        tables ?


                    There is no such functionality yet.  MRSETS is
                    implemented to allow the
                    .sav file format to be more completely
                    supported, but multiple response
                    sets are not otherwise useful.


                This is a pity. The multiple response format is a
                widely used in survey research and few stats
                programs have a proc to analyse them.

                Having this opportunity in PSPP would strongly
                increase its usefulness for a wider audience.


                        And what does the cryptic sentence mean
                        (manual p.113)
                        Otherwise, multiple response sets are
                        currently used only by third party
                        software.
                        Could you please be more specific ? Which
                        third party software do you mean ?


                    Software other than PSPP.


                This was already evident to me. But which one ? SPSS ?


                _______________________________________________
                Pspp-users mailing list
                Pspp-users@gnu.org <mailto:Pspp-users@gnu.org>
                https://lists.gnu.org/mailman/listinfo/pspp-users




            _______________________________________________
            Pspp-users mailing list
            Pspp-users@gnu.org  <mailto:Pspp-users@gnu.org>
            https://lists.gnu.org/mailman/listinfo/pspp-users

--
            Alan D. Mead, Ph.D.
            President, Talent Algorithms Inc.

            science + technology = better workers

            +815.588.3846 (Office)
            +267.334.4143 (Mobile)

            http://www.alanmead.org

            Announcing the Journal of Computerized Adaptive Testing (JCAT), a
            peer-reviewed electronic journal designed to advance the science and
            practice of computerized adaptive testing:http://www.iacat.org/jcat



--
        Alan D. Mead, Ph.D.
        President, Talent Algorithms Inc.

        science + technology = better workers

        +815.588.3846 (Office)
        +267.334.4143 (Mobile)

        http://www.alanmead.org

        Announcing the Journal of Computerized Adaptive Testing (JCAT), a
        peer-reviewed electronic journal designed to advance the science and
        practice of computerized adaptive testing:http://www.iacat.org/jcat




    _______________________________________________
    Pspp-users mailing list
    Pspp-users@gnu.org  <mailto:Pspp-users@gnu.org>
    https://lists.gnu.org/mailman/listinfo/pspp-users


    _______________________________________________
    Pspp-users mailing list
    Pspp-users@gnu.org <mailto:Pspp-users@gnu.org>
    https://lists.gnu.org/mailman/listinfo/pspp-users




_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to