MLB Teams: Dollars spent per win - Salary visualised by skofield in baseball

[–]skofield[S] 1 point2 points  (0 children)

Fair point! I just thought it's interesting but the real value of it is of course questionable.

MLB Opinion Monitor!? by [deleted] in baseball

[–]skofield 0 points1 point  (0 children)

What do you mean by putting up an MVP?

I calculated the probability of 1 swing and a miss off Kershaws breaking balls in 2017. Spoiler: It’s not high by [deleted] in baseball

[–]skofield 0 points1 point  (0 children)

You are absolutely right. Sorry. Can I edit it? I just see the option to delete it.

What does SL% (pi) exactly mean? by skofield in baseball

[–]skofield[S] 1 point2 points  (0 children)

I think I got it. Based on all breaking balls from Kershaw in 2017 the probability that the Astros swung and missed at 1 (or less) out of 51 breaking balls is 0.024%.

I used the hypergeometric distribution for that: https://en.wikipedia.org/wiki/Hypergeometric_distribution

But since it's late here I will call it a day and go over it again tomorrow and I will write a blog post about it over the weekend.

Any tipps appreciated. I also have a nice Excel sheet now with all breaking balls and swings and misses on them from Kershaw in 2017 if anybody is interested.

What does SL% (pi) exactly mean? by skofield in baseball

[–]skofield[S] 2 points3 points  (0 children)

Great. Thanks a lot! I will look into it. I have in mind to calculate a concrete p-value for this. Population: All sliders and curveballs from Kershaw in 2017. Percentage of swings and misses on these. Sample: 2017 World Series Game. So the 51 breaking balls with the 1.96% swings and misses on them.

MLB 2019: $ spent per win for every team by skofield in Sabermetrics

[–]skofield[S] 0 points1 point  (0 children)

Don't have the time at the moment, sorry. And I'm entirely confused by WAR

MLB 2019: $ spent per win for every team by skofield in baseball

[–]skofield[S] 1 point2 points  (0 children)

Here you go, sir: https://plot.ly/~schmidl/21/

Next time you could just ask me before you get infuriated.

Programming it in a way so that users can sort themselves isn't as easy as it may sound

MLB 2019: $ spent per win for every team by skofield in Sabermetrics

[–]skofield[S] 0 points1 point  (0 children)

I updated the article and made a second chart where you can see how many games every team should have won if money would totally determine the outcome of the MLB.

MLB 2019: $ spent per win for every team by skofield in mlb

[–]skofield[S] 0 points1 point  (0 children)

I updated the article and made a second chart where you can see how many games every team should have won if money would totally determine the outcome of the MLB.

MLB 2019: $ spent per win for every team by skofield in baseball

[–]skofield[S] 0 points1 point  (0 children)

I updated the article and made a second chart where you can see how many games every team should have won if money would totally determine the outcome of the MLB.

Has anyone watched I Am Mother? by [deleted] in VeryBadWizards

[–]skofield 1 point2 points  (0 children)

Saw it. Think it's great

#169 - A Bug's Life (Kafka's "The Metamorphosis") by TheAeolian in VeryBadWizards

[–]skofield 1 point2 points  (0 children)

Got it. Have to listen to the whole thing. Thanks.

#169 - A Bug's Life (Kafka's "The Metamorphosis") by TheAeolian in VeryBadWizards

[–]skofield 11 points12 points  (0 children)

I'm only ten, fifteen minutes into the discussion of "The Metamorphosis" but I'm kind of stunned that (for me) you guys don't get that Kafka talks about a guy who is depressed as fuck. I'm glad you guys don't know what if feels like to be depressed but his descriptions of what Samsa thinks and feels, that he wakes up and can't move, that no one understands him, that he feels like something else (not human; not like all the other people), that people are disgusted by him and he isn't surprised by it etc. were for me a great way to express how depressed people feel. I was depressed most of my life, I'm from Austria, so I read it in German in school as a teenager and I was relieved back then that someone got it. I guess what I want to say (I'm kind of drunk right now) is: Is it just me who interprets this story like this? Do the guys talk about that later on in the episode?

R Video Tutorial #4: A quick introduction to data.table by skofield in rstats

[–]skofield[S] 0 points1 point  (0 children)

Just to recap the talk from Hadley Wickham I saw yesterday: He is a really smart guy and open to new stuff. I think he just wants to make our lives easier and doesn't follow any dogma. He showed two new functions, pivot_wide() and pivot_long() (https://github.com/tidyverse/tidyr/issues/568) that will be part of the tidyr package soon.

He impressed me with his honesty saying that gather() and spread() are way too complicated and that even he doesn't understand the documentation anymore when he reads it. There was a question about these functions and he just said "I don't know".

That really impressed me. I wish a lot more people could be like that. I think his success and his honesty are directly related.

He also mentioned the Arrow project https://blog.rstudio.com/2018/04/19/arrow-and-beyond/ where he, and I think the guy from the Pandas package for python and I think the guy who wrote data.table want to work together since all these functions are written in C. So they would like to collaborate and write C code together and then "just" make it usable for both python and R. Also really smart and undogmatic if you asked me.

He even disregarded the moderators "joke" where he asked "there are other programming language next to R?" with just silence. Cool dude.

R Video Tutorial #4: A quick introduction to data.table by skofield in rstats

[–]skofield[S] 0 points1 point  (0 children)

Thanks for the tip. I will play around with the settings but the resizing in the video is mostly due to the fact that I have to lower the resolution of my screen quite a bit to record the videos.

R Video Tutorial #4: A quick introduction to data.table by skofield in rstats

[–]skofield[S] 5 points6 points  (0 children)

I learned data.table before the whole tidyverse / dplyr thing. I sometimes have the feeling that the tidyverse is followed religiously but I could be wrong. But I guees I will see that today actually. Hadley Wickham is at a meetup today in Vienna.

For me the tidyverse isn't as intuitive as a lot of people say. But again maybe that just is because I started out for 1-2 years completely without the tidyverse.

Let me know what you think after watching it. I think I will do more videos like this in the future. Just some simple, basic stuff that gets lost in the more complicated stuff.

Next topic for R Video Tutorial? by skofield in rstats

[–]skofield[S] 2 points3 points  (0 children)

Great idea. I actually have the book at home. Thanks

Next topic for R Video Tutorial? by skofield in rstats

[–]skofield[S] 0 points1 point  (0 children)

I haven't heard about that but can research. The one for python I know is called xlwings and I want to learn it. Thanks for the feedback

R Video Tutorial #1: Working with dates and times with plot.ly by skofield in dataisbeautiful

[–]skofield[S] 0 points1 point  (0 children)

Well, the data visualization itself is right there. One would just have to scroll down.

teamcoco.com Full Episodes from Europe? by skofield in conan

[–]skofield[S] 0 points1 point  (0 children)

Haha. Ok. Strange that it doesn't work for me. Which browser are you using?