Skip to content

Commit

Permalink
a few more typos fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gina committed Nov 6, 2014
1 parent f2eef6a commit 8d0985d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Statistical_Inference/Power/lesson
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
FigureType: new

- Class: cmd_question
Output: We've shamelessly stolen code plotting code from the slides so you can see H_a in action. Let's look at pictures before we delve into numbers. We've fixed mu_0 at 30, sigma (standard deviation) at 4 and n (sample size) at 16. The function myplot just needs an alternative mean, mu_a, as argument. Run myplot now with an argument of 34 to see what it does.
Output: We've shamelessly stolen plotting code from the slides so you can see H_a in action. Let's look at pictures before we delve into numbers. We've fixed mu_0 at 30, sigma (standard deviation) at 4 and n (sample size) at 16. The function myplot just needs an alternative mean, mu_a, as argument. Run myplot now with an argument of 34 to see what it does.
CorrectAnswer: myplot(34)
AnswerTests: omnitest(correctExpr='myplot(34)')
Hint: Type myplot(34) at the command prompt.
Expand Down
4 changes: 2 additions & 2 deletions Statistical_Inference/T_Confidence_Intervals/lesson
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@
- Class: cmd_question
Output: Let's compute the degrees of freedom first. Start with the numerator. It's the square of the sum of two terms. Each term is of the form s^2/n. Do this now and put the result in num. Our numbers were 15.34 with size 8 and 18.23 with size 21.
CorrectAnswer: num <- (15.34^2/8 + 18.23^2/21)^2
AnswerTests: expr_creates_var('num')'; omnitest(correctExpr='num <- (15.34^2/8 + 18.23^2/21)^2')
AnswerTests: expr_creates_var('num'); omnitest(correctExpr='num <- (15.34^2/8 + 18.23^2/21)^2',correctVal=2046.6418737445)
Hint: Type num <- (15.34^2/8 + 18.23^2/21)^2 at the command prompt.

- Class: cmd_question
Output: Now the denominator. This is the sum of two terms. Each term has the form s^4/n^2/(n-1). These look a little different than the form displayed but they're equivalent. Put the result in the variable den. Our numbers were 15.34 with size 8 and 18.23 with size 21.
CorrectAnswer: den <- 15.34^4/8^2/7 + 18.23^4/21^2/20
AnswerTests: expr_creates_var('den'); omnitest(correctExpr='den <- 15.34^4/8^2/7 + 18.23^4/21^2/20',correctVal=136.1235)
AnswerTests: expr_creates_var('den'); omnitest(correctExpr='den <- 15.34^4/8^2/7 + 18.23^4/21^2/20',correctVal=136.123536407433)
Hint: Type den <- 15.34^4/8^2/7 + 18.23^4/21^2/20 at the command prompt.

- Class: cmd_question
Expand Down

0 comments on commit 8d0985d

Please sign in to comment.