{"id":629,"date":"2023-07-29T06:49:04","date_gmt":"2023-07-29T06:49:04","guid":{"rendered":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/"},"modified":"2023-07-29T06:49:04","modified_gmt":"2023-07-29T06:49:04","slug":"teste-estatistico-exato-dos-pescadores","status":"publish","type":"post","link":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/","title":{"rendered":"Como realizar o teste exato de fisher no stata"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/pt\/teste-exato-de-pescadores\/\" target=\"_blank\" rel=\"noopener\">O teste exato de Fisher<\/a> \u00e9 usado para determinar se existe ou n\u00e3o uma associa\u00e7\u00e3o significativa entre duas vari\u00e1veis categ\u00f3ricas. Geralmente \u00e9 usado como uma alternativa ao <a href=\"https:\/\/statorials.org\/pt\/teste-qui-quadrado-de-independencia-estatistica\/\" target=\"_blank\" rel=\"noopener\">teste de independ\u00eancia do qui-quadrado<\/a> quando uma ou mais contagens de c\u00e9lulas em uma tabela 2 \u00d7 2 s\u00e3o menores que 5.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Este tutorial explica como realizar o teste exato de Fisher no Stata.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>Exemplo: teste exato de Fisher no Stata<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">Suponhamos que queremos saber se o g\u00e9nero est\u00e1 ou n\u00e3o associado \u00e0 prefer\u00eancia por um partido pol\u00edtico numa determinada faculdade. Para explorar isso, entrevistamos aleatoriamente 25 alunos no campus. O n\u00famero de estudantes democratas ou republicanos, com base no g\u00eanero, \u00e9 mostrado na tabela abaixo:<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<th><\/th>\n<th style=\"text-align: center;\"> <span style=\"color: #000000;\"><strong>Democrata<\/strong><\/span><\/th>\n<th style=\"text-align: center;\"> <span style=\"color: #000000;\"><strong><span style=\"color: #000000;\">Republicano<\/span><\/strong><\/span><\/th>\n<\/tr>\n<tr>\n<td> <span style=\"color: #000000;\"><strong>Macho<\/strong><\/span><\/td>\n<td style=\"text-align: center;\"> <span style=\"color: #000000;\">4<\/span><\/td>\n<td style=\"text-align: center;\"> <span style=\"color: #000000;\">9<\/span><\/td>\n<\/tr>\n<tr>\n<td> <span style=\"color: #000000;\"><strong>F\u00eamea<\/strong><\/span><\/td>\n<td style=\"text-align: center;\"> <span style=\"color: #000000;\">8<\/span><\/td>\n<td style=\"text-align: center;\"> <span style=\"color: #000000;\">4<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> <span style=\"color: #000000;\">Para determinar se existe uma associa\u00e7\u00e3o estatisticamente significativa entre g\u00e9nero e prefer\u00eancia partid\u00e1ria, podemos realizar o teste exato de Fisher.<\/span><\/p>\n<p> <span style=\"color: #000000;\">No Stata, podemos usar o comando <strong>tabi<\/strong> para realizar o teste Exato de Fisher. Inserimos as contagens na tabela 2&#215;2 da esquerda para a direita com um <strong>\\<\/strong> para separar as linhas superior e inferior.<\/span><\/p>\n<blockquote>\n<p> <span style=\"color: #000000;\"><strong>tabi 4 9 \\ 8 4<\/strong><\/span> <\/p>\n<\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5967 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/pecheurexactteststata1.png\" alt=\"Resultado do teste exato de Fisher no Stata\" width=\"362\" height=\"213\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p> <span style=\"color: #000000;\">Veja como interpretar o resultado:<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Tabela de sa\u00edda:<\/strong> esta tabela mostra as contagens de cada c\u00e9lula, conforme as inserimos.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Exato de Fisher:<\/strong> Este \u00e9 o valor p associado a um teste exato de Fisher bilateral. Neste caso \u00e9 0,115.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>Exato de Fisher unilateral:<\/strong> Este \u00e9 o valor p associado a um teste exato de Fisher unilateral. Neste caso \u00e9 0,081.<\/span><\/p>\n<p> <span style=\"color: #000000;\">A hip\u00f3tese nula do teste exato de Fisher \u00e9 que as duas vari\u00e1veis s\u00e3o independentes. Neste caso, a nossa hip\u00f3tese nula \u00e9 que as prefer\u00eancias de g\u00e9nero e de partido pol\u00edtico s\u00e3o independentes, o que \u00e9 um teste bicaudal, pelo que utilizar\u00edamos o primeiro valor p de 0,115.<\/span><\/p>\n<p> <span style=\"color: #000000;\">Como este valor p n\u00e3o \u00e9 inferior a 0,05, n\u00e3o rejeitamos a hip\u00f3tese nula. Portanto, n\u00e3o temos provas suficientes para afirmar que existe uma associa\u00e7\u00e3o significativa entre o g\u00e9nero e as prefer\u00eancias dos partidos pol\u00edticos.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>O teste exato de Fisher \u00e9 usado para determinar se existe ou n\u00e3o uma associa\u00e7\u00e3o significativa entre duas vari\u00e1veis categ\u00f3ricas. Geralmente \u00e9 usado como uma alternativa ao teste de independ\u00eancia do qui-quadrado quando uma ou mais contagens de c\u00e9lulas em uma tabela 2 \u00d7 2 s\u00e3o menores que 5. Este tutorial explica como realizar o [&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-629","post","type-post","status-publish","format-standard","hentry","category-guia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Como realizar o teste exato de Fisher no Stata - Statorials<\/title>\n<meta name=\"description\" content=\"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.\" \/>\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\/pt\/teste-estatistico-exato-dos-pescadores\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Como realizar o teste exato de Fisher no Stata - Statorials\" \/>\n<meta property=\"og:description\" content=\"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-29T06:49:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/pecheurexactteststata1.png\" \/>\n<meta name=\"author\" content=\"Dr. benjamim anderson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dr. benjamim anderson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/\",\"url\":\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/\",\"name\":\"Como realizar o teste exato de Fisher no Stata - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/pt\/#website\"},\"datePublished\":\"2023-07-29T06:49:04+00:00\",\"dateModified\":\"2023-07-29T06:49:04+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666\"},\"description\":\"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lar\",\"item\":\"https:\/\/statorials.org\/pt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Como realizar o teste exato de fisher no stata\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/pt\/#website\",\"url\":\"https:\/\/statorials.org\/pt\/\",\"name\":\"Statorials\",\"description\":\"O seu guia para a literacia estat\u00edstica!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/pt\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666\",\"name\":\"Dr. benjamim anderson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/statorials.org\/pt\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"Dr. benjamim anderson\"},\"description\":\"Ol\u00e1, sou Benjamin, um professor aposentado de estat\u00edstica que se tornou professor dedicado na Statorials. Com vasta experi\u00eancia e conhecimento na \u00e1rea de estat\u00edstica, estou empenhado em compartilhar meu conhecimento para capacitar os alunos por meio de Statorials. Saber mais\",\"sameAs\":[\"https:\/\/statorials.org\/pt\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como realizar o teste exato de Fisher no Stata - Statorials","description":"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.","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\/pt\/teste-estatistico-exato-dos-pescadores\/","og_locale":"pt_PT","og_type":"article","og_title":"Como realizar o teste exato de Fisher no Stata - Statorials","og_description":"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.","og_url":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/","og_site_name":"Statorials","article_published_time":"2023-07-29T06:49:04+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/pecheurexactteststata1.png"}],"author":"Dr. benjamim anderson","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Dr. benjamim anderson","Tempo estimado de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/","url":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/","name":"Como realizar o teste exato de Fisher no Stata - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/pt\/#website"},"datePublished":"2023-07-29T06:49:04+00:00","dateModified":"2023-07-29T06:49:04+00:00","author":{"@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666"},"description":"Uma explica\u00e7\u00e3o simples de como realizar o teste exato de Fisher no Stata, incluindo um exemplo passo a passo.","breadcrumb":{"@id":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/pt\/teste-estatistico-exato-dos-pescadores\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Lar","item":"https:\/\/statorials.org\/pt\/"},{"@type":"ListItem","position":2,"name":"Como realizar o teste exato de fisher no stata"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/pt\/#website","url":"https:\/\/statorials.org\/pt\/","name":"Statorials","description":"O seu guia para a literacia estat\u00edstica!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/pt\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/e08f98e8db95e0aa9c310e1b27c9c666","name":"Dr. benjamim anderson","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/statorials.org\/pt\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/pt\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"Dr. benjamim anderson"},"description":"Ol\u00e1, sou Benjamin, um professor aposentado de estat\u00edstica que se tornou professor dedicado na Statorials. Com vasta experi\u00eancia e conhecimento na \u00e1rea de estat\u00edstica, estou empenhado em compartilhar meu conhecimento para capacitar os alunos por meio de Statorials. Saber mais","sameAs":["https:\/\/statorials.org\/pt"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts\/629","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/comments?post=629"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/posts\/629\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/media?parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/categories?post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/pt\/wp-json\/wp\/v2\/tags?post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}