{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Statistical significance\n",
"\n",
"[Previously,](02b_mechanics.html#including-interaction-terms) we estimated \n",
"\n",
"$$\n",
"\\log(\\text{price})= 8.2+ 1.53 *\\log(\\text{carat}) + 0.33* \\text{Ideal} + 0.18* \\log(\\text{carat})\\cdot \\text{Ideal}\n",
"$$\n",
"\n",
"Those coefficients are _estimates_, not gospel. There is some uncertainty about what the \"true\" value should be.\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"tags": [
"hide-input"
]
},
"outputs": [
{
"data": {
"text/html": [
"
coef | std err | t | P>|t| | [0.025 | 0.975] | \n", "|
---|---|---|---|---|---|---|
Intercept | 8.1954 | 0.007 | 1232.871 | 0.000 | 8.182 | 8.208 | \n", "
ideal[T.True] | 0.3302 | 0.007 | 46.677 | 0.000 | 0.316 | 0.344 | \n", "
lcarat | 1.5282 | 0.015 | 103.832 | 0.000 | 1.499 | 1.557 | \n", "
lcarat:ideal[T.True] | 0.1822 | 0.015 | 12.101 | 0.000 | 0.153 | 0.212 | \n", "