pspp-dev
[Top][All Lists]
Advanced

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

Re: Cluster membership in SPSS


From: Alan Mead
Subject: Re: Cluster membership in SPSS
Date: Mon, 27 Jul 2015 23:13:52 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Attached is a patch to 0.8.5 quick-cluster.c to support the
/PRINT=CLUSTER subcommand that identifies the cluster membership of each
case in the analysis.  I also included test syntax, data, and output.

John has suggested some stylistic changes that are included in this
patch, but three last three suggestions are not in this patch:

> I think this patch could be checked in if we also do the following:
>
>
> 1.  Add the necessary changes to doc/statistics.texi documenting the
>    /PRINT subcommand.
>
> 2.  Add a test to tests/language/stats/quick-cluster.at which exercises
>    the /PRINT subcommand.
>
> 3. We should omit the syntax parsing code for the /SAVE command, because
>    it doesn't do anything yet.

In addition, I've been looking over the regression.c code to see how it
implements /SAVE but I'm not sure I can replicate it in the cluster code.

-Alan



On 7/27/2015 10:07 PM, Ben Pfaff wrote:
> On Tue, Jul 28, 2015 at 04:47:51AM +0200, John Darrington wrote:
>> On Mon, Jul 27, 2015 at 12:11:19PM -0500, Alan Mead wrote:
>>      
>>      In the attached files, the .patch is the patch for 
>>      pspp-0.8.5/src/language/stats/quick-cluster.c (let me know if it's done
>>      incorrectly)
>>
>> It looks good to me.  Just some minor quibbles about style:
> It seems that I didn't receive the patch, and it doesn't seem to be in
> the mailing list archive.  Alan, perhaps you should re-send it?

-- 

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

Attachment: cluster-membership.patch
Description: Text document

Attachment: qc.sps
Description: application/spss-sps

Attachment: qc1.data
Description: Text document

Attachment: test3.pdf
Description: Adobe PDF document


reply via email to

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