-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
39 changed files
with
667 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
...ser/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/B584AE7E605e3cd7/chunks.json
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/c6t5kj9r0xqzx/000019.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"0","S <- rbern(100)+1" | ||
"0","dat <- sim_HW(S, b=c(.5,.5), a=c(0,10))" | ||
"0","" | ||
"0","# Indirect effect (b) is the same for men and women" | ||
"0","dat |> " | ||
"0"," ggplot(aes(x=H, y=W, color=factor(S)))+" | ||
"0"," geom_point()+" | ||
"0"," geom_smooth(method = lm)+" | ||
"0"," # facet_wrap(~S)+" | ||
"0"," theme_bw()" |
1 change: 1 addition & 0 deletions
1
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/c6t5kj9r0xqzx/00001a.metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"height":408.5290482076638,"width":661.0,"size_behavior":0,"conditions":[]} |
Binary file added
BIN
+6.6 KB
...ed/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/c6t5kj9r0xqzx/00001a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+151 KB
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/c6t5kj9r0xqzx/00001a.snapshot
Binary file not shown.
21 changes: 21 additions & 0 deletions
21
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/00001e.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"0","dat <- list(" | ||
"0"," W = d$weight," | ||
"0"," H = d$height," | ||
"0"," Hbar = mean(d$height)," | ||
"0"," S = d$male+1 )" | ||
"0","" | ||
"0","m_SHW <- quap(" | ||
"0"," alist(" | ||
"0"," W ~ dnorm(mu,sigma)," | ||
"0"," mu <- a[S]+b[S]*(H-Hbar)," | ||
"0"," a[S] ~ dnorm(60,10)," | ||
"0"," b[S] ~ dunif(0,1)," | ||
"0"," sigma ~ dunif(0,10)" | ||
"0"," ), data=dat" | ||
"0",")" | ||
"0","data.frame(dat) |> " | ||
"0"," ggplot(aes(x=H, y=W, color=factor(S)))+" | ||
"0"," geom_point()+" | ||
"0"," geom_smooth(method = lm)+" | ||
"0"," # facet_wrap(~S)+" | ||
"0"," theme_bw()" |
1 change: 1 addition & 0 deletions
1
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/00001f.metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"height":408.5290482076638,"width":661.0,"size_behavior":0,"conditions":[]} |
Binary file added
BIN
+9.24 KB
...ed/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/00001f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+156 KB
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/00001f.snapshot
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/000020.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"0","" | ||
"0","precis(m_SHW,depth=2)" |
1 change: 1 addition & 0 deletions
1
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/000021.metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"classes":["data.frame"],"nrow":5,"ncol":4,"summary":{"Description":["df [5 × 4]"]}} |
Binary file added
BIN
+410 Bytes
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cgq5kq1n6i5pg/000021.rdf
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
.Rproj.user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/chunks.json
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cnh2brq8uipgl/00000f.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"0","xseq <- seq(from=130,to=190, len=50)" | ||
"0","muF <- " | ||
"0"," link(m_adults2, data=list(S=rep(1,50),H=xseq,Hbar=mean(d$height)))" | ||
"2","Error in h(simpleError(msg, call)) : | ||
error in evaluating the argument 'fit' in selecting a method for function 'link': object 'm_adults2' not found | ||
" |
1 change: 1 addition & 0 deletions
1
...ser/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cnh2brq8uipgl/000010.error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"frames":[{"func":"link(m_adults2, data = list(S = rep(1, 50), H = xseq, Hbar = mean(d$height)))","file":"","line_number":0,"end_line_number":0,"character_number":0,"end_character_number":0},{"func":".handleSimpleError(function (cond) \n.Internal(C_tryCatchHelper(addr, 1L, cond)), \"object 'm_adults2' not found\", \n base::quote(link(m_adults2, data = list(S = rep(1, 50), H = xseq, \n Hbar = mean(d$height)))))","file":"","line_number":0,"end_line_number":0,"character_number":0,"end_character_number":0},{"func":"h(simpleError(msg, call))","file":"","line_number":0,"end_line_number":0,"character_number":0,"end_character_number":0}],"message":"Error in h(simpleError(msg, call)) : \n error in evaluating the argument 'fit' in selecting a method for function 'link': object 'm_adults2' not found\n"} |
3 changes: 3 additions & 0 deletions
3
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cuugb0843jsqr/00001f.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"0","post <- extract.samples(m_SHW)" | ||
"0","dens(post$b[,1],xlim=c(.3, .9),ylim=c(0,8)," | ||
"0"," lwd=3,col=2,xlab=""posterior mean weight(kg"")" |
1 change: 1 addition & 0 deletions
1
....user/shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cuugb0843jsqr/000021.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"0","dens(post$b[,2],lwd=3,col=4,add=TRUE)" |
1 change: 1 addition & 0 deletions
1
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cuugb0843jsqr/000022.metadata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"height":408.5290482076638,"width":661.0,"size_behavior":0,"conditions":[]} |
Binary file added
BIN
+5.49 KB
...ed/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cuugb0843jsqr/000022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17 KB
.../shared/notebooks/39C21CC9-Statistical Thinking 2023_v2/1/s/cuugb0843jsqr/000022.snapshot
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters