-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathStatsModels.jl
93 lines (76 loc) · 1.47 KB
/
StatsModels.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
module StatsModels
using Tables
using StatsAPI
using StatsBase
using ShiftedArrays
using ShiftedArrays: lag, lead
using DataStructures
using DataAPI
using DataAPI: levels
using Printf: @sprintf
using StatsAPI: coefnames, dof, fit, gvif, predict, vif
using StatsFuns: chisqccdf
using SparseArrays
using LinearAlgebra
using Tables: ColumnTable
using REPL: levenshtein
export
#reexport from StatsBase:
StatisticalModel,
RegressionModel,
@formula,
ModelFrame,
ModelMatrix,
AbstractContrasts,
EffectsCoding,
DummyCoding,
HelmertCoding,
SeqDiffCoding,
HypothesisCoding,
coefnames,
setcontrasts!,
formula,
termnames,
AbstractTerm,
ConstantTerm,
Term,
ContinuousTerm,
CategoricalTerm,
InteractionTerm,
FormulaTerm,
InterceptTerm,
FunctionTerm,
MatrixTerm,
lag, lead, # Reexported from ShiftedArrays
term,
terms,
drop_term,
schema,
concrete_term,
apply_schema,
width,
modelcols,
modelmatrix,
response,
protect,
unprotect,
hasintercept,
omitsintercept,
hasresponse,
lrtest,
vif,
gvif
const SPECIALS = (:+, :&, :*, :~)
include("traits.jl")
include("contrasts.jl")
include("terms.jl")
include("errormessages.jl")
include("schema.jl")
include("temporal_terms.jl")
include("formula.jl")
include("modelframe.jl")
include("statsmodel.jl")
include("lrtest.jl")
include("vif.jl")
include("deprecated.jl")
end # module StatsModels