-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#################################################### | ||
# TAILINE NONATO # | ||
# ATIVIDADE 4.5 # | ||
#################################################### | ||
|
||
|
||
#Carregando pacotes ---- | ||
if (!require(pacman)) { | ||
install.packIdades("pacman") | ||
library(pacman)} | ||
|
||
pacman::p_load(tidyverse) | ||
|
||
theme.t <- function(position_legend = "top"){ | ||
return(list( | ||
theme_bw(), | ||
theme(axis.title.y=element_text(colour="black", size=12), | ||
axis.title.x = element_text(colour="black", size=12), | ||
axis.text = element_text(colour = "black", size=9.5), | ||
panel.border = element_blank(), | ||
axis.line = element_line(colour = "black")), | ||
theme(legend.position=position_legend)))} | ||
|
||
#Dados ---- | ||
pop <- read.csv("Outros arquivos/amostra.csv", encoding = "UTF-8", | ||
na.strings=c(" ","NA")) | ||
|
||
amostra <- pop[sample(1:nrow(pop),500,replace=F),] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
1. Considere uma amostra de tamanho 500. Relacione as seguintes variáveis: | ||
|
||
NOTA_MT e Região | ||
NOTA_LP e Uso do tempo de tela: considerar as seguintes categorias | ||
Não vê TV..... + Menos de 1 hora (juntar as duas categorias) | ||
Entre 1 e 2 horas | ||
Mais de 2, até 3 horas | ||
Mais de 3 horas | ||
* Exclui os valores faltantes | ||
|
||
|
||
Para avaliar essas relações construa os gráficos adequados e medidas de posição e variabilidade segundo categorias das variáveis qualitativas. | ||
|
||
Você diria que existem diferenças entre as proficiências em matemática segundo a região geográfica da escola? | ||
|
||
Existe diferença entre as proficiências em língua portuguesa segundo categoria de uso do tempo de tela? | ||
|
||
Apresente dois tipos de testes de hipóteses (ANOVA e Kruskal-Wallis), defina as hipóteses, pressupostos e comente os resultados. | ||
|
||
Caso haja evidências que levam você a afirmar que existem diferenças, identifique essas diferenças. (Não se esqueça de testar normalidade e homocedasticidade, caso já tenha feito esses testes, comente). |