Difference between revisions of "NL/Documentation/How Tos/Calc: functie LIJNSCH"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Problemen:)
 
(17 intermediate revisions by 3 users not shown)
Line 10: Line 10:
 
: <tt>'''GegevensX'''</tt> is een corresponderend bereik van één enkele rij of kolom die de <i>X</i>-coördinaten specificeert. Als <tt>'''GegevensX'''</tt> wordt weggelaten wordt als standaard <tt>'''1, 2, 3, ..., n'''</tt> ingevuld. Als er meer dan één verzameling variabelen is, mag <tt>'''GegevensX'''</tt> een bereik zijn met overeenkomende meerdere rijen of kolommen.
 
: <tt>'''GegevensX'''</tt> is een corresponderend bereik van één enkele rij of kolom die de <i>X</i>-coördinaten specificeert. Als <tt>'''GegevensX'''</tt> wordt weggelaten wordt als standaard <tt>'''1, 2, 3, ..., n'''</tt> ingevuld. Als er meer dan één verzameling variabelen is, mag <tt>'''GegevensX'''</tt> een bereik zijn met overeenkomende meerdere rijen of kolommen.
  
: <tt>'''LIJNSCH'''</tt> finds a straight line ''y'' = ''a'' + ''bx'' that best fits the data, using linear regression (the "least squares" method). With more than one set of variables the straight line is of the form ''y'' = ''a'' + ''b<sub>1</sub>x<sub>1</sub>'' + ''b<sub>2</sub>x<sub>2</sub>'' ... + ''b<sub>n</sub>x<sub>n</sub>''.
+
: <tt>'''LIJNSCH'''</tt> vindt een rechte lijn ''y'' = ''a'' + ''bx'' die het beste bij de gegevens past, met behulp van lineaire regressie (de "kleinste kwadraten"-methode). Met meer dan één verzameling van variabelen is de rechte lijn in de vorm ''y'' = ''a'' + ''b<sub>1</sub>x<sub>1</sub>'' + ''b<sub>2</sub>x<sub>2</sub>'' ... + ''b<sub>n</sub>x<sub>n</sub>''.
  
: if <tt>'''allow_const'''</tt> is <tt>'''FALSE'''</tt> the straight line found is forced to pass through the origin (the constant ''a'' is zero; ''y'' = ''bx''). If omitted, <tt>'''allow_const'''</tt> defaults to <tt>'''TRUE'''</tt> (the line is not forced through the origin).
+
: als <tt>'''Lineairtype'''</tt> is <tt>'''ONWAAR'''</tt> wordt de gevonden rechte lijn gedwongen om door de oorsprong te gaan (de constante ''a'' is nul; ''y'' = ''bx''). Indien weggelaten is <tt>'''Lineairtype'''</tt> standaard <tt>'''WAAR'''</tt> (de lijn wordt niet gedwongen door de oorsprong te gaan).
  
: <tt>'''LIJNSCH '''</tt> returns a table (array) of statistics as below and must be entered as an [[Documentation/How_Tos/Using Arrays|array formula]] (for example by using '''Cntrl-Shift-Enter''' rather than just '''Enter''')
+
: <tt>'''LIJNSCH '''</tt> geeft een tabel (matrix) terig van statistieken zoals hieronder en moet worden ingevoerd als een [[NL/Documentation/How_Tos/Matrices gebruiken|matrixformule]] (bijvoorbeeld door {{key|Ctrl|Shift|Enter}} te gebruiken in plaats van gewoon {{key|Enter}}.)
  
: If <tt>'''stats'''</tt> is omitted or <tt>'''FALSE'''</tt> only the top line of the statistics table is returned. If <tt>'''TRUE'''</tt> the entire table is returned.
+
: als <tt>'''Statistieken'''</tt> wordt weggelaten of <tt>'''ONWAAR'''</tt> is, wordt alleen de bovenste regel van de statistiekentabel teruggegeven. Indien <tt>'''WAAR'''</tt> wordt de gehele tabel teruggegeven.
  
  
 
[[Image:Calc_linest_output.png|right]]
 
[[Image:Calc_linest_output.png|right]]
: ''b<sub>1</sub>'' to ''b<sub>n</sub>'' are the line gradients;  ''a'' is the ''y''-axis intercept.
+
: ''b<sub>1</sub>'' tot en met ''b<sub>n</sub>'' zijn de lijnverlopen;  ''a'' is het snijpunt met de ''Y''-as.
  
: ''&sigma;<sub>1</sub>'' to ''&sigma;<sub>n</sub>'' are the standard error values for the line gradients; ''&sigma;<sub>a</sub>'' is the standard error value for the ''y''-axis intercept.
+
: ''&sigma;<sub>1</sub>'' tot en met ''&sigma;<sub>n</sub>'' zijn de standaard foutwaarden voor de lijnverlopen; ''&sigma;<sub>a</sub>'' is de standaard foutwaarde voor het snijpunt met de ''Y''-as.
  
:''r<sup>2</sup>'' is the determination coefficient ([[Documentation/How_Tos/Calc: RSQ function|RSQ]]); ''&sigma;<sub>y</sub>'' is the standard error value for the ''y'' estimate.
+
:''r<sup>2</sup>'' is de determinatie-coëfficient ([[NL/Documentation/How_Tos/Calc: functie R.KWADRAAT|R.KWADRAAT]]); ''&sigma;<sub>y</sub>'' is de standaard foutwaarde voor de schatting van ''Y''.
  
: ''F'' is the F statistic (F-observed value); ''df'' is the number of degrees of freedom.
+
: ''F'' is de F-statistiek (F-waargenomen waarde); ''df'' is het aantal vrijheidsgraden.
  
: ''ss<sub>reg</sub>'' is the regression sum of squares;  ''ss<sub>resid</sub>'' is the residual sum of squares.
+
: ''ss<sub>reg</sub>'' is de regressie-som van de kwadraten;  ''ss<sub>resid</sub>'' is het residu van de som van de kwadraten.
  
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
=== Example: ===
+
=== Voorbeeld: ===
  
[[Image:Calc_linest_example.png|center]]
+
[[Image:Calc_nl_Lijnsch00.png|center]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
:In the example above, cells A2:B8 contain the ''x'',''y'' values for a set of points. <tt>'''LIJNSCH(B2:B8;A2:A8;1;1)'''</tt> returns the statistics for the best fit line through those points.
+
:In het voorbeeld hierboven, bevatten de cellen A2:B8 de ''x''-,''y''-waarden voor een verzameling punten. <tt>'''LIJNSCH(B2:B8;A2:A8;1;1)'''</tt> geeft de statistieken terug voor de best passende lijn door deze punten.
  
  
[[Image:Calc_linest_example2.png|center]]
+
[[Image:Calc_nl_Lijnsch01.png|center]]
 
<br style="clear:both;" />
 
<br style="clear:both;" />
  
: In the example above, you measure the floor area and count the windows of a sample of houses in the area, and make a table with the corresponding sale value (cells <tt>'''A2:C8'''</tt>). To predict the value of other houses in the area you might use: ''value'' = ''a'' + ''b<sub>1</sub>''*''floor_area'' + ''b<sub>2</sub>''*''num_windows'', where ''a'', ''b<sub>1</sub>'' and ''b<sub>2</sub>'' are constants. <tt>'''LIJNSCH(A2:A8;B2:C8;1;1)'''</tt> returns appropriate statistics for that equation.
+
: In het voorbeeld hierboven meet u de vloeroppervlakte en telt het aantal vensters van een voorbeeldwoning in het gebied en maakt een tabel met de overeenkomende verkoopwaarde (cellen <tt>'''A2:C8'''</tt>). U zou: ''waarde'' = ''a'' + ''b<sub>1</sub>''*''vloeropp'' + ''b<sub>2</sub>''*''aant_vensters'' kunnen gebruiken om de verkoopwaarde van andere huizen in het gebied te voorspellen, waarbij ''a'', ''b<sub>1</sub>'' en ''b<sub>2</sub>'' constanten zijn. <tt>'''LIJNSCH(A2:A8;B2:C8;1;1)'''</tt> geeft de toepasselijke statistieken terug voor die vergelijking.
  
=== See also: ===
+
=== Problemen: ===
[[Documentation/nl/How_Tos/Calc: functie LOGSCH|'''LOGSCH''']],
+
* U moet goed op de hoogte zijn van de betrokken statistiek.
[[Documentation/nl/How_Tos/Calc: functie TREND|'''TREND''']],
+
* Lege cellen in de uitvoermatrix geven <tt>'''#N/B'''</tt> weer (in Calc en Excel).
[[Documentation/nl/How_Tos/Calc: functie R.KWADRAAT|'''R.KWADRAAT''']],
+
[[Documentation/nl/How_Tos/Calc: functie SNIJPUNT|'''SNIJPUNT''']],
+
[[Documentation/nl/How_Tos/Calc: functie STIJGING|'''STIJGING''']]
+
  
[[Documentation/nl/How_Tos/Matrices gebruiken|'''Hoe matrices te gebruiken in Calc''']]
+
{{NL/Documentation/ZieOok|
 +
* [[NL/Documentation/How_Tos/Calc: functie LOGSCH|LOGSCH]]
 +
* [[NL/Documentation/How_Tos/Calc: functie TREND|TREND]]
 +
* [[NL/Documentation/How_Tos/Calc: functie R.KWADRAAT|R.KWADRAAT]]
 +
* [[NL/Documentation/How_Tos/Calc: functie SNIJPUNT|SNIJPUNT]]
 +
* [[NL/Documentation/How_Tos/Calc: functie STIJGING|STIJGING]]
  
[[Documentation/nl/How_Tos/Calc: Array functions|'''Array functions''']]
+
* [[NL/Documentation/How_Tos/Matrices gebruiken|Hoe matrices te gebruiken in Calc]]
  
[[Documentation/nl/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[NL/Documentation/How_Tos/Calc: Matrixfuncties|Matrixfuncties]]
[[Documentation/nl/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
  
=== Problemen: ===
+
* [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']]
* U moet goed op de hoogte zijn van de betrokken statistiek.
+
* [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}}
* Lege cellen in de uitvoer-matrix tonen <tt>'''#N/B'''</tt> (in Calc en Excel).
+
[[Category: NL/Documentation/Reference/Calc]]

Latest revision as of 16:43, 28 January 2024


LIJNSCH

Geeft een tabel met statistieken terug voor een rechte lijn die het beste past voor een gegevensverzameling.

Syntaxis:

LIJNSCH(GegevensY; GegevensX; Lineairtype; Statistieken)

GegevensY is een bereik van één enkele rij of kolom die de Y-coördinaten specificeert in een verzameling gegevenspunten.
GegevensX is een corresponderend bereik van één enkele rij of kolom die de X-coördinaten specificeert. Als GegevensX wordt weggelaten wordt als standaard 1, 2, 3, ..., n ingevuld. Als er meer dan één verzameling variabelen is, mag GegevensX een bereik zijn met overeenkomende meerdere rijen of kolommen.
LIJNSCH vindt een rechte lijn y = a + bx die het beste bij de gegevens past, met behulp van lineaire regressie (de "kleinste kwadraten"-methode). Met meer dan één verzameling van variabelen is de rechte lijn in de vorm y = a + b1x1 + b2x2 ... + bnxn.
als Lineairtype is ONWAAR wordt de gevonden rechte lijn gedwongen om door de oorsprong te gaan (de constante a is nul; y = bx). Indien weggelaten is Lineairtype standaard WAAR (de lijn wordt niet gedwongen door de oorsprong te gaan).
LIJNSCH geeft een tabel (matrix) terig van statistieken zoals hieronder en moet worden ingevoerd als een matrixformule (bijvoorbeeld door  Ctrl  +  ⇧ Shift  +  ↵ Enter  te gebruiken in plaats van gewoon  ↵ Enter .)
als Statistieken wordt weggelaten of ONWAAR is, wordt alleen de bovenste regel van de statistiekentabel teruggegeven. Indien WAAR wordt de gehele tabel teruggegeven.


Calc linest output.png
b1 tot en met bn zijn de lijnverlopen; a is het snijpunt met de Y-as.
σ1 tot en met σn zijn de standaard foutwaarden voor de lijnverlopen; σa is de standaard foutwaarde voor het snijpunt met de Y-as.
r2 is de determinatie-coëfficient (R.KWADRAAT); σy is de standaard foutwaarde voor de schatting van Y.
F is de F-statistiek (F-waargenomen waarde); df is het aantal vrijheidsgraden.
ssreg is de regressie-som van de kwadraten; ssresid is het residu van de som van de kwadraten.


Voorbeeld:

Calc nl Lijnsch00.png


In het voorbeeld hierboven, bevatten de cellen A2:B8 de x-,y-waarden voor een verzameling punten. LIJNSCH(B2:B8;A2:A8;1;1) geeft de statistieken terug voor de best passende lijn door deze punten.


Calc nl Lijnsch01.png


In het voorbeeld hierboven meet u de vloeroppervlakte en telt het aantal vensters van een voorbeeldwoning in het gebied en maakt een tabel met de overeenkomende verkoopwaarde (cellen A2:C8). U zou: waarde = a + b1*vloeropp + b2*aant_vensters kunnen gebruiken om de verkoopwaarde van andere huizen in het gebied te voorspellen, waarbij a, b1 en b2 constanten zijn. LIJNSCH(A2:A8;B2:C8;1;1) geeft de toepasselijke statistieken terug voor die vergelijking.

Problemen:

  • U moet goed op de hoogte zijn van de betrokken statistiek.
  • Lege cellen in de uitvoermatrix geven #N/B weer (in Calc en Excel).

Zie ook

Personal tools