pspp-users
[Top][All Lists]
Advanced

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

Re: About Multiple response variables...


From: Alan Mead
Subject: Re: About Multiple response variables...
Date: Mon, 21 Oct 2019 10:37:19 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

I think this message should be on the dev list, whom I've cc'd (but if
you're not on it, you won't see the replies to that list).

I don't use MR sets, so my understanding is slight. I think PSPP does
not (did not in the past) support that syntax. I see below that there is
at least support in reading SAV files.

And I don't know "MDD Writer" but if PSPP is not reading SAV files
correctly, I think that's something Ben Pfaff would be interested in
knowing. If it comes down to the lack of support for MR sets in PSPP,
then obviously a fix would depend on adding that support. But it seems
like PSPP should read the metadata.  AFAIK, the code Ben wrote to parse
SAV files is widely used (e.g., in R to read spss ddatasets).

If you have datasets that don't read correctly by pspp and they are not
super confidential, I'd try converting them here: 
https://pspp.benpfaff.org/

If that fails, Ben can access the file and investigate when he has time.
That service also gets improvements that Ben is working on but which
haven't made it into PSPP.

Finally, I'm sure a patch would be welcome. The source is here:
http://git.savannah.gnu.org/cgit/pspp.git or here: 
http://gnu.spinellicreations.com/pspp/

Ben's the expert, but it looks to me like there's support for MR sets in
this file: pspp-1.2.0/src/data/sys-file-reader.c :

$ grep -n mrset sys-file-reader.c
39:#include "data/mrset.h"
146:struct sfm_mrset
150:    enum mrset_type type;       /* Group type. */
155:    enum mrset_md_cat_source cat_source; /* Source of category
labels. */
186:    struct sfm_mrset *mrsets;
[about 65 lines omitted]
1923:      dict_add_mrset (dict, mrset);

-Alan

On 10/21/2019 9:33 AM, Dave Trollope wrote:
> Can you expand on the known issues with MR sets in PSPP?
>
> We’ve been parsing SAV files and generating the metadata from them with the 
> MDD Writer patch and recently noticed some variables not were not being 
> included in the MR set. If there is a list of known issues with MR set 
> support in parsing, I’d love to read through.
>
> If someone can point me at the point in the code that parses MR sets also, 
> I’d be happy to take a closer look.
>
> Cheers
> Dave
> _______________________________________________
> Pspp-users mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/pspp-users

-- 

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

science + technology = better workers

http://www.alanmead.org

"You're an interesting species. An interesting mix. 
You're capable of such beautiful dreams, and such 
horrible nightmares. You feel so lost, so cut off, 
so alone, only you're not. See, in all our 
searching, the only thing we've found that makes 
the emptiness bearable, is each other."

-- Carl Sagan, Contact



reply via email to

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