Skip to content

Instantly share code, notes, and snippets.

View Zhomart's full-sized avatar
🏠
Working from home

Zhomart Mukhamejanov Zhomart

🏠
Working from home
View GitHub Profile
Fluency Raw
$ ruby cronbach.rb
-- (227)
MapIt: f797294d: [10, 6, 6, 4, 6, 7, 6, 3, 6, 6, 7, 8, 5, 9, 6, 6, 12, 6, 6, 5, 6] ...
MapIt: bfe2bc45: [6, 9, 5, 6, 6, 26, 6, 6, 5, 6, 6, 4, 5, 3, 6, 5, 8, 6, 6, 6, 3] ...
MapIt: 4e4006af: [6, 3, 6, 6, 6, 27, 6, 5, 5, 6, 6, 4, 5, 3, 6, 8, 11, 3, 6, 5, 4] ...
Analysis 2014-07-03 01:41:39 -0700
= Statsample::Reliability
# Batch 3 - fluency_raw
-- (147)
MapIt: 7f8fd219: [9, 7, 3, 6, 6, 3, 8, 7, 6, 6, 6, 4, 6, 3, 4, 6, 51, 33, 6, 16, 3] ...
MapIt: 6ce33413: [8, 6, 2, 6, 6, 3, 6, 7, 6, 6, 6, 5, 6, 3, 4, 6, 7, 37, 6, 18, 3] ...
MapIt: 431a026a: [8, 9, 3, 6, 5, 3, 6, 5, 7, 6, 6, 4, 6, 3, 4, 6, 18, 54, 6, 17, 3] ...
Analysis 2014-07-04 00:59:15 -0700
= Statsample::Reliability
== Reliability Analisis
# Batch 2 - fluency_Raw
-- (179)
MapIt: 1e9b5aa6: [6, 7, 5, 6, 6, 6, 6, 6, 7, 5, 6, 6, 6, 6, 6, 3, 6, 6, 6, 6, 6] ...
MapIt: 1ddafd1e: [9, 8, 6, 6, 7, 6, 6, 6, 8, 4, 6, 6, 6, 4, 5, 3, 6, 6, 5, 7, 6] ...
MapIt: b07694b6: [7, 6, 6, 6, 6, 6, 6, 4, 9, 5, 6, 6, 6, 4, 6, 3, 6, 6, 4, 6, 6] ...
Analysis 2014-07-04 01:02:28 -0700
= Statsample::Reliability
== Reliability Analisis
@Zhomart
Zhomart / gist:b1c811f9c2ae7a51fff2
Last active August 29, 2015 14:03
Parallel Factor Analysis for Batch 1,2,3,4 MapIt originality_raw

Intro

Couldn't do for all batches combined with 12 tasks. Because "horizontal" order is not kept between "Batch n" tests.

Batch 1 - originality_raw

MapIt: place: [0, 0, 100, 8, 0, 0, 0, 44, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3, 0, 0, 0] ...
MapIt: laugh: [100, 63, 91, 0, 0, 91, 56, 0, 56, 0, 0, 91, 0, 56, 5, 0, 63, 0, 5, 19, 10] ...
MapIt: story: [0, 0, 100, 83, 0, 0, 1, 28, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0] ...
@Zhomart
Zhomart / gist:c625dcd4624875ed1512
Last active August 29, 2015 14:03
PCA for Batch 1,2: inter metrics

Batch 1

Batch 1 - "MapIt: story". originality_raw, fluency_raw, divergency_raw

MapIt: story-originality_raw: [0, 0, 100, 83, 0, 0, 1, 28, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0] ...
MapIt: story-fluency_raw: [1, 3, 3, 4, 1, 2, 4, 3, 1, 3, 1, 3, 1, 2, 1, 1, 4, 2, 1, 2, 1] ...
MapIt: story-divergency_raw: [0, 3, 3, 3, 0, 2, 3, 3, 0, 2, 0, 3, 0, 2, 0, 0, 2, 2, 0, 2, 0] ...

Analysis 2014-07-06 12:34:24 -0700
= Statsample::Factor::ParallelAnalysis
@Zhomart
Zhomart / gist:6b09f0772fdc4a573491
Created July 6, 2014 19:50
Factor Analysis for Mechanical Turk - 4/21/2014 - originality_raw

Mechanical Turk - 4/21/2014 - originality_raw

loop_it: [83, 41, 9, 7, 100, 31, 47, 0, 90, 39, 96, 96, 37, 100, 10, 52, 7, 100, 100, 89, 90] ...
odd_it: [23, 20, 15, 50, 49, 34, 25, 27, 30, 38, 37, 44, 37, 34, 41, 57, 57, 49, 2, 17, 32] ...
pair_it: [4, 1, 0, 0, 1, 1, 8, 8, 1, 1, 0, 4, 15, 0, 0, 3, 8, 3, 14, 0, 1] ...
tie_it: [30, 31, 29, 24, 14, 32, 6, 14, 10, 25, 6, 31, 33, 29, 10, 43, 30, 6, 12, 20, 20] ...
map_it: [44, 21, 58, 32, 87, 61, 95, 99, 99, 82, 89, 82, 99, 72, 66, 98, 35, 100, 19, 54, 23] ...

Analysis 2014-07-06 12:48:17 -0700
# Mixin module
module Chaika
def est_nahyalyavu
puts "Yeah"
end
def shout!
puts "I am a chaika!!!"
end
# pairs with distances

fit, sight -> 95.41
woman, sight -> 90.75
woman, fit -> 89.92
beach, sight -> 94.16
beach, fit -> 95.25
beach, woman -> 87.62
was, sight -> 63.17

Pairs with distances

bikini, drinking -> 99.77
coughed, drinking -> 99.98
coughed, bikini -> 100.0
had, drinking -> 80.09
had, bikini -> 97.32
had, coughed -> 99.84
mess, drinking -> 98.84
mess, bikini -> 99.8

# distances

aliens, point -> 96.05
rice, point -> 89.25
rice, aliens -> 99.56
planet, point -> 85.14
planet, aliens -> 95.46
planet, rice -> 97.71