Showing posts with label quality. Show all posts
Showing posts with label quality. Show all posts

January 31, 2014

Thoughts on Archival Quality Systems

Sometimes a bit of perspective can be had by considering a new viewpoint, and today I'm having a bit of that experience as I consider the process of repairing, refurbishing, or upgrading interactive installations for museums. The idea of a concrete archive of knowledge, trying to pass itself on to the future, is really interesting. As someone who does a lot with code and algorithms, and a fair amount with electronics and small carpentry, I can see an installation as a set of these parts, but it seems wrong - the real point is the preserving, explaining, and sharing knowledge. All of the technical and material aspects of the design need to be subordinate to this purpose.

There are two big challenges with installations: people, and time.

People are the whole point, but people are also really rough on things that are not their own. Particularly the young people who are still learning, and since they are still learning, are the usual target audience for museum installations. So there has to be a lot of both durability and maintainability in an installation piece.

Time is an essential trait for most museums: most have preserving knowledge as a significant part of their mission. Unlike an artifact, as time goes on, an installation is expected to change and stay current with the latest knowledge. Fortunately, it is not usually expected that they will do this without human intervention (Whew!), but this does mean that they need to be fully prepared for upgrades and replacing parts.

Funding is almost always fairly short term for installation development, so they should be cheap to maintain. Further, due to the vagaries of staffing in non-profits, they should not require any particularly esoteric skills to maintain. Assume that at some point in the future, some poor volunteer is going to be called on to determine if "the old can be set up or fixed for ." Part of your goal as the original designer should be to make this person successful, and thus perpetuate the knowledge that the installation represents.

In my next post, I plan to elaborate these thoughts into steps that are a bit more concrete. I hope to see from that if this point of view is particularly supportive of particular design methods, or if it has any surprises about what to emphasize.

July 26, 2010

Missing people in US phone surveys

It is true that people often like to denigrate statistics derived from survey data, but the reason that I hear most frequently - "But five thousand is less than 0.1% of 300 million!" - is not actually a significant source of error. The error to watch for more carefully is sampling bias.

For a long time, "random dialing" has been a great way to get a random sample that could include about 99% of the population (while the 1% without phones were generally considered to not need consideration for most purposes - everyone imagined jails and wilderness hermits in cabins). While incoming calls were free to telephone subscribers, and most of the population had phones, this was almost ideal. It wasn't actually sampling people, but households, since there was generally one phone per house. However, with this sampling frame it is possible to cleanly stratify by households size, and get back to estimating individuals fairly easily. At the beginning in the early 20th century, there was some problem with the number of households that had no telephone service, but as this shrank toward 1%, the error became negligible.

In the early 21st century, we now have a different problem: mobile phones often charge for incoming calls, so they are not allowed to be "random dialed", and more and more households are relying on them exclusively. How many? Well... I'll show you a picture.


You can clearly see a fairly dramatic age bias. It appears that 25 year-olds are at about 50% reachability by "random dialing", while other age groups may be as high as 90% reachable. Les obviously, that 50% has a pretty good chance at being correlated with other aspects of their lives. Anything that can be done? Maybe. At the very least, stratify your sample by age and use data like that in the above chart to correct for reachability by age group.

If you have another sampling technique available, you can try to use it to infer differences within an age group between with-house-phone and without-house-phone, and then adjust your results appropriately for that. If it's at all controversial though, brace yourself. Even though you should now have more valid results, the people who agree with the groups that were originally overrepresented will now direct very pointed charges at you of "lying with statistics." Even though all you actually did was "question with statistics to the best of your ability."

There are many biases that will be harder to find. The most usual one: the survey was planned by people who wanted to show "regular people" that is, the people like themselves. And a sampling plan was drawn up that seemed like a good way to meet "random" people. Often the same way they meet random people - where they met the people they now hang out with - people they generally are similar to and agree with. It's a very confirmatory feeling to have your survey agree with you, so people who have executed a survey this way may be a bit defensive if you suggest that it is perhaps just maybe a little tiny bit biased. Unfortunately, these surveys seem to be some of the most common ones in politics.
Sigh.

Update: The National Marine Fisheries Service is trialling a switch to postal surveys in light of the increasing problems with telephone surveys.

July 22, 2010

Parenting alone: the googlefight

From the realm of hard to interpret statistics based on easy to get data with unknowable biases:

From Google searching, with English language set:

"single mother"
3,030,000
"single father"
568,000
"single parent"
5,400,000


From"googlefight.com":

"single mother"
24,000,000
"single father"
12,800,000
"single parent"
3,670,000


Major news stories have been based on less than this. Easily accessible and reliable data is great, but when it's not, the easy should not replace the reliable. Check your data before taking it seriously.

The serious data, for the US, from the US Census Bureau (Jan, 2010 press release):

In 2009, 12 percent of the 1.7 million father-only family groups with children under 18 were maintained by an unemployed father, compared with 7 percent in 2007. Of the 9.9 million mother-only family groups, 10 percent were unemployed in 2009 compared with 6 percent in 2007.

Or reformatted, the 2009 Census data:

"single mother"
9,900,000
"single father"
1,700,000
sum,
single parents
11,600,000

And a lot of unemployment.

PS: The pattern in the unemployment numbers is recurring for US data. Women have greater unemployment than men when unemployment is low, and men have greater unemployment than women in times of high unemployment. All kinds of odd questions are suggested by this: Do women have more stable jobs? Is gender-correlated pay inequality causally related to apparent gender-correlated job security? And if so, which way? Would low pay cause secure work, or secure work cause low pay?

PPS: There's not any immediately obvious link on Googlefight to find out how they get with their numbers. Anyone know why it's so different from what I see "fresh from Google"?

June 4, 2010

Look at your data

Anscombe (1973)

Possibly one of the most famous sets of artificial data sets. And rightly so, if you're not familiar with "Anscombe's Quartet", follow the above link.

Now that we've had that graphic reminder to LOOK AT THE DATA, I'm going to skip the usual next step of writing about what to do, and instead refer you, kind reader, to the discussion of this data at the Princeton Office of Population Research. The discussion is located at this link.

And after you look at that link, please: look at your data.

April 16, 2010

Internationalization is also intranationalization

There are currently four big more-or-less homogeneous markets. By population: China, India, the EU, and the USA. With EU and Indian data, one is quickly aware of the need to detect language early in data processing. While I am not certain about the situation in China, the other "big market" gets certain assumptions made about it. This note covers a "gotcha" about the addresses.

When processing US addresses, you might be tempted to assume that there is a name - like "first" - and then maybe a type - like "street" or "avenue". If you have a DBA-like denormalization instinct, then you'll be tempted to peel off the street name to one field, and have a table of street types. In fact, this is automatic for a lot of address validation software.

And assuming that all the inputs are valid USPS deliverable addresses, you should get valid outputs right?

Let's momentarily ignore the "obvious" challenges ... PO Boxes... APO/FPO... highway contract, rural route... after all, the commercial software does this pretty well. For this example, we'll even cheat, and not really check for deviations from expected formatting. We can just glance at the first few ZIP codes. In 00677, we find one of the hosts of the Rincón International Film Festival at the very typical, for Rincón, PR:
Casa Isleña Inn & Tapas Bar
Barrio Puntas
Carr. Int. 413 km. 4.8
Rincón, PR 00677
Or the Starbucks, a very anglophile evironment:
1417-1425 Ave Ashford, San Juan 00907, Puerto Rico 
Note the word order. This is not on "Ashford Avenue", but on Avenue Ashford. A more local establishment would be:
Cafe con Leche, 1-9 Calle Bajada Matadero,
San Juan 00901, Puerto Rico
Make certain that your data parsing software can deal with all of these as well. "Calle de" as a street "name" has been the most common language difficulty for US address standardization that I have seen, with significantly fewer problems coming from other local language uses, like the "Rue" prefix in southern Louisiana, native names in tribal areas, and the use of Hawai'ian.

The take away is that even in the "homogeneous" market, a certain amount of "internationalization" is still needed, even if you somehow manage to totally avoid having any foreign data - hard if the internet is involved. In the US, the selection of an official longague is a power left to the states and territories, and last I knew, at least three included languages other than English. (Puerto Rico, New Mexico, and Hawai'i)

April 13, 2010

Quick Check: water surface temperature

The check: Daily average water surface temperature is usually well correlated with the lagging three day average of the daily maximum air temperature. This is robust enough that it can be used as the basis for an interpolation model, and outperforms a lag of the average air temperature.

Yes, this summary does skip a lot of analytical details: the tables of correlations between site observations for multiple sites, the various linear models fit and tested, and the analysis of the overlap of gaps in data. This method was found to be a particularly robust method, since daily high/low temperatures are frequently available from multiple sources at a research site. A perfect model for filling in missing data does not help if the data it needs is missing at the same time!

Supposition:
Both daytime temperature and water warming seem likely to covary with daytime insolation - a major source of heating.  Water cools off a lot by evaporative heat loss, which will drop when the air is cool. The air primarily cools off by radiative cooling, which also happens to water but perhaps not at the rate that evaporative cooling happens.

Aside:
I have measured clear blue sky with my little non-contact thermometer as being 4F (-14C) in mid-afternoon in Colorado on an 80F day. There's a lot of potential in radative cooling.