I entered this dataframe and the GLM function below:
DEmployment = [0.036327933,0.034107058,0.030691709,0.029333333,-0.008635579,0.010452962,0.017672414,0.024565862,0.030177759,0.01565008,0.02094034,0.011609907,0.00841622,-0.012139605,0.006184067,0.006869125,0.008617594,-0.004271983,0.002860207,0.01426025,-0.006678383,-0.009200283,-0.003928571,0.000358551,0.006810036,0.005695977,-0.001769912,-0.007446809,0.009646302,0.009907997,0.001751927,0.036327933]
DBirths = [-0.014116817,-0.028458922,0.00036846,-0.010865562,-0.025507354,-0.007260222,-0.011932256,-0.002337359,-0.012495119,0,-0.012653223,0.057669203,0.007194245,0.030075188,-0.018691589,0.00952381,-0.009433962,0.00952381,0.028301887,0.027522936,0.008928571,0,-0.017699115,-0.009009009,0,-0.018181818,0,-0.009259259,-0.009345794,-0.028301887,-0.019417476,-0.028458922]
df = DataFrame(A=DEmployment, B=DBirths)
using GLM
ols = lm(@formula(A ~ B), df)
I recived this output
A ~ 1 + B
Coefficients:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Estimate Std. Error t value Pr(>|t|) Lower 95% Upper 95%
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Intercept) 2.5 1.11803 2.23607 0.1548 -2.31051 7.31051
B: M 0.0 1.58114 0.0 1.0000 -6.80309 6.80309
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Does B:M, refer to the probability of the slope? Where do I find R^2 for the relationship between A and B?