Batxillerat/Una mica de tot 1r Socials/Estadística i Probabilitat
Regressió
(arrodoneix els resultats amb un decimal)
xi
|
yi
|
#x1
|
#n1
|
#x2
|
#n2
|
#x3
|
#n3
|
#x4
|
#n4
|
#x5
|
#n5
|
calcula
- la recta de regressió: y={#1}x+{#2}
- el coeficient de correlació lineal: {#3}
- el coeficient de determinació (en tant per cent, sense el símbol %): {#4}
]]>
4
0.5
0
0
(arrodoneix els resultats amb un decimal)
xi
|
yi
|
#x1
|
#n1
|
#x2
|
#n2
|
#x3
|
#n3
|
#x4
|
#n4
|
#x5
|
#n5
|
calcula
- la recta de regressió: y={1:SA:=#m}x+{1:SA:=#n}
- el coeficient de correlació lineal: {1:SA:=#r}
- el coeficient de determinació (en tant per cent, sense el símbol %): {1:SA:=#r2}
]]>
«session lang=¨ca¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»tolerància_relativa«/mi»«mo»(«/mo»«mi»fals«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»tolerància«/mi»«mo»(«/mo»«mn»0«/mn»«mo».«/mo»«mn»1«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«mi»aleatori«/mi»«mo»(«/mo»«mn»10«/mn»«mo».«/mo»«mo».«/mo»«mn»30«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x1«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x2«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x3«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x4«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x5«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»xx«/mi»«mo»=«/mo»«mo»{«/mo»«mi»x1«/mi»«mo»,«/mo»«mi»x2«/mi»«mo»,«/mo»«mi»x3«/mi»«mo»,«/mo»«mi»x4«/mi»«mo»,«/mo»«mi»x5«/mi»«mo»}«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n1«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n2«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n3«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n4«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n5«/mi»«mo»=«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»yy«/mi»«mo»=«/mo»«mo»{«/mo»«mi»n1«/mi»«mo»,«/mo»«mi»n2«/mi»«mo»,«/mo»«mi»n3«/mi»«mo»,«/mo»«mi»n4«/mi»«mo»,«/mo»«mi»n5«/mi»«mo»}«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»=«/mo»«mi»covariància«/mi»«mo»(«/mo»«mi»xx«/mi»«mo»,«/mo»«mi»yy«/mi»«mo»)«/mo»«mo»/«/mo»«mo»(«/mo»«mi»desviació_estàndard«/mi»«mo»(«/mo»«mi»xx«/mi»«mo»)«/mo»«mo»)«/mo»«mo»§Hat;«/mo»«mn»2«/mn»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n«/mi»«mo»=«/mo»«mi»arrodoneix«/mi»«mo»(«/mo»«mo»(«/mo»«mi»mitjana«/mi»«mo»(«/mo»«mi»yy«/mi»«mo»)«/mo»«mo»-«/mo»«mi»m«/mi»«mo»·«/mo»«mi»mitjana«/mi»«mo»(«/mo»«mi»xx«/mi»«mo»)«/mo»«mo»)«/mo»«mo»*«/mo»«mn»100«/mn»«mo».«/mo»«mo»)«/mo»«mo»/«/mo»«mn»100«/mn»«mo».«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»=«/mo»«mi»arrodoneix«/mi»«mo»(«/mo»«mi»correlació«/mi»«mo»(«/mo»«mi»xx«/mi»«mo»,«/mo»«mi»yy«/mi»«mo»)«/mo»«mo»*«/mo»«mn»100«/mn»«mo»)«/mo»«mo»/«/mo»«mn»100«/mn»«mo».«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»=«/mo»«mi»arrodoneix«/mi»«mo»(«/mo»«mi»m«/mi»«mo»*«/mo»«mn»100«/mn»«mo»)«/mo»«mo»/«/mo»«mn»100«/mn»«mo».«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r2«/mi»«mo»=«/mo»«mi»r«/mi»«mo»·«/mo»«mi»r«/mi»«mo»*«/mo»«mn»100«/mn»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»-«/mo»«mn»0.38«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»27.1«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»-«/mo»«mn»0.43«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r2«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»18.49«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»