import os import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns import arviz as az import pymc as pm import pytensor.tensor as pt # Initialize random number generator RANDOM_SEED = 8927 rng = np.random.default_rng(RANDOM_SEED) az.style.use("arviz-darkgrid") df = pd.read_csv("../input/RStanBook/chap08/input/data-salary-2.txt") df["KID"] = df["KID"] -1 df.head(