{"id":1446,"date":"2023-07-26T08:50:26","date_gmt":"2023-07-26T08:50:26","guid":{"rendered":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/"},"modified":"2023-07-26T08:50:26","modified_gmt":"2023-07-26T08:50:26","slug":"exponentiele-regressie-in-r","status":"publish","type":"post","link":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/","title":{"rendered":"Exponenti\u00eble regressie in r (stap voor stap)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><strong>Exponenti\u00eble regressie<\/strong> is een type regressie dat kan worden gebruikt om de volgende situaties te modelleren:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>1. Exponenti\u00eble groei:<\/strong> De groei begint langzaam en versnelt vervolgens snel en zonder beperking.<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14288 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/expregexcel1.png\" alt=\"\" width=\"329\" height=\"244\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\"><strong>2. Exponentieel verval:<\/strong> Het verval begint snel en vertraagt vervolgens om steeds dichter bij nul te komen.<\/span> <\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14289 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/expregexcel2.png\" alt=\"\" width=\"332\" height=\"251\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">De vergelijking voor een exponentieel regressiemodel heeft de volgende vorm:<\/span><\/p>\n<p> <span style=\"color: #000000;\">y = <sup>abx<\/sup><\/span><\/p>\n<p> <span style=\"color: #000000;\">Goud:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>y:<\/strong> de responsvariabele<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>x:<\/strong> de voorspellende variabele<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>a, b:<\/strong> de regressieco\u00ebffici\u00ebnten die de relatie tussen <em>x<\/em> en <em>y<\/em> beschrijven<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">Het volgende stapsgewijze voorbeeld laat zien hoe u exponenti\u00eble regressie in R kunt uitvoeren.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Stap 1: Cre\u00eber de gegevens<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Laten we eerst valse gegevens maken voor twee variabelen: <em>x<\/em> en <em>y<\/em> :<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>x=1:20\ny=c(1, 3, 5, 7, 9, 12, 15, 19, 23, 28, 33, 38, 44, 50, 56, 64, 73, 84, 97, 113)\n<\/strong><\/pre>\n<h3> <strong>Stap 2: Visualiseer de gegevens<\/strong><\/h3>\n<p> <span style=\"color: #000000;\">Laten we vervolgens een snelle spreidingsdiagram maken om de relatie tussen <em>x<\/em> en <em>y<\/em> te visualiseren:<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>plot(x, y)<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-14298\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/expregr1.png\" alt=\"Voorbeeld van exponenti\u00eble regressie in R\" width=\"419\" height=\"376\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Uit de grafiek kunnen we zien dat er een duidelijk exponentieel groeipatroon bestaat tussen de twee variabelen.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Het lijkt daarom verstandig om een exponenti\u00eble regressievergelijking toe te passen om de relatie tussen de variabelen te beschrijven.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Stap 3: Pas het exponenti\u00eble regressiemodel toe<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Vervolgens zullen we de functie <strong>lm()<\/strong> gebruiken om een exponentieel regressiemodel te fitten, waarbij we de natuurlijke logaritme van <em>y<\/em> als<a href=\"https:\/\/statorials.org\/nl\/variabelen-verklarende-reacties\/\" target=\"_blank\" rel=\"noopener\">de responsvariabele<\/a> en <em>x<\/em> als de voorspellende variabele gebruiken:<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#fit the model<\/span>\nmodel &lt;- lm( <span style=\"color: #3366ff;\">log<\/span> (y) ~ x)<\/strong>\n<strong>\n<span style=\"color: #008080;\">#view the output of the model<\/span>\nsummary(model)\n\nCall:\nlm(formula = log(y) ~ x)\n\nResiduals:\n    Min 1Q Median 3Q Max \n-1.1858 -0.1768 0.1104 0.2720 0.3300 \n\nCoefficients:\n            Estimate Std. Error t value Pr(&gt;|t|)    \n(Intercept) 0.98166 0.17118 5.735 1.95e-05 ***\nx 0.20410 0.01429 14.283 2.92e-11 ***\n---\nSignificant. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1\n\nResidual standard error: 0.3685 on 18 degrees of freedom\nMultiple R-squared: 0.9189, Adjusted R-squared: 0.9144 \nF-statistic: 204 on 1 and 18 DF, p-value: 2.917e-11<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">De <a href=\"https:\/\/statorials.org\/nl\/een-eenvoudige-gids-voor-het-begrijpen-van-de-f-toets-voor-de-algehele-significantie-bij-regressie\/\" target=\"_blank\" rel=\"noopener\">totale F-waarde<\/a> van het model is 204 en de overeenkomstige p-waarde is extreem laag (2.917e-11), wat aangeeft dat het model als geheel bruikbaar is.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Met behulp van de co\u00ebffici\u00ebnten uit de uitvoertabel kunnen we zien dat de aangepaste exponenti\u00eble regressievergelijking is:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>ln(y) = 0,9817 + 0,2041(x)<\/strong><\/span><\/p>\n<p> <span style=\"color: #000000;\">Door <em>e<\/em> op beide zijden toe te passen, kunnen we de vergelijking als volgt herschrijven:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>y = 2,6689 * <sup>1,2264x<\/sup><\/strong><\/span><\/p>\n<p> <span style=\"color: #000000;\">We kunnen deze vergelijking gebruiken om de responsvariabele, <em>y<\/em> , te voorspellen op basis van de waarde van de voorspellende variabele, <em>x<\/em> .<\/span> <span style=\"color: #000000;\">Als <em>x<\/em> = 12, dan voorspellen we bijvoorbeeld dat <em>y<\/em> <strong>30,897<\/strong> zou zijn:<\/span><\/p>\n<p> <span style=\"color: #000000;\">j = 2,6689 * 1,2264 <sup>12<\/sup> = 30,897<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Bonus:<\/strong> voel je vrij om deze online exponenti\u00eble regressiecalculator te gebruiken om automatisch de exponenti\u00eble regressievergelijking voor een bepaalde voorspeller en responsvariabele te berekenen.<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Aanvullende bronnen<\/strong><\/span><\/h3>\n<p> <a href=\"https:\/\/statorials.org\/nl\/eenvoudige-lineaire-regressie-in-r\/\" target=\"_blank\" rel=\"noopener\">Hoe eenvoudige lineaire regressie uit te voeren in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/meervoudige-lineaire-regressie-r\/\" target=\"_blank\" rel=\"noopener\">Hoe meervoudige lineaire regressie uit te voeren in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/kwadratische-regressie-r\/\" target=\"_blank\" rel=\"noopener\">Hoe kwadratische regressie uit te voeren in R<\/a><br \/> <a href=\"https:\/\/statorials.org\/nl\/polynomiale-regressie-r\/\" target=\"_blank\" rel=\"noopener\">Hoe polynomiale regressie uit te voeren in R<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exponenti\u00eble regressie is een type regressie dat kan worden gebruikt om de volgende situaties te modelleren: 1. Exponenti\u00eble groei: De groei begint langzaam en versnelt vervolgens snel en zonder beperking. 2. Exponentieel verval: Het verval begint snel en vertraagt vervolgens om steeds dichter bij nul te komen. De vergelijking voor een exponentieel regressiemodel heeft de [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1446","post","type-post","status-publish","format-standard","hentry","category-gids"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Exponenti\u00eble regressie in R (stap voor stap) - Statorials<\/title>\n<meta name=\"description\" content=\"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Exponenti\u00eble regressie in R (stap voor stap) - Statorials\" \/>\n<meta property=\"og:description\" content=\"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-26T08:50:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/expregexcel1.png\" \/>\n<meta name=\"author\" content=\"Dr.benjamin anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr.benjamin anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/\",\"url\":\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/\",\"name\":\"Exponenti\u00eble regressie in R (stap voor stap) - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/nl\/#website\"},\"datePublished\":\"2023-07-26T08:50:26+00:00\",\"dateModified\":\"2023-07-26T08:50:26+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\"},\"description\":\"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Thuis\",\"item\":\"https:\/\/statorials.org\/nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exponenti\u00eble regressie in r (stap voor stap)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/nl\/#website\",\"url\":\"https:\/\/statorials.org\/nl\/\",\"name\":\"Statorials\",\"description\":\"Uw gids voor statistische competentie\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/nl\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219\",\"name\":\"Dr.benjamin anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr.benjamin anderson\"},\"description\":\"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder\",\"sameAs\":[\"http:\/\/statorials.org\/nl\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Exponenti\u00eble regressie in R (stap voor stap) - Statorials","description":"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/","og_locale":"de_DE","og_type":"article","og_title":"Exponenti\u00eble regressie in R (stap voor stap) - Statorials","og_description":"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.","og_url":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/","og_site_name":"Statorials","article_published_time":"2023-07-26T08:50:26+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/expregexcel1.png"}],"author":"Dr.benjamin anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr.benjamin anderson","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/","url":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/","name":"Exponenti\u00eble regressie in R (stap voor stap) - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/nl\/#website"},"datePublished":"2023-07-26T08:50:26+00:00","dateModified":"2023-07-26T08:50:26+00:00","author":{"@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219"},"description":"In deze zelfstudie wordt uitgelegd hoe u exponenti\u00eble regressie in R uitvoert, inclusief een stapsgewijs voorbeeld.","breadcrumb":{"@id":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/nl\/exponentiele-regressie-in-r\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Thuis","item":"https:\/\/statorials.org\/nl\/"},{"@type":"ListItem","position":2,"name":"Exponenti\u00eble regressie in r (stap voor stap)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/nl\/#website","url":"https:\/\/statorials.org\/nl\/","name":"Statorials","description":"Uw gids voor statistische competentie","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/nl\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/d4b8842173cca1bb62cdec41860e4219","name":"Dr.benjamin anderson","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/statorials.org\/nl\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/nl\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr.benjamin anderson"},"description":"Ik ben Benjamin, een gepensioneerde hoogleraar statistiek die nu een toegewijde Statorials-lesgever is. Ik heb uitgebreide ervaring en expertise op het gebied van statistiek en ik ben vastbesloten om mijn kennis te delen met studenten via Statorials. Lees verder","sameAs":["http:\/\/statorials.org\/nl"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/1446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/comments?post=1446"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/posts\/1446\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/media?parent=1446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/categories?post=1446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/nl\/wp-json\/wp\/v2\/tags?post=1446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}