Skip to content

Commit

Permalink
R results of new 2012 variables
Browse files Browse the repository at this point in the history
See #3 & #4
  • Loading branch information
wibeasley committed Jan 4, 2018
1 parent e848104 commit e1348c6
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 53 deletions.
2 changes: 1 addition & 1 deletion LinksGui/Gui79.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private void btnUpdateAllTables_Click ( object sender, RoutedEventArgs e ) {
BulkUpdate(schemaName, _dsLinks.tblMarkerGen2, LoadMarkerGen2);
BulkUpdate(schemaName, _dsLinks.tblRelatedValues, LoadRelatedValues);
BulkUpdate(schemaName, _dsLinks.tblOutcome, LoadOutcomes);
BulkUpdate(schemaName, _dsLinks.tblRelatedValuesArchive, null);
BulkUpdate("Archive", _dsLinks.tblRelatedValuesArchive, null);

sw.Stop();
//string message = string.Format("The follow records were affected for each table ({0} Elapsed):\n{1:N0} tblSubject\n{2:N0} tblResponse", sw.Elapsed.ToString(), -999, -999);
Expand Down
Binary file modified analysis/archive-comparison/archive-comparison.pdf
Binary file not shown.
233 changes: 181 additions & 52 deletions analysis/archive-comparison/archive-comparison.tex
Original file line number Diff line number Diff line change
Expand Up @@ -86,26 +86,26 @@
\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
\begin{verbatim}
## Time difference of 0.4893291 secs
## [1] 22176
## Time difference of 0.692462 secs
## [1] 27504
\end{verbatim}
\end{kframe}
\end{knitrout}



% \textbf{RelationshipPaths Considered}: includedRelationshipPaths;\\
\textbf{Newer Links Version}: 85;
\textbf{Older Links Version}: 84;
\textbf{Newer Links Version}: 86;
\textbf{Older Links Version}: 85;




\begin{knitrout}
\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
\begin{verbatim}
Newer Links: R excludes 0, .0625, .125 (as well as .375 & .75)
Older Links: Adds Gen1 back
Newer Links: Add 2012 variables
Older Links: R excludes 0, .0625, .125 (as well as .375 & .75)
\end{verbatim}
\end{kframe}
\end{knitrout}
Expand All @@ -122,22 +122,30 @@
\end{figure}

% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:42:50 2018
% Thu Jan 04 10:57:03 2018
\begin{table}[ht]
\centering
\begingroup\large
\begin{tabular}{lrrrrr}
\hline
R & Implicit2004 & Implicit & Roster & Explicit & Eventual \\
\hline
- & 0 & 0 & 0 & 0 & 0 \\
0 & - & 192 & 478 & 41 & 557 \\
0.0625 & - & - & - & 2 & 45 \\
0.125 & 76 & - & 96 & - & 96 \\
0.25 & 43 & 180 & - & 273 & 297 \\
0.375 & 310 & - & - & 37 & 15 \\
0.5 & 1877 & 3515 & - & 3598 & 4006 \\
0.75 & 32 & - & - & - & 11 \\
1 & - & - & - & - & 11 \\
- & 2964 & 1415 & 4728 & 1351 & 264 \\
\hline
\end{tabular}
\endgroup
\caption{Counts for Gen1Housemates}
\end{table}
% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:42:51 2018
% Thu Jan 04 10:57:03 2018
\begin{table}[ht]
\centering
\begingroup\large
Expand All @@ -152,27 +160,27 @@
\caption{Counts for Gen1Housemates (Previous version of links)}
\end{table}
% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:42:51 2018
% Thu Jan 04 10:57:03 2018
\begin{table}[ht]
\centering
\begingroup\large
\begin{tabular}{lrrrr}
\hline
R & Implicit2004 & Implicit & Explicit & Eventual \\
\hline
0.25 & 2221 & 3012 & 2975 & 3442 \\
0.375 & 2663 & - & 244 & 610 \\
0.5 & 5778 & 6731 & 5599 & 6997 \\
0.75 & - & 12 & - & 12 \\
1 & 36 & 27 & 22 & 27 \\
- & 390 & 1306 & 2248 & 0 \\
0.25 & 2221 & 3013 & 3003 & 3448 \\
0.375 & 2663 & - & 267 & 631 \\
0.5 & 5778 & 6732 & 5716 & 6995 \\
0.75 & - & 13 & - & 13 \\
1 & 36 & 27 & 23 & 27 \\
- & 416 & 1329 & 2105 & 0 \\
\hline
\end{tabular}
\endgroup
\caption{Counts for Gen2Siblings}
\end{table}
% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:42:51 2018
% Thu Jan 04 10:57:04 2018
\begin{table}[ht]
\centering
\begingroup\large
Expand All @@ -194,66 +202,187 @@


% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:42:51 2018
% Thu Jan 04 10:57:04 2018
\begin{table}[ht]
\centering
\begin{tabular}{rrrrrr}
\hline
Count & RImplicit2004 & RImplicit & RExplicit & RRoster & Delta \\
\rowcolor{goodColor} \hline
1444 & 0.500 & 0.500 & 0.500 & - & 1444 \\
\rowcolor{goodColor} 1238 & - & 0.500 & 0.500 & - & 1238 \\
\rowcolor{sosoColor} 501 & - & - & 0.500 & - & 501 \\
\rowcolor{nullColor} 244 & - & - & - & - & 244 \\
206 & 0.500 & 0.500 & - & - & 206 \\
206 & - & 0.500 & - & - & 206 \\
\rowcolor{sosoColor} 177 & 0.375 & - & 0.500 & - & 177 \\
\rowcolor{sosoColor} 148 & - & - & 0.250 & - & 148 \\
120 & - & 0.500 & - & 0.000 & 120 \\
\rowcolor{nullColor} 99 & - & - & - & 0.000 & 99 \\
76 & - & 0.000 & - & 0.000 & 76 \\
72 & 0.500 & 0.500 & - & 0.000 & 72 \\
\rowcolor{badColor} 59 & - & 0.500 & 0.250 & - & 59 \\
\rowcolor{badColor} 50 & - & 0.250 & 0.500 & - & 50 \\
\rowcolor{nullColor} 41 & 0.375 & - & - & - & 41 \\
\rowcolor{goodColor} 39 & 0.375 & 0.500 & 0.500 & - & 39 \\
32 & - & 0.000 & - & - & 32 \\
32 & - & 0.250 & - & 0.000 & 32 \\
\rowcolor{badColor} 31 & 0.500 & 0.250 & 0.500 & - & 31 \\
\rowcolor{sosoColor} 27 & 0.500 & - & 0.500 & - & 27 \\
22 & 0.125 & 0.500 & - & 0.125 & 22 \\
\rowcolor{nullColor} 19 & 0.125 & - & - & 0.125 & 19 \\
\rowcolor{badColor} 18 & 0.500 & 0.500 & 0.250 & - & 18 \\
\rowcolor{sosoColor} 18 & - & - & 0.000 & - & 18 \\
\rowcolor{sosoColor} 17 & 0.375 & - & 0.250 & - & 17 \\
17 & - & 0.250 & - & - & 17 \\
16 & 0.500 & 0.000 & - & 0.000 & 16 \\
\rowcolor{nullColor} 15 & 0.500 & - & - & - & 15 \\
\rowcolor{sosoColor} 15 & - & - & 0.375 & - & 15 \\
14 & 0.500 & 0.250 & - & 0.000 & 14 \\
\rowcolor{badColor} 14 & - & 0.000 & 0.500 & - & 14 \\
\rowcolor{goodColor} 14 & - & 0.250 & 0.250 & - & 14 \\
\rowcolor{sosoColor} 13 & 0.250 & - & 0.500 & - & 13 \\
\rowcolor{goodColor} 12 & 0.750 & 0.500 & 0.500 & - & 12 \\
11 & - & 0.500 & 0.375 & - & 11 \\
11 & - & 0.500 & - & 0.125 & 11 \\
\rowcolor{sosoColor} 10 & 0.125 & - & 0.500 & - & 10 \\
\rowcolor{badColor} 10 & 0.500 & 0.000 & 0.500 & - & 10 \\
\rowcolor{nullColor} 10 & - & - & - & 0.125 & 10 \\
9 & - & 0.000 & - & 0.125 & 9 \\
\rowcolor{badColor} 9 & - & 0.500 & 0.000 & - & 9 \\
\rowcolor{nullColor} 8 & 0.250 & - & - & 0.000 & 8 \\
7 & 0.125 & 0.250 & - & 0.125 & 7 \\
\rowcolor{goodColor} 7 & 0.250 & 0.500 & 0.500 & - & 7 \\
\rowcolor{nullColor} 7 & 0.250 & - & - & - & 7 \\
\rowcolor{sosoColor} 7 & 0.750 & - & 0.500 & - & 7 \\
6 & 0.500 & 0.250 & - & - & 6 \\
\rowcolor{badColor} 5 & 0.375 & 0.000 & 0.500 & - & 5 \\
\rowcolor{nullColor} 5 & 0.375 & - & - & 0.000 & 5 \\
5 & 0.500 & 0.500 & 0.375 & - & 5 \\
\rowcolor{nullColor} 5 & 0.750 & - & - & - & 5 \\
\rowcolor{badColor} 5 & - & 0.000 & 0.250 & - & 5 \\
\rowcolor{goodColor} 4 & 0.125 & 0.500 & 0.500 & - & 4 \\
4 & 0.375 & 0.000 & - & 0.000 & 4 \\
4 & 0.375 & 0.500 & - & 0.000 & 4 \\
4 & 0.375 & 0.500 & - & - & 4 \\
\rowcolor{sosoColor} 4 & 0.375 & - & 0.375 & - & 4 \\
4 & 0.500 & 0.000 & - & - & 4 \\
4 & - & 0.250 & - & 0.125 & 4 \\
\rowcolor{nullColor} 3 & 0.125 & - & - & 0.000 & 3 \\
\rowcolor{nullColor} 3 & 0.125 & - & - & - & 3 \\
\rowcolor{goodColor} 3 & - & 0.000 & 0.000 & - & 3 \\
\rowcolor{badColor} 3 & - & 0.500 & 0.250 & 0.000 & 3 \\
\rowcolor{badColor} 2 & 0.125 & 0.500 & 0.000 & - & 2 \\
2 & 0.250 & 0.500 & - & 0.000 & 2 \\
\rowcolor{sosoColor} 2 & 0.250 & - & 0.250 & - & 2 \\
2 & 0.375 & 0.000 & - & 0.125 & 2 \\
2 & 0.375 & 0.000 & - & - & 2 \\
\rowcolor{nullColor} 2 & 0.375 & - & - & 0.125 & 2 \\
\rowcolor{badColor} 2 & 0.500 & 0.500 & 0.000 & - & 2 \\
2 & 0.750 & 0.500 & - & - & 2 \\
\rowcolor{nullColor} 2 & 0.750 & - & - & 0.000 & 2 \\
\rowcolor{badColor} 2 & - & 0.000 & 0.500 & 0.000 & 2 \\
\rowcolor{badColor} 2 & - & 0.500 & 0.000 & 0.000 & 2 \\
\rowcolor{badColor} 2 & - & 0.500 & 0.000 & 0.125 & 2 \\
\rowcolor{sosoColor} 2 & - & - & 0.250 & 0.000 & 2 \\
\rowcolor{sosoColor} 2 & - & - & 0.500 & 0.000 & 2 \\
1 & 0.125 & 0.000 & - & 0.125 & 1 \\
1 & 0.125 & 0.000 & - & - & 1 \\
\rowcolor{badColor} 1 & 0.125 & 0.500 & 0.000 & 0.125 & 1 \\
\rowcolor{sosoColor} 1 & 0.125 & - & 0.000 & - & 1 \\
\rowcolor{sosoColor} 1 & 0.125 & - & 0.250 & - & 1 \\
\rowcolor{sosoColor} 1 & 0.125 & - & 0.500 & 0.125 & 1 \\
1 & 0.250 & 0.000 & - & 0.000 & 1 \\
1 & 0.250 & 0.000 & - & - & 1 \\
1 & 0.250 & 0.500 & - & - & 1 \\
\rowcolor{nullColor} 1 & 0.250 & - & - & 0.125 & 1 \\
\rowcolor{goodColor} 1 & 0.375 & 0.000 & 0.000 & 0.000 & 1 \\
\rowcolor{goodColor} 1 & 0.375 & 0.250 & 0.250 & - & 1 \\
1 & 0.375 & 0.250 & - & - & 1 \\
\rowcolor{goodColor} 1 & 0.375 & 0.500 & 0.500 & 0.000 & 1 \\
1 & 0.500 & 0.250 & - & 0.125 & 1 \\
\rowcolor{badColor} 1 & 0.500 & 0.500 & 0.062 & - & 1 \\
\rowcolor{goodColor} 1 & 0.500 & 0.500 & 0.500 & 0.000 & 1 \\
1 & 0.500 & 0.500 & - & 0.125 & 1 \\
\rowcolor{sosoColor} 1 & 0.500 & - & 0.250 & - & 1 \\
\rowcolor{sosoColor} 1 & 0.500 & - & 0.375 & - & 1 \\
\rowcolor{nullColor} 1 & 0.500 & - & - & 0.000 & 1 \\
1 & 0.750 & 0.000 & - & 0.000 & 1 \\
1 & 0.750 & 0.000 & - & - & 1 \\
1 & 0.750 & 0.250 & - & 0.000 & 1 \\
1 & 0.750 & 0.500 & - & 0.000 & 1 \\
\rowcolor{badColor} 1 & - & 0.000 & 0.375 & - & 1 \\
\rowcolor{goodColor} 1 & - & 0.250 & 0.250 & 0.000 & 1 \\
\rowcolor{badColor} 1 & - & 0.500 & 0.250 & 0.125 & 1 \\
\rowcolor{goodColor} 1 & - & 0.500 & 0.500 & 0.000 & 1 \\
\rowcolor{sosoColor} 1 & - & - & 0.062 & - & 1 \\
\rowcolor{sosoColor} 1 & - & - & 0.500 & 0.125 & 1 \\
\hline
\end{tabular}
\caption{Counts for Gen1Housemates}
\end{table}
% latex table generated in R 3.4.3 by xtable 1.8-2 package
% Thu Jan 04 10:57:04 2018
\begin{table}[ht]
\centering
\begin{tabular}{rrrrrr}
\hline
Count & RImplicit2004 & RImplicit & RExplicit & RRoster & Delta \\
\rowcolor{goodColor} \hline
4406 & 0.500 & 0.500 & 0.500 & - & 0 \\
\rowcolor{goodColor} 1599 & 0.250 & 0.250 & 0.250 & - & 0 \\
1095 & 0.500 & 0.500 & - & - & 0 \\
\rowcolor{goodColor} 534 & 0.375 & 0.500 & 0.500 & - & 0 \\
\rowcolor{goodColor} 532 & 0.375 & 0.250 & 0.250 & - & 0 \\
\rowcolor{nullColor} 478 & 0.375 & - & - & - & 0 \\
\rowcolor{sosoColor} 369 & 0.375 & - & 0.250 & - & 0 \\
\rowcolor{sosoColor} 257 & 0.375 & - & 0.500 & - & 0 \\
208 & 0.250 & 0.250 & - & - & 0 \\
169 & 0.375 & 0.500 & - & - & 0 \\
121 & 0.375 & 0.250 & - & - & 0 \\
\rowcolor{goodColor} 119 & - & 0.500 & 0.500 & - & 0 \\
4512 & 0.500 & 0.500 & 0.500 & - & 106 \\
\rowcolor{goodColor} 1607 & 0.250 & 0.250 & 0.250 & - & 8 \\
991 & 0.500 & 0.500 & - & - & -104 \\
\rowcolor{goodColor} 538 & 0.375 & 0.250 & 0.250 & - & 6 \\
\rowcolor{goodColor} 537 & 0.375 & 0.500 & 0.500 & - & 3 \\
\rowcolor{nullColor} 469 & 0.375 & - & - & - & -9 \\
\rowcolor{sosoColor} 378 & 0.375 & - & 0.250 & - & 9 \\
\rowcolor{sosoColor} 255 & 0.375 & - & 0.500 & - & -2 \\
195 & 0.250 & 0.250 & - & - & -13 \\
166 & 0.375 & 0.500 & - & - & -3 \\
\rowcolor{goodColor} 140 & - & 0.500 & 0.500 & - & 21 \\
111 & 0.375 & 0.250 & - & - & -10 \\
\rowcolor{goodColor} 109 & 0.500 & 0.250 & 0.250 & - & 0 \\
\rowcolor{goodColor} 98 & - & 0.250 & 0.250 & - & 0 \\
91 & 0.250 & 0.250 & 0.375 & - & 0 \\
\rowcolor{badColor} 86 & 0.250 & 0.250 & 0.500 & - & 0 \\
101 & 0.250 & 0.250 & 0.375 & - & 10 \\
\rowcolor{goodColor} 100 & - & 0.250 & 0.250 & - & 2 \\
\rowcolor{badColor} 81 & 0.250 & 0.250 & 0.500 & - & -5 \\
\rowcolor{badColor} 77 & 0.375 & 0.250 & 0.500 & - & 0 \\
\rowcolor{badColor} 75 & 0.500 & 0.500 & 0.250 & - & 0 \\
75 & - & 0.500 & - & - & 0 \\
\rowcolor{goodColor} 73 & 0.250 & 0.500 & 0.500 & - & 0 \\
\rowcolor{sosoColor} 66 & 0.250 & - & 0.250 & - & 0 \\
\rowcolor{badColor} 72 & 0.500 & 0.500 & 0.250 & - & -3 \\
\rowcolor{sosoColor} 67 & 0.250 & - & 0.250 & - & 1 \\
54 & - & 0.500 & - & - & -21 \\
\rowcolor{nullColor} 51 & - & - & - & - & 22 \\
\rowcolor{badColor} 50 & 0.375 & 0.500 & 0.250 & - & 0 \\
\rowcolor{badColor} 41 & 0.250 & 0.500 & 0.250 & - & 0 \\
41 & 0.500 & 0.500 & 0.375 & - & 0 \\
\rowcolor{sosoColor} 30 & 0.375 & - & 0.375 & - & 0 \\
\rowcolor{sosoColor} 29 & - & - & 0.250 & - & 0 \\
\rowcolor{nullColor} 29 & - & - & - & - & 0 \\
23 & 0.375 & 0.250 & 0.375 & - & 0 \\
\rowcolor{badColor} 44 & 0.250 & 0.500 & 0.250 & - & 3 \\
42 & 0.500 & 0.500 & 0.375 & - & 1 \\
\rowcolor{sosoColor} 32 & 0.375 & - & 0.375 & - & 2 \\
\rowcolor{sosoColor} 30 & - & - & 0.250 & - & 1 \\
27 & 0.375 & 0.250 & 0.375 & - & 4 \\
23 & 0.375 & 0.500 & 0.375 & - & 0 \\
\rowcolor{goodColor} 21 & 1.000 & 1.000 & 1.000 & - & 0 \\
\rowcolor{badColor} 18 & 0.500 & 0.250 & 0.500 & - & 0 \\
\rowcolor{goodColor} 22 & 1.000 & 1.000 & 1.000 & - & 1 \\
19 & 0.500 & 0.250 & 0.375 & - & 4 \\
\rowcolor{sosoColor} 17 & 0.250 & - & 0.500 & - & 0 \\
17 & - & 0.250 & - & - & 0 \\
15 & 0.500 & 0.250 & 0.375 & - & 0 \\
\rowcolor{nullColor} 14 & 0.250 & - & - & - & 0 \\
13 & 0.250 & 0.500 & - & - & 0 \\
\rowcolor{badColor} 14 & 0.500 & 0.250 & 0.500 & - & -4 \\
\rowcolor{nullColor} 12 & 0.250 & - & - & - & -2 \\
12 & 1.000 & 0.750 & - & - & 0 \\
11 & 0.500 & 0.250 & - & - & 0 \\
10 & 0.250 & 0.500 & - & - & -3 \\
10 & 0.250 & 0.500 & 0.375 & - & 0 \\
\rowcolor{sosoColor} 6 & - & - & 0.500 & - & 0 \\
\rowcolor{badColor} 4 & - & 0.250 & 0.500 & - & 0 \\
\rowcolor{badColor} 4 & - & 0.500 & 0.250 & - & 0 \\
\rowcolor{sosoColor} 3 & 0.250 & - & 0.375 & - & 0 \\
\rowcolor{badColor} 5 & - & 0.500 & 0.250 & - & 1 \\
\rowcolor{sosoColor} 4 & 0.250 & - & 0.375 & - & 1 \\
4 & - & 0.250 & 0.375 & - & 1 \\
\rowcolor{sosoColor} 3 & 0.500 & - & 0.250 & - & 0 \\
3 & 1.000 & 1.000 & - & - & 0 \\
3 & - & 0.250 & 0.375 & - & 0 \\
3 & - & 0.500 & 0.375 & - & 0 \\
\rowcolor{badColor} 2 & - & 0.250 & 0.500 & - & -2 \\
2 & 1.000 & 1.000 & - & - & -1 \\
\rowcolor{sosoColor} 2 & 0.500 & - & 0.500 & - & 0 \\
\rowcolor{sosoColor} 2 & - & - & 0.375 & - & 0 \\
\rowcolor{goodColor} 1 & 0.500 & 1.000 & 1.000 & - & 0 \\
1 & 0.500 & 1.000 & - & - & 0 \\
\rowcolor{nullColor} 1 & 0.500 & - & - & - & 0 \\
1 & - & 1.000 & - & - & 0 \\
1 & - & 0.750 & - & - & 1 \\
\hline
\end{tabular}
\caption{Counts for Gen2Siblings}
Expand Down
Binary file modified analysis/archive-comparison/figure/unnamed-chunk-2-1.pdf
Binary file not shown.
Binary file modified analysis/archive-comparison/figure/unnamed-chunk-2-2.pdf
Binary file not shown.
13 changes: 13 additions & 0 deletions documentation/notes/progress-2018
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Progress Notes for 2018
============================

**Consider moving or duplicating this to whatever public webpage we establish.**

2018-01-04
-----------------
* updated NLSY variables through 2012. Helped Gen2 ROC agreement between implicit & explicit.
```
Version Agree Disagree
1 86 7639 345
2 85 7492 355
```

0 comments on commit e1348c6

Please sign in to comment.