Hi there:
I'm trying to link two large data sets collected from two different
sources for epidemiological research. These two data sets share a few
common fields such as Social Insurance Number, Name (partically),
Gender, etc. Due to incompleteness or errors of some data records, I
guess we have to use probabilistic linkage to find matched records.
Is there any academic/commercial software available for probabilistic
linkage? Or some SQL programming will do it?
Any pointers would be greatly appreciated.
Amy 6 2960
Amy,
If you could define a probability function and a threshold, you could have a
query looking something like
Select .... from Table1, Table2 where ...
and YourFunction(Table1.field1, Table1.field2....,Table2,field1,
Table2.field2...) > .75
This is only a beginning, but it may help.
Gary
"Amy" <ww**@shaw.ca> wrote in message
news:6c**************************@posting.google.c om... Hi there:
I'm trying to link two large data sets collected from two different sources for epidemiological research. These two data sets share a few common fields such as Social Insurance Number, Name (partically), Gender, etc. Due to incompleteness or errors of some data records, I guess we have to use probabilistic linkage to find matched records.
Is there any academic/commercial software available for probabilistic linkage? Or some SQL programming will do it?
Any pointers would be greatly appreciated.
Amy
Amy,
You can use the "Like" keyword, the Left() or Right() functions, or the
InStr() function in the INNER JOIN clause of your SQL. The QBE builder will
be pretty much useless once you add them to the SQL, so you'll have to write
most of it by hand.
Example:
SELECT A.Field1, A.Field2, B.Field1....
FROM Table1 A INNER JOIN Table2 B
ON Left(A.Field1, 5) Like Left(B.Field1, 5)
SELECT A.Field1, A.Field2, B.Field1....
FROM Table1 A INNER JOIN Table2 B
ON InStr(A.Field1, Right(B.Field1,5))
"Amy" <ww**@shaw.ca> wrote in message
news:6c**************************@posting.google.c om... Hi there:
I'm trying to link two large data sets collected from two different sources for epidemiological research. These two data sets share a few common fields such as Social Insurance Number, Name (partically), Gender, etc. Due to incompleteness or errors of some data records, I guess we have to use probabilistic linkage to find matched records.
Is there any academic/commercial software available for probabilistic linkage? Or some SQL programming will do it?
Any pointers would be greatly appreciated.
Amy
Gary:
Can you offer any reference on how to estimate the likelihood ratio and
to decide the thresholds? I understand the background theory, but not
sure about practical solutions, i.e., what tools to use.
Thanks a lot!
Amy
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Hi DFS,
I've found it easier to read (via the query builder) if you put the ON
expression in the WHERE clause
eg.
Method A SELECT A.Field1, A.Field2, B.Field1.... FROM Table1 A INNER JOIN Table2 B ON Left(A.Field1, 5) Like Left(B.Field1, 5)
becomes
Method B
SELECT A.Field1, A.Field2, B.Field1....
FROM Table1 A, Table2 B
WHERE Left(A.Field1, 5) = Left(B.Field1, 5)
I've tried it both ways and the second method is far less painful as
the Access SQL window ain't much chop IMO (compared to say Query
Analyser or TOAD)...
Just my 2 cents worth on 'non standard' joins - ie not a simple FROM
tbl1 A INNER JOIN tbl2 B ON A.Field1 = B.Field1
Of course LEFT and RIGHT JOINS are more problematic and you'd have to
use method A I presume.
Peter
"DFS" <no****@nospam.com> wrote in message news:<10*************@corp.supernews.com>... Amy,
You can use the "Like" keyword, the Left() or Right() functions, or the InStr() function in the INNER JOIN clause of your SQL. The QBE builder will be pretty much useless once you add them to the SQL, so you'll have to write most of it by hand.
Example:
SELECT A.Field1, A.Field2, B.Field1.... FROM Table1 A INNER JOIN Table2 B ON Left(A.Field1, 5) Like Left(B.Field1, 5)
SELECT A.Field1, A.Field2, B.Field1.... FROM Table1 A INNER JOIN Table2 B ON InStr(A.Field1, Right(B.Field1,5))
Amy wrote: Hi there:
I'm trying to link two large data sets collected from two different sources for epidemiological research. These two data sets share a few common fields such as Social Insurance Number, Name (partically), Gender, etc. Due to incompleteness or errors of some data records, I guess we have to use probabilistic linkage to find matched records.
Is there any academic/commercial software available for probabilistic linkage? Or some SQL programming will do it?
Any pointers would be greatly appreciated.
Amy
Hi Amy
You may find some useful pointers at http://datamining.anu.edu.au/project...ality_software
Cheers This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: qazmlp |
last post by:
const has internal linkage in C++, but external linkage in C.
Am I right ?
But, linker reports multiply-defined error if the
following header is included in multiple .cpp files.
//...
|
by: Richard Hayden |
last post by:
Hi,
I have the following code:
/******************************** file1.c
#include <iostream>
extern void dummy();
inline int testfunc() {
|
by: Grumble |
last post by:
Hello everyone,
As far as I understand, the 'inline' keyword is a hint for the compiler
to consider the function in question as a candidate for inlining, yes?
What happens when a function with...
|
by: Mark A. Gibbs |
last post by:
I have a question about mixing C and C++.
In a C++ translation unit, I want to define a function with internal
linkage and C calling convention. Here's a sample of what I want to do:
//...
|
by: pembed2003 |
last post by:
Hi all,
I am reading the book "C How to Program" and in the chapter where it
discuss scope rule, it says there are four scopes for a variable:
function scope
file scope
block scope...
|
by: al.cpwn |
last post by:
do static and inline functions or members have internal linkage? I have
been reading this newsgroup on google and found conflicting ideas. Can
someone please help me understand why in some places...
|
by: MLH |
last post by:
When the vehicle entry form (frmVehicleEntryForm) first opens, the
additional owner SubForm control (frmAddnlOwnrListSubForm) is
enabled. You can click on it and it will accept the focus. But after...
|
by: fctk |
last post by:
source: http://rm-f.net/~orange/devel/specifications/c89-draft.html#3.1.2.2
there are two passages in this paragraph i can't fully understand:
1) "If the declaration of an identifier for an...
|
by: Taras_96 |
last post by:
Hi everyone,
AFAIK external linkage allows you to refer to variables/functions
outside of the current translation unit. A variable in an unnamed
namespace is similar to declaring a static...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |