Matrix Form of Multiple Linear Regression

Matrix Form of Multiple Linear Regression
Loading the math board and drawing, please wait…
2014-08-14 12:28
In collections Complex Math
This example demonstrates the application of linear algebra in multiple linear regression. Using vectors, matrices, and linear equations, it shows how to perform multiple linear regression in matrix form. Commands used include Polygon, Semicircle, Rotate, Segment, Mirror, Intersect, Point, Vector, Translate, OrthogonalLine, and Line. Suitable for students and teachers learning multiple linear regression and linear algebra.

GeoGebra Commands & Parameters

  1. Polygon(A, B, C, D) → poly1, a, b, c, d
  2. Semicircle(E, F) → e
  3. Rotate(e, 180*°, E) → e'
  4. Segment(A, C) → f
  5. Mirror(e', f) → e''
  6. Intersect(e'', f, 1) → G
  7. Intersect(e'', f, 1) → H
  8. Point(f) → I
  9. Point(e'') → J
  10. Segment(I, J) → g
  11. Point(f) → K
  12. Segment(J, K) → h
  13. Segment(J, E) → i
  14. Vector(L, M) → u
  15. Translate(e'', u) → e'''
  16. OrthogonalLine(N, f) → j
  17. OrthogonalLine(O, f) → k
  18. Segment(K, N) → l
  19. Segment(I, O) → m
  20. Line(P, f) → n
  21. Point(m) → Q
  22. Segment(I, Q) → p
  23. Point(l) → R
  24. Segment(K, R) → q
  25. OrthogonalLine(S, f) → r
  26. Intersect(r, f) → T
  27. Point(r) → U
  28. Segment(T, U) → s
  29. Intersect(n, q) → V
  30. Intersect(n, p) → W
  31. Segment(U, Q) → t
  32. Segment(V, E) → a_1
  33. Segment(V, W) → b_1
  34. Segment(I, K) → c_1
  35. Vector(Z, A_1) → v
  36. Vector(Z, B_1) → w
  37. Segment(U, E) → d_1
  38. Segment(K, C_1) → e_1
  39. Semicircle(J, E) → f_1
  40. Segment(D_1, E_1) → g_1
  41. Segment(F_1, G_1) → h_1
  42. Segment(H_1, I_1) → i_1
  43. Segment(J_1, K_1) → j_1
  44. Semicircle(L_1, M_1) → k_1
  45. Semicircle(N_1, O_1) → p_1
  46. Segment(P_1, Q_1) → l_1
  47. Segment(R_1, S_1) → m_1
  48. Segment(F_2, G_2) → h_2
  49. Segment(F_3, G_3) → h_3
  50. Intersect(b, c) → T_1
  51. Segment(T_1, U_1) → n_1
  52. Intersect(a, d) → V_1
  53. Segment(V_1, W_1) → q_1
  54. Segment(F_4, G_4) → h_4
  55. Segment(F_5, G_5) → h_5
  56. Point(c_1) → Z_1
  57. Segment(Z_1, A_2) → r_1
  58. Point(v) → B_2
  59. Line(C_2, v) → s_1
  60. Point(s_1) → D_2
  61. Segment(C_2, D_2) → t_1
  62. Segment(E_2, H_2) → a_2
  63. Segment(B_2, J) → b_2
  64. Polygon(V_1, I_2, J_2, K_2) → poly2, v_1, i_2, j_2, k_2
  65. Segment(H_3, I_3) → i_3
  66. Segment(H_4, I_4) → i_4
  67. Segment(H_5, I_5) → i_5
  68. Segment(H_6, I_6) → i_6
  69. Segment(H_7, I_7) → i_7
  70. Segment(H_8, I_8) → i_8
  71. Segment(H_9, I_9) → i_9
  72. Point(w) → L_2
  73. Segment(A_2, L_2) → c_2
  74. Point(v) → M_2
  75. Segment(A_2, M_2) → d_2
  76. Segment(N_2, O_2) → e_2
  77. Segment(N_3, O_3) → e_3
  78. Segment(P_2, Q_2) → f_2

AI Drawing Prompt Reference

Draw a matrix form of multiple linear regression. First, draw quadrilateral ABCD, then draw segment AC, next rotate semicircle e around point E by 180 degrees to get e', then mirror e' across line f to get e''. Find the intersections of e'' and f at points G and H, then draw line segments IJ and JK, next draw vector u and translate e'' by u to get e''', then draw lines j and k that are orthogonal to f, then draw line segments KL and IJ, next draw line segments MN and OP, then draw line segments QR and ST, finally draw line segments UV and WX.
The prompt above was compiled from the original drawing commands and is for reference only.