{"id":616,"date":"2023-07-29T07:48:55","date_gmt":"2023-07-29T07:48:55","guid":{"rendered":"https:\/\/statorials.org\/de\/boxplot-stata\/"},"modified":"2023-07-29T07:48:55","modified_gmt":"2023-07-29T07:48:55","slug":"boxplot-stata","status":"publish","type":"post","link":"https:\/\/statorials.org\/de\/boxplot-stata\/","title":{"rendered":"So erstellen und bearbeiten sie boxplots in stata"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">Ein <strong>Boxplot<\/strong> ist eine Art Diagramm, mit dem wir die f\u00fcnfstellige Zusammenfassung eines Datensatzes visualisieren k\u00f6nnen, der Folgendes umfasst:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">Minimum<\/span><\/li>\n<li> <span style=\"color: #000000;\">Das erste Quartil<\/span><\/li>\n<li> <span style=\"color: #000000;\">Der Median<\/span><\/li>\n<li> <span style=\"color: #000000;\">Das dritte Quartil<\/span><\/li>\n<li> <span style=\"color: #000000;\">Das Maximum<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-573 size-full\" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boite-a-moustaches.png\" alt=\"Beispiel f\u00fcr einen Boxplot\" width=\"401\" height=\"115\" srcset=\"\" sizes=\"\"><\/span><\/p>\n<p> <span style=\"color: #000000;\">In diesem Tutorial wird erkl\u00e4rt, wie Sie Boxplots in Stata erstellen und bearbeiten.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Beispiel: Boxplots in Stata<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Wir verwenden einen Datensatz namens <em>\u201eauto\u201c<\/em> , um zu veranschaulichen, wie Boxplots in Stata erstellt und bearbeitet werden.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Laden Sie zun\u00e4chst die Daten, indem Sie Folgendes in das Befehlsfeld eingeben und auf <em>die Eingabetaste<\/em> klicken:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>Verwenden Sie https:\/\/www.stata-press.com\/data\/r13\/auto<\/strong><\/span><\/p>\n<\/blockquote>\n<h3> <span style=\"color: #000000;\"><span style=\"color: #000000;\"><b>Vertikale Boxplots<\/b><\/span><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Mit dem Befehl <strong>graph box<\/strong> k\u00f6nnen wir einen vertikalen Boxplot f\u00fcr die Variable <em>mpg<\/em> erstellen:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>mpg-Grafikbox<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5822 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata1.png\" alt=\"Boxplot in Stata\" width=\"467\" height=\"346\" srcset=\"\" sizes=\"\"><\/p>\n<h3> <span style=\"color: #000000;\"><b>Horizontale Boxplots<\/b><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Alternativ k\u00f6nnen wir mit dem Befehl <strong>graph hbox<\/strong> einen horizontalen Boxplot erstellen:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>hbox mpg-Diagramm<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5823 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata2.png\" alt=\"Horizontaler Boxplot in Stata\" width=\"472\" height=\"343\" srcset=\"\" sizes=\"\"><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Boxplots nach Kategorie<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Mit dem Befehl <strong>over()<\/strong> k\u00f6nnen wir auch mehrere Boxplots basierend auf einer einzelnen kategorialen Variablen erstellen. Mit dem folgenden Befehl k\u00f6nnen beispielsweise Boxplots erstellt werden, die die Verteilung von <em>mpg<\/em> basierend auf der kategorialen Variablen <em>Foreign<\/em> zeigen, die angibt, ob es sich bei einem Auto um ein ausl\u00e4ndisches oder ein inl\u00e4ndisches Auto handelt.<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>mpg-Grafikbox, mehr (Ausland)<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5824 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata3.png\" alt=\"Mehrere Boxplots in Stata\" width=\"463\" height=\"336\" srcset=\"\" sizes=\"\"><\/p>\n<h3> <strong><span style=\"color: #000000;\">Mehrere Boxplots pro Kategorie<\/span><\/strong><\/h3>\n<p> <span style=\"color: #000000;\">Wir k\u00f6nnen auch Boxplots f\u00fcr mehrere Variablen basierend auf einer kategorialen Variablen erstellen. Beispielsweise kann der folgende Befehl verwendet werden, um Boxplots f\u00fcr die Variablen <em>headroom<\/em> und <em>gear_ratio<\/em> basierend auf der <em>fremden<\/em> kategorialen Variablen zu erstellen:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>Grafikbox-Sicherheitsspielraum, \u00dcbersetzungsverh\u00e4ltnis, h\u00f6her (Ausland)<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5825 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata4.png\" alt=\"Mehrere Boxplots in Stata\" width=\"550\" height=\"400\" srcset=\"\" sizes=\"\"><\/p>\n<h3> <span style=\"color: #000000;\"><strong>\u00c4ndern der Darstellung von Boxplots<\/strong><\/span><\/h3>\n<p> <span style=\"color: #000000;\">Wir k\u00f6nnen verschiedene Befehle verwenden, um das Erscheinungsbild von Boxplots zu \u00e4ndern.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Mit dem Befehl <strong>title()<\/strong> k\u00f6nnen wir der Handlung einen Titel hinzuf\u00fcgen:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>mpg-Grafikbox, Titel (\u201empg-Verteilung\u201c)<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5826 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata5-1.png\" alt=\"Boxplot mit Titel in Stata\" width=\"506\" height=\"375\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Sie k\u00f6nnen auch einen Untertitel unter dem Titel hinzuf\u00fcgen, indem Sie den Befehl <strong>subtitle()<\/strong> verwenden:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>Diagrammbox mpg, Titel (\u201eMpg-Verteilung\u201c) Untertitel (\u201e(Stichprobengr\u00f6\u00dfe = 74 Autos)\u201c)<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5828 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata6.png\" alt=\"Boxplot in Stata mit Titel und Untertitel\" width=\"547\" height=\"392\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Mit dem Befehl <strong>note()<\/strong> k\u00f6nnen wir auch eine Notiz oder einen Kommentar am unteren Rand des Diagramms hinzuf\u00fcgen:<\/span><\/p>\n<blockquote>\n<p> <strong><span style=\"color: #000000;\">Box-Chart mpg, Bewertung (\u201eQuelle: 1978 Automotive Data\u201c)<\/span><\/strong> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5829 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata7.png\" alt=\"Verwenden des Befehls \u201enote\u201c in Stata f\u00fcr Diagramme\" width=\"499\" height=\"363\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Schlie\u00dflich k\u00f6nnen wir die tats\u00e4chliche Farbe des Boxplots mit dem Befehl <strong>box(variable #, color(color_choice))<\/strong> \u00e4ndern:<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>mpg-Diagrammbox, Box (1, Farbe (gr\u00fcn))<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5830 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boxplotstata8.png\" alt=\"Boxplot mit verschiedenen Farben in Stata\" width=\"479\" height=\"350\" srcset=\"\" sizes=\"\"><\/p>\n<p> <span style=\"color: #000000;\">Eine vollst\u00e4ndige Liste der verf\u00fcgbaren Farben finden Sie in der <a href=\"https:\/\/www.stata.com\/manuals13\/g-4colorstyle.pdf#g-4colorstyle\" target=\"_blank\" rel=\"noopener\">Stata-Dokumentation<\/a> .<\/span><\/p>\n<h3> <span style=\"color: #000000;\"><strong>Zus\u00e4tzliche Ressourcen<\/strong><\/span><\/h3>\n<p> <a href=\"https:\/\/statorials.org\/de\/kastenschnurrhaare\/\" target=\"_blank\" rel=\"noopener\">Eine Einf\u00fchrung in Boxplots<\/a><br \/> <a href=\"https:\/\/statorials.org\/de\/boxplot-generator\/\" target=\"_blank\" rel=\"noopener\">Boxplot-Generator<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ein Boxplot ist eine Art Diagramm, mit dem wir die f\u00fcnfstellige Zusammenfassung eines Datensatzes visualisieren k\u00f6nnen, der Folgendes umfasst: Minimum Das erste Quartil Der Median Das dritte Quartil Das Maximum In diesem Tutorial wird erkl\u00e4rt, wie Sie Boxplots in Stata erstellen und bearbeiten. Beispiel: Boxplots in Stata Wir verwenden einen Datensatz namens \u201eauto\u201c , um [&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":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.\" \/>\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\/de\/boxplot-stata\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/de\/boxplot-stata\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T07:48:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boite-a-moustaches.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 Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/de\/boxplot-stata\/\",\"url\":\"https:\/\/statorials.org\/de\/boxplot-stata\/\",\"name\":\"So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/de\/#website\"},\"datePublished\":\"2023-07-29T07:48:55+00:00\",\"dateModified\":\"2023-07-29T07:48:55+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\"},\"description\":\"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/de\/boxplot-stata\/#breadcrumb\"},\"inLanguage\":\"de-DE\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/de\/boxplot-stata\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/de\/boxplot-stata\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Heim\",\"item\":\"https:\/\/statorials.org\/de\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"So erstellen und bearbeiten sie boxplots in stata\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/de\/#website\",\"url\":\"https:\/\/statorials.org\/de\/\",\"name\":\"Statorials\",\"description\":\"Ihr Leitfaden f\u00fcr statistische Kompetenz !\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/de\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"de-DE\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0\",\"name\":\"Dr. Benjamin Anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de-DE\",\"@id\":\"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr. Benjamin Anderson\"},\"description\":\"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen\",\"sameAs\":[\"https:\/\/statorials.org\/de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials","description":"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.","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\/de\/boxplot-stata\/","og_locale":"de_DE","og_type":"article","og_title":"So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials","og_description":"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.","og_url":"https:\/\/statorials.org\/de\/boxplot-stata\/","og_site_name":"Statorials","article_published_time":"2023-07-29T07:48:55+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/boite-a-moustaches.png"}],"author":"Dr. Benjamin Anderson","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Dr. Benjamin Anderson","Gesch\u00e4tzte Lesezeit":"2 Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/de\/boxplot-stata\/","url":"https:\/\/statorials.org\/de\/boxplot-stata\/","name":"So erstellen und bearbeiten Sie Boxplots in Stata \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/de\/#website"},"datePublished":"2023-07-29T07:48:55+00:00","dateModified":"2023-07-29T07:48:55+00:00","author":{"@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0"},"description":"Eine einfache Anleitung zum Arbeiten mit Boxplots in Stata, einschlie\u00dflich mehrerer Beispiele.","breadcrumb":{"@id":"https:\/\/statorials.org\/de\/boxplot-stata\/#breadcrumb"},"inLanguage":"de-DE","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/de\/boxplot-stata\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/de\/boxplot-stata\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Heim","item":"https:\/\/statorials.org\/de\/"},{"@type":"ListItem","position":2,"name":"So erstellen und bearbeiten sie boxplots in stata"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/de\/#website","url":"https:\/\/statorials.org\/de\/","name":"Statorials","description":"Ihr Leitfaden f\u00fcr statistische Kompetenz !","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/de\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"de-DE"},{"@type":"Person","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/ec75c4d6365f2708f8a0ad3a42121aa0","name":"Dr. Benjamin Anderson","image":{"@type":"ImageObject","inLanguage":"de-DE","@id":"https:\/\/statorials.org\/de\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/de\/wp-content\/uploads\/2023\/11\/Benjamin-Anderson-96x96.jpg","caption":"Dr. Benjamin Anderson"},"description":"Hallo, ich bin Benjamin, ein pensionierter Statistikprofessor, der sich zum engagierten Statorials-Lehrer entwickelt hat. Mit umfassender Erfahrung und Fachwissen auf dem Gebiet der Statistik bin ich bestrebt, mein Wissen zu teilen, um Studenten durch Statorials zu bef\u00e4higen. Mehr wissen","sameAs":["https:\/\/statorials.org\/de"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/616"}],"collection":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/comments?post=616"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/posts\/616\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/media?parent=616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/categories?post=616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/de\/wp-json\/wp\/v2\/tags?post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}