You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the OneSampleTTest functions, the degrees of freedom are fixed as n-1. But if we want to perform a t-test for the p regression parameters, the degrees of freedom must be equal to n-p. Is it possible to generalize the OneSampleTTest function by:
functionOneSampleTTest(xbar::Real, stddev::Real, n::Int, μ0::Real=0, df::Int= n-1)
stderr= stddev/sqrt(n)
t = (xbar-μ0)/stderrOneSampleTTest(n, xbar, df, stderr, t, μ0)
end
The text was updated successfully, but these errors were encountered:
birm
added a commit
to birm/HypothesisTests.jl
that referenced
this issue
Mar 14, 2020
In the OneSampleTTest functions, the degrees of freedom are fixed as n-1. But if we want to perform a t-test for the p regression parameters, the degrees of freedom must be equal to n-p. Is it possible to generalize the OneSampleTTest function by:
The text was updated successfully, but these errors were encountered: