Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XpiCi-0003CF-T2 for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Nov 2014 18:36:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XpiCh-00068h-To for pgsql-hackers@arkaria.postgresql.org; Sat, 15 Nov 2014 18:36:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XpiCf-00067H-HT for pgsql-hackers@postgresql.org; Sat, 15 Nov 2014 18:36:09 +0000 Received: from smtp-out2.gransy.com ([77.78.126.49]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XpiCU-0008RQ-Jw for pgsql-hackers@postgresql.org; Sat, 15 Nov 2014 18:36:07 +0000 Received: from smtp-out.gransy.com (localhost [127.0.0.1]) by smtp-out2.gransy.com (Postfix) with ESMTP id 5D69B3F0120 for ; Sat, 15 Nov 2014 19:35:59 +0100 (CET) Received: from smtp.gransy.com (smtp.simplia.cz [77.78.126.20]) by smtp-out2.gransy.com (Postfix) with ESMTP id EDFD23F0121 for ; Sat, 15 Nov 2014 19:35:58 +0100 (CET) Received: from [192.168.1.163] (ip-78-45-139-138.net.upcbroadband.cz [78.45.139.138]) (Authenticated sender: tv@fuzzy.cz) by smtp.gransy.com (Postfix) with ESMTPSA id 3860D19A0264 for ; Sat, 15 Nov 2014 19:35:51 +0100 (CET) Message-ID: <54679D09.3010203@fuzzy.cz> Date: Sat, 15 Nov 2014 19:35:53 +0100 From: Tomas Vondra User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: pgsql-hackers@postgresql.org Subject: Re: WIP: multivariate statistics / proof of concept References: <8106e11197849725375a933e1cc1409f.squirrel@2.emaily.eu> <747665527.663493.1416073781449.JavaMail.yahoo@jws100192.mail.ne1.yahoo.com> In-Reply-To: <747665527.663493.1416073781449.JavaMail.yahoo@jws100192.mail.ne1.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 15.11.2014 18:49, Kevin Grittner > If you eliminate the quals besides the zipcode column you get 61 > rows and it gets much stranger, with legal municipalities that are > completely surrounded by Madison that the postal service would > rather you didn't use in addressing your envelopes, but they have > to deliver to anyway, and organizations inside Madison receiving > enough mail to (literally) have their own zip code -- where the > postal service allows the organization name as a deliverable > "city". > > If you want to have your own fun with this data, you can download > it here: > > http://federalgovernmentzipcodes.us/free-zipcode-database.csv > ... > > I bet there are all sorts of correlation possibilities with, for > example, latitude and longitude and other variables. With 81831 > rows and so many correlations among the columns, it might be a > useful data set to test with. Thanks for the link. I've been looking for a good dataset with such data, and this one is by far the best one. The current version of the patch supports only data types passed by value (i.e. no varlena types - text, ), which means it's impossible to build multivariate stats on some of the interesting columns (state, city, ...). I guess it's time to start working on removing this limitation. Tomas -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers