I have to check if the following models are linear and if so setup the design matrix. In case they are not linear I have to find a transformation $h: \mathbb{R}^n \rightarrow \mathbb{R}^n$ such that $h(Y)$ is linear and then set up the design matrix.
Let $\epsilon_1,..,\epsilon_n$ ~ $\mathcal{N}(0,\sigma^2), n>3$ i.i.d.. Let $x_1,...,x_n$ known and $\beta_1,\beta_2,\beta_3$ unknown real numbers.
- $Y_i = \beta_1 + \beta_2 x_i^2 + \epsilon_i$
- $Y_i = \beta_1 + \beta_2 x_i + \epsilon_i^2$
- $Y_i = e^{\beta_1} e^{\beta_2 x_i} x_i^{\beta_3} e^{\epsilon_i}$
I don't know what part has to be linear. For 1) I'd let the design matrix
\begin{matrix}
1 & x_1^2\\
1 & x_2^2 \\
.... & ... \\
1 & x_n^2
\end{matrix}
Is this correct? Is this model linear?
For 2) I'm not sure if its okay that $\epsilon$ is squared.
For 3) this doesn't look linear in any way. Is $h = (\log(Y_1),...,\log(Y_n))$ a correct transformation? And design matrix
\begin{matrix}
1 & x_1 & \log{x_1}\\
1 & x_2 & \log{x_2} \\
.... & ... & ... \\
1 & x_n & \log{x_n}
\end{matrix}
Edit: In the definition of the linear model I have is $X=A\gamma+\sqrt{v}\xi$ and $\xi$ is a standard random vector. So are those only linear models if σ=1?