In my worksheet today my intention was to compare the least squares linear regression for three datasets as indicated, but when I right click on the output as seen in the bottom line to select the plot type, all options state there to be independant variables K[0] and K[1], where as the output displays only the variable K as I intended, which part of my code is creating this confusion for maple?
|
Worksheet Specific Investigation Content
|
|
> |
![S[0] := proc (N, K) options operator, arrow; map(simplify, {seq(seq(seq(piecewise((a^`ϕ`(b))^(1/(c+1))-floor((a^`ϕ`(b))^(1/(c+1))) = 0, [a, b, c], NULL), a = 1 .. N), b = 1 .. N), c = 1 .. K)}, 'radical') end proc](/view.aspx?sf=230314_question/a6c9618cae135e64634e78b67919746a.gif)
|
> |
|
> |
|
> |
|
> |
], k = 1 .. 10)], K), CurveFitting[LeastSquares]([seq([k, CardRatio(3, k)], k = 1 .. 10)], K), CurveFitting[LeastSquares]([seq([k, CardRatio(4, k)], k = 1 .. 10)], K)}](/view.aspx?sf=230314_question/9c013ae1ea2c862a92400ed5035a9d99.gif)
|
|
(1.1) |
> |
|
|
|
Download ask_maple.mw