I'm trying to solve a statistic exam and i got lost with this exercise.
1) Consider a sample from a continuos probability distribution with density:
$$ f(x) = \begin{cases} (1+\theta x)/8 & \text{if }-4<x<4, \\ 0 & \text{otherwise.} \end{cases} $$
a) Is $\bar\theta = \frac{3}{16}X$ (this $X$ is the sample median) an unbiased estimator of $\theta$?
Where should i start? Should i integrate the function, and compare the expected value of it with the expected value of the estimator? How do i integrate if i don't know which value should i assign to $\theta$? (should i integrate leaving it as a constant?)
I hope you understand, i translated the exercise, maybe some term are different in english.
We calculate the mean of the estimator $\frac{3}{16}X$. This is $\frac{3}{16}$ times the mean of $X$.
The mean of $X$ is $$\int_{-4}^{4} x\frac{1+\theta x}{8}\,dx.$$ Integrating $\frac{1}{8}(x+\theta x^2)$ is straightforward. The definite integral turns out to be $\frac{16}{3}\theta$. Multiply by $\frac{3}{16}$, and we do get $\theta$. Thus we do have an unbiased estimator of $\theta$.
Unbiasedness is an important quality in an estimator: it is good if the estimator is on average right. (But there are some instances where a slightly biased estimator has compensating properties that make it attractive.)
On your question about $\theta$, yes, it is an unknown distribution parameter. There are some restrictions on $\theta$, since a density function can never be negative. It turns out that we must have $-\frac{1}{4}\le \theta\le \frac{1}{4}$.
There are many distributions in which there is one or more free parameter. The most important is the normal, with parameters $\mu$ and $\sigma^2$, but there is also the binomial, with parameters $p$ and $n$, and so on. Estimating the value of a parameter is an important statistical task.