Structures

ReplicateBE.ContrastTable

ReplicateBE.ContrastTableType
struct ContrastTable <: RBETable
    name::Vector   # Name
    f::Vector      # F value
    ndf::Vector    # Denom degree of freedom
    df::Vector     # Degree of freedom
    p::Vector      # p value
end
source

ReplicateBE.Design

ReplicateBE.DesignType
struct Design
    obs::Int              # Total observation
    subj::Int             # Subjects
    sqn::Int              # Sequences
    pn::Int               # Periods
    fn::Int               # Formulations
    sbf::Vector{Int}      # Subject by formulation
    rankx::Int            # Rank X
    rankxz::Int           # Rank XZ
    df2::Int              # DF (robust): Subjects - Sequence
    df3::Int              # DF (contain): Observations - Rank(XZ)
    df4::Int              # DF (Subj(Form)): sum(sbf) - sqn - 1                 # Experimental
end

Trial design description.

source

ReplicateBE.EffectTable

ReplicateBE.EffectTableType
struct EffectTable <: RBETable
    name::Tuple{Vararg}   # Name
    est::Tuple{Vararg}    # Estimate
    se::Tuple{Vararg}     # Etandard error
    f::Tuple{Vararg}      # F value
    df::Tuple{Vararg}     # Degree of freedom
    t::Tuple{Vararg}      # t value
    p::Tuple{Vararg}      # p value
end
source

ReplicateBE.EstimateTable

ReplicateBE.EstimateTableType
struct EstimateTable <: RBETable
    name::Vector   # Name
    est::Vector    # Estimate
    se::Vector     # Etandard error
    df::Vector     # Degree of freedom
    t::Vector      # t value
    p::Vector      # p value
    ll::Vector     # Confidece interval lower bound
    ul::Vector     # Confidece interval upper bound
    alpha::Real    # Confidece interval alpha level
end
source

ReplicateBE.RandRBEDS

ReplicateBE.RandRBEDSType

Random dataset task.

mutable struct RandRBEDS
    n::Int                       # Subjects number
    sequence::Vector             # Sequence distribution vector
    design::Matrix               # Design matrix
    inter::Vector                # Intersubject variance part
    intra::Vector                # Intrasubject variance part
                                 # Fixed effect:
    intercept::Real              # Intercept
    seqcoef::Vector              # Sequence
    periodcoef::Vector           # Period
    formcoef::Vector             # Formulation
    dropobs::Int                 # Drop observations
    seed                         # Seed
end
source