• We are pleased to announce that the winner of our Feedback Prize Draw for the Winter 2024-25 session and winning £150 of gift vouchers is Zhao Liang Tay. Congratulations to Zhao Liang. If you fancy winning £150 worth of gift vouchers (from a major UK store) for the Summer 2025 exam sitting for just a few minutes of your time throughout the session, please see our website at https://www.acted.co.uk/further-info.html?pat=feedback#feedback-prize for more information on how you can make sure your name is included in the draw at the end of the session.
  • Please be advised that the SP1, SP5 and SP7 X1 deadline is the 14th July and not the 17th June as first stated. Please accept out apologies for any confusion caused.

IAI Sept 2017 Q5--

A

Aditya T.

Member
Help needed on the 1st part of the question. The linear functions appear to be too tricky and also the estimation of number of parameters. Thanks!Screen Shot 2017-09-17 at 8.51.15 AM.png
 
For a variable (ie numerical data that you put in the formula) you do a linear function of it - so it will have 2 parameters
Hence VS which is a variable x would have a formula a +bx with 2 parameters (a and b)

For a factor you assign a parameter to each category.
Hence type of sea would be \(S_i\) with 12 parameters (\(S_1 , S_2, ....., S_{12}\).
 
For a variable (ie numerical data that you put in the formula) you do a linear function of it - so it will have 2 parameters
Hence VS which is a variable x would have a formula a +bx with 2 parameters (a and b)

For a factor you assign a parameter to each category.
Hence type of sea would be \(S_i\) with 12 parameters (\(S_1 , S_2, ....., S_{12}\).
Thanks for your reply, John. But could you explain the number of parameters and the linear predictor for the second, second last and last one?
 
AA is a variable, so log(AA) we do a linear function of it: \(a+blog(AA)\). Same with \(AA^2\). But recall that when you add covariates you always lose a constant parameter (as two will combine). This gives: \(a+blog(AA)+cAA^2\). You can see there are 3 parameters.

There is a mistake in the second last. It should read: AA + AS + AA.AS
This is equivalent to AA*AS.
Recall that when we do interactive covariates we multiply the formulae together: \(a+blog(AA) * A_i = a_i + b_ilog(AA)\)
Since i here goes from 1 to 15 - there will be 30 parameters.

You should be able to do the last one now.
 
Also, could you let me know how to estimate the residual degrees of freedom? Thanks, A.
 
Back
Top