Assignment 8 question 7 (chap 19 q 7)

Assignment 8 question 7 (chap 19 q 7)

by Meir -
Number of replies: 2

Could anyone advise on this question, as I'm not sure I'm doing the right thing.

The test statistics for each variable is calculated  - t= (betai - beta i0)/se(betai).

For example, the t calculated for Diet group  t=-2.598

n  42+38 = 80, q = 4 so df for the t = 80-4-1 = 75

p-val = display ttail(df,t) = 0.994

When calculating all p values for all betas, with the exception of one, all come out non significant. Which makes part b,c and d of this question non relevant

Thank you

Meir

In reply to Meir

Re: Assignment 8 question 7 (chap 19 q 7)

by Judith Hahn -

Hi, you are looking for the probability you have a t value as or more extreme as -2.598.  When you have a negative t, you need to subtract your result from one, or remember that the t distribution is symmetric and use the positive value.

Also if you are doing a 2-sided test you need to account for that.

Judy

In reply to Judith Hahn

Re: Assignment 8 question 7 (chap 19 q 7)

by Meir -

Thank you Judith for reminding that

 

Meir