I am plotting 2 normal distribution in Python. if anyone could provide an R version to demonstrate and explain, that would be grateful.
f, a = plt.subplots(figsize=(3,3)) x1 = np.random.normal(loc=3.0, size=1000) y1 = np.random.normal(loc=2.0, size=1000) plt.xlim(-5,15) plt.ylim(-5,15) a.scatter(x1,y1,color='red', marker='+',s=15, alpha=.05) plt.show()
x1, y1 are 2 independent(thanks to @mlofton) separate random variables with different normal distributions.
plotting x1, y1, produces this figure
the question is, is it reasonable to consider the red circle as the geometric representation of a joint probability distribution?
if yes, what a math formula is?