Hi There.
Thank you for sharing the example. It is about 3-years old
and I was wondering if you could point me to a more current
example?
If not, could you help me adapt it to a DF I am working with?
This reference code:
x = collect(range(0, 2, length= 100))
y1 = exp.(x)
y2 = exp.(1.3 .* x)
mid = (y1 .+ y2) ./ 2 #the midpoints (usually representing mean values)
w = (y2 .- y1) ./ 2 #the vertical deviation around the means
stp.plot(x, y1, fillrange = y2, fillalpha = 0.35, c = 1, label = "Confidence band", legend = :topleft)
stp.plot(x, mid, ribbon = w , fillalpha = 0.35, c = 1, lw = 2, legend = :topleft, label = "Mean")
stp.plot!(x,y1, line = :scatter, msw = 0, ms = 2.5, label = "Lower bound")
stp.plot!(x,y2, line = :scatter, msw = 0, ms = 2.5, label = "Upper bound")
The type of DF I am working with is:
Y = rand(1:5:300,10)
Col1 = rand(1:01:50,10)
Col2 = rand(1:02:75,10)
How do I assign a range in this example?
Is it necessary to use the (.exp) prefix? Instead
should I use GLM to generate the coeffcients &
intercept? If so, how might I apply to our use case?
Thank you ,