Skip to content

Commit 682cd85

Browse files
Merge pull request #269 from UBC-DSCI/alt-datum-value
Alt.datum vs value
2 parents 4cc00b0 + bfc5012 commit 682cd85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/inference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ alt.vconcat(
11461146
alt.Chart(sample_estimates).mark_text(color="#f58518", size=12, align="left", dx=16, fontWeight="bold").encode(
11471147
x="mean(mean_price)",
11481148
y=alt.value(7),
1149-
text=alt.value(f"Mean = {sampling_distribution["data"]["mean_price"].mean().round(1)}")
1149+
text=alt.value(f"Mean = {sampling_distribution['data']['mean_price'].mean().round(1)}")
11501150
)
11511151
).properties(title="Sampling distribution", height=150),
11521152
alt.layer(
@@ -1155,7 +1155,7 @@ alt.vconcat(
11551155
alt.Chart(boot20000_means).mark_text(color="#f58518", size=12, align="left", dx=18, fontWeight="bold").encode(
11561156
x="mean(mean_price)",
11571157
y=alt.value(7),
1158-
text=alt.value(f"Mean = {boot_est_dist["data"]["mean_price"].mean().round(1)}")
1158+
text=alt.value(f"Mean = {boot_est_dist['data']['mean_price'].mean().round(1)}")
11591159
)
11601160
).properties(title="Bootstrap distribution", height=150)
11611161
)

0 commit comments

Comments
 (0)