{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "2c3a8382",
   "metadata": {},
   "source": [
    "# Linear Regression Analysis with Longley Dataset"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d129dea9",
   "metadata": {},
   "source": [
    "Import Required Libraries:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "811e7107",
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "import seaborn as sns\n",
    "import statsmodels.api as sm"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "1b22675d",
   "metadata": {},
   "source": [
    "Import data (also available for download at the website):"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a85f8615",
   "metadata": {},
   "outputs": [],
   "source": [
    "UN = pd.read_csv(\"https://asta.math.aau.dk/datasets?file=Longley.txt\", sep='\\t')\n",
    "UN.head()"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e068da08",
   "metadata": {},
   "source": [
    "Fit Linear Regression Model:"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6a8a6545",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Write code here"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2fe184e4",
   "metadata": {},
   "source": [
    "Create Pairwise Scatter Plots"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "69e99af8",
   "metadata": {},
   "outputs": [],
   "source": [
    "# Write code here"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
