Skip to content

Commit

Permalink
Use broadcast not vectorized method
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbates committed Oct 26, 2017
1 parent 40b3a6d commit 5f9f555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixedmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function StatsBase.coeftable(m::MixedModel)
fe = fixef(m)
se = stderr(m)
z = fe ./ se
pvalue = ccdf(Chisq(1), abs2.(z))
pvalue = ccdf.(Chisq(1), abs2.(z))
CoefTable(hcat(fe, se, z, pvalue), ["Estimate", "Std.Error", "z value", "P(>|z|)"],
fixefnames(m), 4)
end
Expand Down

0 comments on commit 5f9f555

Please sign in to comment.