This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
City_MPG | Curb_Weight | Vehicle_Volume | Num_Cyclinders | Vehicle_Price | Engine_Size | |
---|---|---|---|---|---|---|
21 | 2548 | 528019.904 | 4 | 13495 | 130 | |
21 | 2548 | 528019.904 | 4 | 16500 | 130 | |
19 | 2823 | 587592.64 | 6 | 16500 | 152 | |
24 | 2337 | 634816.956 | 4 | 13950 | 109 | |
18 | 2824 | 636734.832 | 5 | 17450 | 136 | |
19 | 2507 | 624189.969 | 5 | 15250 | 136 | |
19 | 2844 | 766364.046 | 5 | 17710 | 136 | |
19 | 2954 | 766364.046 | 5 | 18920 | 136 | |
17 | 3086 | 769115.802 | 5 | 23875 | 131 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Car_Volume | Curb_Weight | Engine_Size | City_MPG | |
---|---|---|---|---|
528019.904 | 2548 | 130 | 21 | |
528019.904 | 2548 | 130 | 21 | |
587592.64 | 2823 | 152 | 19 | |
634816.956 | 2337 | 109 | 24 | |
636734.832 | 2824 | 136 | 18 | |
624189.969 | 2507 | 136 | 19 | |
766364.046 | 2844 | 136 | 19 | |
766364.046 | 2954 | 136 | 19 | |
769115.802 | 3086 | 131 | 17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
528019.904 | 2548 | 130 | 21 | |
---|---|---|---|---|
528019.904 | 2548 | 130 | 21 | |
587592.64 | 2823 | 152 | 19 | |
634816.956 | 2337 | 109 | 24 | |
636734.832 | 2824 | 136 | 18 | |
624189.969 | 2507 | 136 | 19 | |
766364.046 | 2844 | 136 | 19 | |
766364.046 | 2954 | 136 | 19 | |
769115.802 | 3086 | 131 | 17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make | Curb_Weight | Engine_Size | City_MPG | |
---|---|---|---|---|
alfa-romero | 2548 | 130 | 21 | |
alfa-romero | 2548 | 130 | 21 | |
alfa-romero | 2823 | 152 | 19 | |
audi | 2337 | 109 | 24 | |
audi | 2824 | 136 | 18 | |
audi | 2507 | 136 | 19 | |
audi | 2844 | 136 | 19 | |
audi | 2954 | 136 | 19 | |
audi | 3086 | 131 | 17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
from patsy import dmatrices | |
import numpy as np | |
import scipy.stats | |
import statsmodels.api as sm | |
import matplotlib.pyplot as plt | |
#Read the automobiles dataset into a Pandas DataFrame | |
df = pd.read_csv('automobile_uciml_3vars.csv', header=0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
import pandas as pd | |
import scipy.stats as st | |
import statsmodels.api as sm | |
import statsmodels.formula.api as smf | |
from matplotlib import pyplot as plt | |
import seaborn as sns | |
colors_master = ['blue', 'red', 'orange', 'lime', 'yellow', 'cyan', 'violet', 'yellow', | |
'sandybrown', 'silver'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import scipy.stats as st | |
import statsmodels.api as sm | |
import statsmodels.formula.api as smf | |
from matplotlib import pyplot as plt | |
import seaborn as sns | |
colors_master = ['blue', 'red', 'orange', 'lime', 'yellow', 'cyan', 'violet', 'yellow', | |
'sandybrown', 'silver'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import scipy.stats as st | |
import statsmodels.api as sm | |
import statsmodels.graphics.tsaplots as tsap | |
from statsmodels.compat import lzip | |
from statsmodels.stats.diagnostic import het_white | |
from matplotlib import pyplot as plt | |
import seaborn as sns | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COUNTRY | YEAR | GCF_GWTH_PCNT | GDP_PCAP_GWTH_PCNT | |
---|---|---|---|---|
Belgium | 1992 | 1.829137475 | 1.11956586 | |
Belgium | 1993 | -2.956525218 | -1.34799971 | |
Belgium | 1994 | 3.764435394 | 2.909318769 | |
Belgium | 1995 | 4.113740593 | 2.170550274 | |
Belgium | 1996 | 0.415438625 | 1.123669018 | |
Belgium | 1997 | 7.67936209 | 3.542789064 | |
Belgium | 1998 | 1.535928255 | 1.744323895 | |
Belgium | 1999 | 3.811360631 | 3.305706514 | |
Belgium | 2000 | 7.189729001 | 3.465452571 |