Skip to content

Commit bc7f048

Browse files
committed
Merge pull request #59 from SOCR/dev
chore: Release 0.1.5-alpha.6 #SOCRFW-239
2 parents 97235e4 + 82a9509 commit bc7f048

File tree

16 files changed

+777
-455
lines changed

16 files changed

+777
-455
lines changed

Gruntfile.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ module.exports = function (grunt) {
1212
// Time how long tasks take. Can help when optimizing build times
1313
require('time-grunt')(grunt);
1414

15+
var serveStatic = require('serve-static');
16+
1517
// Automatically load required Grunt tasks
1618
require('jit-grunt')(grunt, {
1719
useminPrepare: 'grunt-usemin',
@@ -82,16 +84,16 @@ module.exports = function (grunt) {
8284
open: true,
8385
middleware: function (connect) {
8486
return [
85-
connect.static('.tmp'),
87+
serveStatic('.tmp'),
8688
connect().use(
8789
'/bower_components',
88-
connect.static('./bower_components')
90+
serveStatic('./bower_components')
8991
),
9092
connect().use(
9193
'/app/styles',
92-
connect.static('./app/styles')
94+
serveStatic('./app/styles')
9395
),
94-
connect.static(appConfig.app)
96+
serveStatic(appConfig.app)
9597
];
9698
}
9799
}
@@ -101,13 +103,13 @@ module.exports = function (grunt) {
101103
port: 9001,
102104
middleware: function (connect) {
103105
return [
104-
connect.static('.tmp'),
105-
connect.static('test'),
106+
serveStatic('.tmp'),
107+
serveStatic('test'),
106108
connect().use(
107109
'/bower_components',
108-
connect.static('./bower_components')
110+
serveStatic('./bower_components')
109111
),
110-
connect.static(appConfig.app)
112+
serveStatic(appConfig.app)
111113
];
112114
}
113115
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ A scalable and highly flexible HTML5/JS platform to build and run in-browser app
55
* Web site: http://socr.umich.edu
66
* Issue-tracking and project management: https://socredu.atlassian.net/browse/SOCRFW
77

8-
[![Build Status](https://travis-ci.org/SOCRedu/SOCR-framework.svg?branch=master)](https://travis-ci.org/SOCRedu/SOCR-framework)
9-
[![Dependency Status](https://gemnasium.com/SOCRedu/SOCR-framework.png?branch=master)](https://gemnasium.com/SOCRedu/SOCR-framework)
8+
[![Build Status](https://travis-ci.org/SOCR/SOCRAT.svg?branch=master)](https://travis-ci.org/SOCR/SOCRAT)
9+
[![Dependency Status](https://gemnasium.com/SOCR/SOCRAT.png?branch=master)](https://gemnasium.com/SOCR/SOCRAT)
1010

1111
Installation
1212
------------

app/partials/analysis/getData/main.jade

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,7 @@ div(ng-controller='getDataMainCtrl')
4444
button.btn.btn-primary(ng-click="getJsonByUrl()") Parse
4545

4646
br
47-
handsontable(purpose="json")
47+
div.lead.bg-danger(ng-hide="dataType != DATA_TYPES.NESTED")
48+
| Visual representation of hierarchical data currently is not available.
49+
div(ng-class="{'vis-hidden': dataType != DATA_TYPES.FLAT}")
50+
handsontable(purpose="json")
Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
div(ng-controller="kMeansMainCtrl")
22
h2 2D k-means Clustering
3-
p.
4-
k-means clustering aims to partition n observations into k clusters in which each observation belongs
5-
to the cluster with the nearest mean, serving as a prototype of the cluster.
6-
div(ng-show="showresults").kmeans-results
7-
p.lead <strong> Average accuracy: </strong> {{avgAccuracy}}
8-
div.table-responsive
9-
table.table.table-bordered.table-condensed
10-
tr
11-
th Label
12-
th Accuracy
13-
tr(ng-repeat="(label, acc) in accs")
14-
td {{label}}
15-
td {{acc.toFixed(2)}}
16-
app-kmeans
3+
div.lead.bg-danger(ng-hide="dataType == DATA_TYPES.FLAT")
4+
| 2D k-means Clustering doesn't support current dataset.
5+
| Only "flat" data tables are supported.
6+
div(ng-hide="dataType != DATA_TYPES.FLAT")
7+
p.
8+
k-means clustering aims to partition n observations into k clusters in which each observation belongs
9+
to the cluster with the nearest mean, serving as a prototype of the cluster.
10+
div(ng-show="showresults").kmeans-results
11+
p.lead <strong> Average accuracy: </strong> {{avgAccuracy}}
12+
div.table-responsive
13+
table.table.table-bordered.table-condensed
14+
tr
15+
th Label
16+
th Accuracy
17+
tr(ng-repeat="(label, acc) in accs")
18+
td {{label}}
19+
td {{acc.toFixed(2)}}
20+
app-kmeans
Lines changed: 75 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,77 @@
11
div(ng-controller="instrPerfEvalMainCtrl")
22
h2 Instrument Performance Evaluation
3-
p.
4-
Cronbach’s Alpha (α) is a measure of internal consistency or reliability of a psychometric instrument and measures
5-
how well a set of items measure a single, one-dimensional latent aspect of individuals.
6-
p.lead <strong> Cronbach's α: </strong> {{cronAlpha}}
7-
div.table-responsive
8-
table.table.table-bordered.table-striped
9-
thead
10-
tr
11-
th Cronbach's alpha
12-
th Internal consistency
13-
tbody
14-
tr.success
15-
td <strong> α </strong> ≥ 0.9
16-
td Excellent (High-Stakes testing)
17-
tr.success
18-
td 0.7 ≤ <strong> α </strong> < 0.9
19-
td Good (Low-Stakes testing)
20-
tr.info
21-
td 0.6 ≤ <strong> α </strong> < 0.7
22-
td Acceptable
23-
tr.warning
24-
td 0.5 ≤ <strong> α </strong> < 0.6
25-
td Poor
26-
tr.danger
27-
td <strong> α </strong> < 0.5
28-
td Unacceptable
29-
p.
30-
Cronbach's α coefficient is a point estimate of the reliability.
31-
Its standard error is important to construct an interval estimation of its true value
32-
and to obtain statistical inference about its significance.
33-
There are parametric and non-parametric methods to estimate the variance of Cronbach's α,
34-
and compute confidence intervals.
35-
p <strong> Cronbach’s Alpha confidence intervals </strong>
36-
p.bg-info ID confidence interval: {{cronAlphaIdInterval}}
37-
p.bg-info Koning and Franses confidence interval: {{cronAlphaKfInterval}}
38-
p.bg-info Bootstrap confidence interval: {{cronAlphaBootstrapInterval}}
39-
p.bg-info Logit confidence interval: {{cronAlphaLogitInterval}}
40-
p.bg-info Asymptotically distribution-free (ADF) interval: {{cronAlphaAdfInterval}}
41-
br
42-
p <strong> Other metrics of reliability: </strong>
43-
p.
44-
The Intra-class correlation coefficient (ICC) assesses the consistency, or reproducibility,
45-
of quantitative measurements made by different observers measuring the same quantity.
46-
Broadly speaking, the ICC is defined as the ratio of between-cluster variance to total variance.
47-
p.bg-info Intraclass correlation coefficient (ICC): {{icc}}
48-
p.
49-
In Split-Half Reliability assessment, the test is split in half (e.g., odd / even) creating "equivalent forms".
50-
The two "forms" are correlated with each other and the correlation coefficient is adjusted
51-
to reflect the entire test length, using the Spearman-Brown Prophecy formula.
52-
p.bg-info Split-Half Reliability coefficient: {{splitHalfCoef}}
53-
p.
54-
The Kuder–Richardson Formula 20 (KR-20) is a very reliable internal reliability estimate which simulates
55-
calculating split-half reliability for every possible combination of items.
56-
The Cronbach's α and KR-20 are similar ― KR-20 is a derivative of the Cronbach's α with the advantage that
57-
it can handle both dichotomous and continuous variables, however, KR-20 can't be used
58-
when multiple-choice questions involve partial credit and require systematic item-based analysis.
59-
p.bg-info Kuder–Richardson Formula 20 (KR-20): {{kr20}}
60-
br
61-
p
62-
small
63-
p <strong> References: </strong>
64-
p 1.&nbsp;
65-
a(href='http://wiki.socr.umich.edu/index.php/SMHS_Cronbachs').
66-
Scientific Methods for Health Sciences - Instrument Performance Evaluation: Cronbach's α
67-
p.
68-
2. TSAGRIS, MICHAIL, CONSTANTINOS C. FRANGOS, and CHRISTOS C. FRANGOS.
69-
"Confidence intervals for Cronbach’s reliability coefficient."
70-
p.
71-
3. Maydeu-Olivares, Alberto, Donna L. Coffman, and Wolfgang M. Hartmann.
72-
"Asymptotically distribution-free (ADF) interval estimation of coefficient alpha."
73-
Psychological methods 12.2 (2007): 157.
3+
div.lead.bg-danger(ng-hide="dataType == DATA_TYPES.FLAT")
4+
| Instrument Performance Evaluation doesn't support current dataset.
5+
| Only "flat" data tables are supported.
6+
div(ng-hide="dataType != DATA_TYPES.FLAT")
7+
p.
8+
Cronbach’s Alpha (α) is a measure of internal consistency or reliability of a psychometric instrument and measures
9+
how well a set of items measure a single, one-dimensional latent aspect of individuals.
10+
p.lead <strong> Cronbach's α: </strong> {{cronAlpha}}
11+
div.table-responsive
12+
table.table.table-bordered.table-striped
13+
thead
14+
tr
15+
th Cronbach's alpha
16+
th Internal consistency
17+
tbody
18+
tr.success
19+
td <strong> α </strong> ≥ 0.9
20+
td Excellent (High-Stakes testing)
21+
tr.success
22+
td 0.7 ≤ <strong> α </strong> < 0.9
23+
td Good (Low-Stakes testing)
24+
tr.info
25+
td 0.6 ≤ <strong> α </strong> < 0.7
26+
td Acceptable
27+
tr.warning
28+
td 0.5 ≤ <strong> α </strong> < 0.6
29+
td Poor
30+
tr.danger
31+
td <strong> α </strong> < 0.5
32+
td Unacceptable
33+
p.
34+
Cronbach's α coefficient is a point estimate of the reliability.
35+
Its standard error is important to construct an interval estimation of its true value
36+
and to obtain statistical inference about its significance.
37+
There are parametric and non-parametric methods to estimate the variance of Cronbach's α,
38+
and compute confidence intervals.
39+
p <strong> Cronbach’s Alpha confidence intervals </strong>
40+
p.bg-info ID confidence interval: {{cronAlphaIdInterval}}
41+
p.bg-info Koning and Franses confidence interval: {{cronAlphaKfInterval}}
42+
p.bg-info Bootstrap confidence interval: {{cronAlphaBootstrapInterval}}
43+
p.bg-info Logit confidence interval: {{cronAlphaLogitInterval}}
44+
p.bg-info Asymptotically distribution-free (ADF) interval: {{cronAlphaAdfInterval}}
45+
br
46+
p <strong> Other metrics of reliability: </strong>
47+
p.
48+
The Intra-class correlation coefficient (ICC) assesses the consistency, or reproducibility,
49+
of quantitative measurements made by different observers measuring the same quantity.
50+
Broadly speaking, the ICC is defined as the ratio of between-cluster variance to total variance.
51+
p.bg-info Intraclass correlation coefficient (ICC): {{icc}}
52+
p.
53+
In Split-Half Reliability assessment, the test is split in half (e.g., odd / even) creating "equivalent forms".
54+
The two "forms" are correlated with each other and the correlation coefficient is adjusted
55+
to reflect the entire test length, using the Spearman-Brown Prophecy formula.
56+
p.bg-info Split-Half Reliability coefficient: {{splitHalfCoef}}
57+
p.
58+
The Kuder–Richardson Formula 20 (KR-20) is a very reliable internal reliability estimate which simulates
59+
calculating split-half reliability for every possible combination of items.
60+
The Cronbach's α and KR-20 are similar ― KR-20 is a derivative of the Cronbach's α with the advantage that
61+
it can handle both dichotomous and continuous variables, however, KR-20 can't be used
62+
when multiple-choice questions involve partial credit and require systematic item-based analysis.
63+
p.bg-info Kuder–Richardson Formula 20 (KR-20): {{kr20}}
64+
br
65+
p
66+
small
67+
p <strong> References: </strong>
68+
p 1.&nbsp;
69+
a(href='http://wiki.socr.umich.edu/index.php/SMHS_Cronbachs').
70+
Scientific Methods for Health Sciences - Instrument Performance Evaluation: Cronbach's α
71+
p.
72+
2. TSAGRIS, MICHAIL, CONSTANTINOS C. FRANGOS, and CHRISTOS C. FRANGOS.
73+
"Confidence intervals for Cronbach’s reliability coefficient."
74+
p.
75+
3. Maydeu-Olivares, Alberto, Donna L. Coffman, and Wolfgang M. Hartmann.
76+
"Asymptotically distribution-free (ADF) interval estimation of coefficient alpha."
77+
Psychological methods 12.2 (2007): 157.

app/partials/analysis/tools/psychometrics/instrPerfEval/sidebar.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
div(ng-controller="instrPerfEvalSidebarCtrl")
22
form
3-
fieldset
3+
fieldset(ng-disabled="!perfeval")
44
legend Data parameters
55
label Number of columns&nbsp;
66
input(ng-model="nCols").input-small
Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
#dt_example(style='height: 400px')
2-
.ui-layout-north#wranglerNorthPanel
3-
#wranglerDashboard
4-
.ui-layout-west#profilerWestPanel
5-
#transformEditor.transformEditor
6-
.ui-layout-center#profilerCenterPanel
7-
#table
8-
#preview
9-
.spacer
10-
.ui-layout-south
1+
div
2+
div.lead.bg-danger(ng-hide="dataType == DATA_TYPES.FLAT")
3+
| Data Wrangler doesn't support current dataset.
4+
| Only "flat" data tables are supported.
5+
#dt_example(style='height: 400px', ng-hide="dataType != DATA_TYPES.FLAT", ng-cloak)
6+
.ui-layout-north#wranglerNorthPanel
7+
#wranglerDashboard
8+
.ui-layout-west#profilerWestPanel
9+
#transformEditor.transformEditor
10+
.ui-layout-center#profilerCenterPanel
11+
#table
12+
#preview
13+
.spacer
14+
.ui-layout-south

0 commit comments

Comments
 (0)