\documentclass[a4paper,12pt]{report}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[round]{natbib}
\usepackage{pgf}
\usepackage{url}
\usepackage[english]{babel}
\usepackage{multirow}
\usepackage{fancyhdr}
\usepackage{anysize}
\usepackage{amsmath, mathtools}
\begin{document}
\begin{equation}\label{eq:20}
\begin{split} \
\MoveEqLeft[3] \{T_{1} \in (x_{1},x_{1}+h_{1}],\dots,T_{n} \in (x_{n},x_{n}+h_{n}], N(t)=n\} = \\
&\{N(0,x_{1}]=0, N(x_{1},x_{1}+h_{1}] = 1, N(x_{1}+h_{1},x_{2}]=0, \\
& N(x_{2}, x_{2}+h_{2}]=1,\dots, N(x_{n-1}+h_{n-1},x_{n}]=0, \\
& N(x_{n},x_{n}+h_{n}]=1, N(x_{n}+h_{n},t]=0\}
\end{split}
\end{equation}
Taking probabilities on both sides and using the property of independen increments of the Poisson Process N, we obtain:
\begin{equation} \label{eq:21}
\begin{split}
\MoveEqLeft[6] P(T_{1} \in (x_{1},x_{1}+h_{1}], \dots, T_{n} \in (x_{n},x_{n}+h_{n}], N(t)=n) \\ P(N(0,x_{1}]=0)P(N(x_{1},x_{1}+h_{1}]=1)P(N(x_{1}+h_{1},x_{2}]=0)= \\
& P(N(x_{2},x_{2}+h{2}]=1) \dots P(N(x_{n-1}+h_{n-1},x_{n}]=0) \\
&P(N(x_{n}, x_{n}+h_{n}]=1) P(N(x_{n}+h_{n},t]=0)= \\
&e^{-\mu(x_{1}}[\mu(x_{1},x_{1}+h_{1}]e^{-\mu(x_{1},x_{1}+h_{1}]}]e^{-\mu(x_{1}+h_{1},x_{2}]} \\
&[\mu(x_{2},x_{2}+h_{2}]e^{-\mu(x_{2}, x_{2}+h_{2}]}] \dots e^{-\mu(x_{n-1}+h_{n-1},x_{n}]} \\
&[\mu(x_{n}, x_{n}+h_{n}]e^{-\mu(x_{n}, x_{n}+h_{n}]]e^{\mu(x_{n}+h_{n},t]}= \\
&e^{-\mu(t)} \mu(x_{1}, x_{1}+h_{1}] \dots \mu(x_{n}, x_{n}+h_{n}]
\end{split}
\end{equation}
\end{document}
I write this in LaTeX and I have an error.
Gives me error because I have other split before?
Can I help me to solve equation?
\documentclass{}
is not enough, because your equation may use packageamsmath
or something... By the way, there are more{
than}
in your equation, which clearly leads to a fatal error.usepackage
not in comment, but edit your MWE. I did it for you. Btw, I am not a scientist, but your code would be more readable if you indent your equations. Most TeX editors have functions that allow you to jump from one opening brace to the closing one. Use them to track the unclosed one.}
ine^{-\mu(x_{n}, x_{n}+h_{n}
two lines up from the bottom you then just get warnings that it is too wide