Difference between revisions of "NL/Documentation/How Tos/Calc: functie LIJNSCH"
m |
m (→Problemen:) |
||
(One intermediate revision by the same user not shown) | |||
Line 56: | Line 56: | ||
* [[NL/Documentation/How_Tos/Calc: functie STIJGING|STIJGING]] | * [[NL/Documentation/How_Tos/Calc: functie STIJGING|STIJGING]] | ||
− | * [[NL/Documentation/How_Tos/Matrices gebruiken| | + | * [[NL/Documentation/How_Tos/Matrices gebruiken|Hoe matrices te gebruiken in Calc]] |
− | * [[NL/Documentation/How_Tos/Calc: Matrixfuncties| | + | * [[NL/Documentation/How_Tos/Calc: Matrixfuncties|Matrixfuncties]] |
− | * [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies | + | * [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']] |
− | * [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies | + | * [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]}} |
[[Category: NL/Documentation/Reference/Calc]] | [[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 {{#switch:ctrl
| shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = Ctrl }} {{#if:Shift| + {{#switch:shift | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = Shift }} }}{{#if:Enter| + {{#switch:enter | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = Enter }} }}{{#if:| + {{#switch:{{{4}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{4}}} }} }}{{#if:| + {{#switch:{{{5}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{5}}} }} }}{{#if:| + {{#switch:{{{6}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{6}}} }} }} te gebruiken in plaats van gewoon {{#switch:enter | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = Enter }} {{#if:| + {{#switch:{{{2}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{2}}} }} }}{{#if:| + {{#switch:{{{3}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{3}}} }} }}{{#if:| + {{#switch:{{{4}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{4}}} }} }}{{#if:| + {{#switch:{{{5}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{5}}} }} }}{{#if:| + {{#switch:{{{6}}} | shift = ⇧ Shift | up = ↑ | down = ↓ | > = → | < = ← | enter = ↵ Enter | cmd = ⌘ Cmd | command = ⌘ Cmd | opt = ⌥ Opt | option = ⌥ Opt | tab = Tab ⇆ | backspace = ← Backspace | << = ← Backspace | bs = ← Backspace | * = * | # = # | ; = ; | : = : | #default = {{{6}}} }} }}.)
- als Statistieken wordt weggelaten of ONWAAR is, wordt alleen de bovenste regel van de statistiekentabel teruggegeven. Indien WAAR wordt de gehele tabel teruggegeven.
- 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:
- 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.
- 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