-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code in book does not seem to work #16
Comments
Hi, it's me again, still in chapter 4. Sorry to write this here again, but it's unrelated to my previous issue. The code below works well but I'm a bit surprised by the naming choice for the variable
Thanks! |
Another comment:
Isn't this supposed to be
|
Thank you for all of these. It will take me a while to process them, but I Allen On Thu, Feb 26, 2015 at 5:21 AM, flothesof notifications@github.com wrote:
|
Another small comment about the normal / lognormal modes. Figure 5.7 has the following caption:
One thing that doesn't appear clearly in this caption is the fact that on the left the model is a normal one, while on the right it's a lognormal one. So I would suggest modifying both the labels within the figure ("normal model" and "lognormal model") and change the caption to:
Thanks! |
Another one: (I'm using your PDF version 2.0.23) in Chapter 6 it reads
I believe this should be
|
Small typo here:
There's a dot that shouldn't be there after the \index (this dot shows up in the PDF document). |
Also I was surprised by this:
Why don't we use just thinkstats2.Cdf(xs) instead? This is the way we were "taught" to create CDFs so far in the book, so why use this other, unintroduced function there? |
In the solutions to the exercice of chapter 6:
The comment about std being in the denominator with exponent 3 is incorrect, isn't it? It's exponent 1! |
I've processed these and made corrections and changes. I'd like to add you to the contributor list. Should I use your github login, or do you want to email me your IRL name? About skewness, the std does appear in the sample skewness with exponent 3. See http://en.wikipedia.org/wiki/Skewness#Sample_skewness |
Addition to my previous comment: the reason I was saying the exponent is 1 is that the sentence you wrote in the solution file is about Pearson's measure of skewness, not the sample skewness (if you'd been talking about the sample skewness, the comment would have been correct, obviously). Therefore I'd suggest the following rephrase: (also, there was a typo on "Pearson")
|
Chapter 7, scatter plots: your default code for scatter plots includes the following options
Therefore, the code which you say yields Figure 7.1, However, it's nice to have transparency by default, so I guess it would be more helpful to say that the code is |
Docstring for HexBin: shouldn't that be "makes a hexbin plot"?
|
Hi Allen, small typo: you have an unnecessary parenthesis at the end of the following line of code found in section 7.7 (Spearman's correlation)
It should be:
|
Thanks again. I will get to all of these soon! On Tue, Mar 10, 2015 at 8:26 AM, flothesof notifications@github.com wrote:
|
Hi Allen, I just finished the exercises for chapter 8 and have a couple of remarks regarding Exercise 8.3 (hocker / soccer games). The problem statement is:
Your solution does not address the confidence interval. This is actually a good point: when I computed the confidence interval, I realized it is quite meaningless in this context. In one of my tests, I set lambda=0.3 and got a confidence interval of [0; 1]. Which is to say that we always expect either 0 or 1 goals per match. As you're asking for those in the problem statement, maybe you could just point to the fact that in this context, the confidence interval is not useful (you probably have a better way of expressing this...)? My second point pertains to the second question. Did you really mean to ask what happens when As always, thanks for writing this book! :) |
Hi Allen, small typo (line 6949 of the TeX source): statistically significant. But considering the two tests togther, I |
Hi Allen, I've just gone through the exercices of chapter 9 and I have a couple of thoughts:
Other than that, great chapter. Thanks! |
git commit -a -m Solved
Changes in chapter 4 as of 3b598ed |
I think I have finally processed all of these. Thank you! |
Hi Allen,
Thanks for your book, it's great.
I executed the code in section 4.2, which reads as follows in your source TeX code:
When I executed this
I get an error due to the fact that
index
is not an integer, but a floating point value.I suggest using a cast to int as in
I guess this solution still needs checking for appropriate rounding...
The text was updated successfully, but these errors were encountered: