Skip to content

Commit

Permalink
Reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
nalimilan committed Sep 26, 2021
1 parent 9e4910d commit 8066ab2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions docs/src/scalarstats.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,9 @@ modes
```@docs
describe
```

## Reliability Measures

```@docs
cronbachalpha
```
5 changes: 4 additions & 1 deletion src/Statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export std, stdm, var, varm, mean!, mean,
fit, AbstractHistogram, Histogram, midpoints, norm, normalize, normalize!,
# transformations
unnormalize, unnormalize!,
AbstractNormalization, MinMaxNormalization, ZScoreNormalization
AbstractNormalization, MinMaxNormalization, ZScoreNormalization,
# reliability.jl
cronbachalpha, CronbachAlpha

include("common.jl")
include("weights.jl")
Expand All @@ -60,6 +62,7 @@ include("rankcorr.jl")
include("empirical.jl")
include("hist.jl")
include("transformations.jl")
include("reliability.jl")

##### mean #####

Expand Down
2 changes: 1 addition & 1 deletion src/reliability.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Returns a `CronbachAlpha` object that holds:
# Example
```jldoctest
julia> using StatsBase
julia> using Statistics
julia> cov_X = [10 6 6 6;
6 11 6 6;
Expand Down
2 changes: 1 addition & 1 deletion test/reliability.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using StatsBase
using Statistics
using LinearAlgebra, Random, Test

@testset "Cronbach's Alpha" begin
Expand Down
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -898,4 +898,5 @@ include("ranking.jl")
include("rankcorr.jl")
include("empirical.jl")
include("hist.jl")
include("transformations.jl")
include("transformations.jl")
include("reliability.jl")

0 comments on commit 8066ab2

Please sign in to comment.