ggplot in Python- Part 4

Diamonds are costly, and their value is affected by various qualitative and quantitative.  In this post we will try to evaluate some of the factors that contribute in making it costly.

Check the density of diamond

pptdeni

pptdeno

PRICE VS LENGTH

pptli

pptlo

PRICE VS BREADTH

pptbi

pptbo

PRICE VS HEIGHT

pptbi

pptbo

PRICE VS VOLUME

pptvi

pptvo

PRICE VS DEPTH

pptdi

pptc35

PRICE VS TABLE

pptt

Observations so far:

OBSERVATION 1:Zero values of x,y,z are not shown in the graph, since they were dropped before mapping.

OBSERVATION 2:Linear plot of weight VS volume means the slope is uniform,hence density is uniform throughout the data set. As expected!

OBSERVATION 3: As the length/breadth/height of diamond increases, its price increases.

OBSERVATION 4: There seems to be a quadratic relation between the price and the length/breadth/height, as the line is not perfectly straight but curved.The length,breadth,height as we saw had high correlation with price, the plot and regression line support the same.

OBSERVATION 5: What does the horizontal blue line in the Price vs Depth signify? Horizontal line of regression means that price is largely INDEPENDENT of the depth.

OBSERVATION 6:The plot of Price vs Table is vertical in nature. i.e of type x=constant, making y independent of x. This means that like the depth, table does not help determing the price values.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s