update JFDA
This commit is contained in:
parent
56a726c819
commit
9b42b60ef4
2 changed files with 12 additions and 1 deletions
|
@ -42,3 +42,13 @@ row_selector = (puzzles.NbPlays .> plays_lo) .&&
|
|||
good = puzzles[row_selector, ["Rating", "Popularity"]]
|
||||
|
||||
plot(histogram(good.Rating; label = "Rating"), histogram(good.Popularity; label = "Popularity"))
|
||||
|
||||
# Exercise 9.1
|
||||
|
||||
using StatsBase
|
||||
|
||||
nb_100 = copy(puzzles[(puzzles.Popularity .== 100) , "NbPlays"])
|
||||
nbnot100 = copy(puzzles[(puzzles.Popularity .== -100) , "NbPlays"])
|
||||
summarystats(nb_100)
|
||||
summarystats(nbnot100)
|
||||
|
||||
|
|
|
@ -3,3 +3,4 @@ CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
|
|||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
|
||||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
|
||||
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
|
||||
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
|
||||
|
|
Loading…
Reference in a new issue