You will first have to install the following packages, if you still haven't. For example, the following cell if uncommented will do it.
#using Pkg
#Pkg.add(["HTTP", "JSON", "PyPlot"])
The following cell will load the fitting_outliers.json
file that you need for this assignment.
using HTTP, JSON, PyPlot
resp = HTTP.get("https://jonghank.github.io/ee787/files/fitting_outliers.json")
str = String(resp.body)
jobj = JSON.Parser.parse(str)
U = jobj["U"]["data"]
v = jobj["v"]["data"]
figure(figsize=(6,6), dpi=100)
plot(U,v, "o", alpha=0.5)
xlabel("U")
ylabel("v")
grid()
show()
The rest is for you...
# your code here