In my statistics class, we're just beginning to talk about (point) estimation. I have a small question that might actually be due more to notation/definition than anything very conceptual:
Say you have a population $P$ of students in a classroom and you want to find the mean height by randomly selecting $n$ students $s_1,...,s_n$ in $S\subseteq P$ to measure. My book calls $X_1,...,X_n$ a random sample. I'm just a little confused as to what $X_i$ is defined to be (what $X_i$, as a random variable, is mapping from). In this example, my book would say {$X_1,...,X_n$} are the respective heights of the $n$ randomly selected students. Just to make sure I have the right picture in my head: $S$ is the ("first") sample space and $X:S\to\mathbb{R}$ is a random variable ($X$ is the "height" function defined on $S$). We denote $X_i$ as the restriction of $X$ to the $s_i$-th student in $S$. That is, we define $X_i:${$s_i$}$\to\mathbb{R}$ so $X_i(s_j)$ is not defined for $i\neq j$, and:
$X_1(s_1)=X(s_1)=x_1$
$X_2(s_2)=X(s_2)=x_2$
$.$
$.$
$.$
$X_n(s_n)=X(s_n)=x_n,$ where $x_1,...,x_n$ are the respective heights of the $n$ students. Then $Range(X)=${$X_1(s_1),...,X_n(s_n)$}$=${$X_1,....,X_n$} is considered the new sample space that we define the pmf/pdf $f$ on, where $f:\mathbb{R}\to\mathbb{R}$ and $f\circ X(s_1)=f(x_i)$.
Is this the right idea?