Paul St-Aubin edited Methodology Flow.tex  almost 10 years ago

Commit id: 7f594565cf4472a076400d9bc2577854b77db5bd

deletions | additions      

       

\subsection{Modeling}  Mean speed can be nicely averaged as it is generally normally distributed. TTC however is not always nicely distributed. The behaviour data is effectively unbalanced panel data, where sites are the panels containing individual observations of behaviour (speed, TTC indicators, gap acceptance). As such, we elect to use random effects modeling using the formula  \begin{equation} \label{eqn:rextreg_model} Y_{ij} = \mu + {\sum}^{n}_{k=1} \beta_k X_{ij} X_{kij}  + u_{ij} + \epsilon_{ij} \end{equation} where $Y_{ij}$ is the safety indicator of the $j$th road user at the $i$th site, $\beta_k$ is the coeficient of factor $X_{kij}$ from $k=1..n$ factors and $\mu$ is the average safety indicator (base case). $u_{ij}$ and $\epsilon_{ij}$ are the between-entity error and within-entity error respectively.