I am trying to use one equation in my thesis but that equation is long enough to fit in LaTeX format, I found one image but don't know how to convert that into LaTeX format, it uses some different symbols.
How to write this in LaTeX and make it small.
What I have tried:
\begin{equation}
\frac{\sum_{i j}\left(\begin{array}{l}{n_{i j}} \\ {2}\end{array}\right)-\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right) \sum_{j}\left(\begin{array}{l}{b_{j}} \\ {2}\end{array}\right)\right] /\left(\begin{array}{l}{n} \\ {2}\end{array}\right)}{\frac{1}{2}\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right)+\sum_{j}\left(\begin{array}{l}{b_{j}} \\ {2}\end{array}\right)-\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right) \sum_{j}\left(\begin{array}{l}{a_{j}} \\ {2}\end{array}\right)\right] /\left(\begin{array}{l}{n} \\ {2}\end{array}\right)\right.}
\end{equation}
But it's appearing like this:
Edit:
%File: formatting-instruction.tex
\documentclass[letterpaper]{article}
\usepackage{aaai}
\usepackage{times}
\usepackage{helvet}
\usepackage{amsmath}
\usepackage{courier}
\frenchspacing
\setlength{\pdfpagewidth}{8.5in}
\setlength{\pdfpageheight}{11in}
\pdfinfo{
/Title (Insert Your Title Here)
/Author (Put All Your Authors Here, Separated by Commas)}
\setcounter{secnumdepth}{0}
\begin{document}
% The file aaai.sty is the style file for AAAI Press
% proceedings, working notes, and technical reports.
%
\title{Thesis}
\author{Anonymous Author
}
\maketitle
\begin{abstract}
\begin{quote}
AAAI creates proceedings, working notes, and technical reports directly from electronic source furnished by the authors. To ensure that all papers in the publication have a uniform appearance, authors must adhere to the following instructions.
\end{quote}
\end{abstract}
\section{Model}
In this section we describe the architecture of our model.
\begin{equation}
\frac{\sum_{i j}\left(\begin{array}{l}{n_{i j}} \\ {2}\end{array}\right)-\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right) \sum_{j}\left(\begin{array}{l}{b_{j}} \\ {2}\end{array}\right)\right] /\left(\begin{array}{l}{n} \\ {2}\end{array}\right)}{\frac{1}{2}\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right)+\sum_{j}\left(\begin{array}{l}{b_{j}} \\ {2}\end{array}\right)-\left[\sum_{i}\left(\begin{array}{l}{a_{i}} \\ {2}\end{array}\right) \sum_{j}\left(\begin{array}{l}{a_{j}} \\ {2}\end{array}\right)\right] /\left(\begin{array}{l}{n} \\ {2}\end{array}\right)\right.}
\end{equation}
\end{document}