ATD Exercicio Excel
-
Upload
teresa-guarda -
Category
Documents
-
view
245 -
download
0
Transcript of ATD Exercicio Excel
-
7/28/2019 ATD Exercicio Excel
1/13
1
Anlise e Tratamento de Dados
NAME: Population at Risk and Death Rates for an Unusual Episode
TYPE: Complete record for all of population at riskSIZE: 2201 observations, 4 variables
DESCRIPTIVE ABSTRACT:
For each person on board the fatal maiden voyage of the ocean liner
Titanic, this dataset records sex, age [adult/child], economic status
[first/second/third class, or crew] and whether or not that person
survived.
SOURCE:
"Report on the Loss of the `Titanic' (S.S.)" (1990), _British Board of
Trade Inquiry Report_ (reprint), Gloucester, UK: Allan Sutton Publishing.
VARIABLE DESCRIPTIONS:
Column
1 Class (0 = crew, 1 = first, 2 = second, 3 = third)
10 Age (1 = adult, 0 = child)
19 Sex (1 = male, 0 = female)
28 Survived (1 = yes, 0 = no)
Values are aligned and delimited by blanks. There are no missing values.
-
7/28/2019 ATD Exercicio Excel
2/13
2
SPECIAL NOTES:
There is not complete agreement among primary sources as to the exact
numbers on board, rescued, or lost.
STORY BEHIND THE DATA:The sinking of the Titanic is a famous event, and new books are still being
published about it. Many well-known facts--from the proportions of first-
class passengers to the "women and children first" policy, and the fact
that that policy was not entirely successful in saving the women and
children in the third class--are reflected in the survival rates for
various classes of passenger. These data were originally collected by the
British Board of Trade in their investigation of the sinking.
PEDAGOGICAL NOTES:
These data make an interesting exercise if given to a class without their
context, which the students must attempt to discover. The instructor will
probably want to answer questions from the class, "Twenty Questions" style.
There is a similar set of data circulating without any detailed explanation
or compiler's name attached, under the same title, which omits the crew
(and does not agree with any of the primary sources that I was able to
find.) Credit for the original idea goes to the originator of that
exercise: my version is merely an attempt to provide a more complete
context.
Additional information about these data can be found in the "Datasets and
Stories" article "The `Unusual Episode' Data Revisited" in the _Journal of
Statistics Education_ (Dawson 1995). Send the message send
jse/v3n3/datasets.dawson to the address [email protected]
SUBMITTED BY:Robert J. MacG. Dawson
Department of Mathematics and Computing Science
Saint Mary's University
Halifax, Nova Scotia B3H 3C3
CANADA
-
7/28/2019 ATD Exercicio Excel
3/13
3
Objectivos:
Apresentar a Distribuio da tripulao por Classe, Idade e Sexo
Apresentar a Distribuio da tripulao Sobrevivente por Classe,
Idade e Sexo
Apresentar a Distribuio da tripulao No Sobrevivente por Classe,
Idade e Sexo
Nota. A informao deve ser apresentada em 2 formatos distintos:
Tabela dinmica
Grfico dinmico
-
7/28/2019 ATD Exercicio Excel
4/13
4
Passos a seguir:
1. Abrir no Excel o ficheiro dbm3-DadosTitanic.txt, ou ento no menu principal na opo Dados \
Importar dados externos \ Importar dados
2. No assistente de importaes de texto, clique no boto Seguinte
3. Seleccione agora a opo Espao e retire a seleco de Tabulao e clique no boto
Seguinte
-
7/28/2019 ATD Exercicio Excel
5/13
5
4. Para terminar clique no boto Concluir
5. Vamos inserir uma linha acima da
linha 1 da folha de clculo dbm3-
DadosTitanic para inserir os
rtulos de cada uma das colunas
de dados:
A1: Class
B1: Age
C1: Sex
D1: Survived
6. Grave o ficheiro com o formato xls.
-
7/28/2019 ATD Exercicio Excel
6/13
6
7. Pretende-se saber o nmero de sobreviventes classificados por Classe, Idade, e Sexo. Para
tal, no menu principal seleccionar a opo Dados \ Relatrio de tabelas e grficos
dinmicos1.
a. No assistente de tabelas de tabelas e grficos dinmicos, clique no boto Seguinte
b. Seleccione agora o intervalo de dados (de A1 at D2202)e clique no boto
Seguinte
1Os relatrios de Tabela Dinmica disponibilizam comparaes, revelam padres e relaes e analisam
tendncias.
-
7/28/2019 ATD Exercicio Excel
7/13
7
c. Seleccione a opo Nova Folha de clculo, e para terminar clique em Concluir
d. Mude o nome da Folha 1 para Anlise de Dados
e. Falta adicionar os campos tabela dinmica. Deve inserir agora os campos na tabela
dinmica como indicado:
Adicione o campo Class rea de linhas
Adicione o campo Age rea de colunas
Adicione o campo Sex rea de colunas
Adicione o campo Survived rea com dados e rea de pgina
Distribuio da tripulao por Classe, Idade e Sexo
Survived (Tudo)
Contar deSurvived Sex Age
femalefemaleTotal male
maleTotal
TotalGeral
Class adult child adult child
1st 144 1 145 175 5 180 325
2nd 93 13 106 168 11 179 285
3rd 165 31 196 462 48 510 706
crew 23 23 862 862 885
Total Geral 425 45 470 1667 64 1731 2201
-
7/28/2019 ATD Exercicio Excel
8/13
8
Distribuio da tripulao Sobreviventepor Classe, Idade e Sexo
Survived yes
Contar deSurvived Sex Age
femalefemaleTotal male
maleTotal
TotalGeral
Class adult child adult child
1st 140 1 141 57 5 62 203
2nd 80 13 93 14 11 25 118
3rd 76 14 90 75 13 88 178
crew 20 20 192 192 212
Total Geral 316 28 344 338 29 367 711
Distribuio da tripulao No Sobreviventepor Classe, Idade e Sexo
Survived no
Contar deSurvived Sex Age
femalefemaleTotal male
maleTotal
TotalGeral
Class adult child adult child
1st 4 4 118 118 122
2nd 13 13 154 154 167
3rd 89 17 106 387 35 422 528
crew 3 3 670 670 673
Total Geral 109 17 126 1329 35 1364 1490
-
7/28/2019 ATD Exercicio Excel
9/13
9
Podemos representar graficamente o mesmo tipo de informao. Para tal, siga os seguintes passos:
1. No menu principal seleccionar a opo Dados \ Relatrio de tabelas e grficos dinmicos e
clique no boto Seguinte.
2. Seleccione agora o intervalo de dados (de A1 at D2202) e clique no boto Seguinte
3. Deve reutilizar os dados da tabela dinmica existente. Clique no boto Sim
-
7/28/2019 ATD Exercicio Excel
10/13
10
4. Clique novamente em Seguinte.
5. Seleccione a opo Nova folha de clculo e clique no boto Esquema.
6. Arraste os campos para as zonas indicadas na imagem abaixo. Clique no boto Ok e no boto
Concluir.
-
7/28/2019 ATD Exercicio Excel
11/13
11
Personaliz
eogrficoaseugosto,deforma
aquesejaclaraainformao.
Distribu
io
da
tripulao
por
Classe,
Idade
e
Sexo
1st;144
2nd;93
3rd;165
2nd;168
3rd;462
crew;862
1st;1
3rd;31
1st;
5
3rd;48
crew;23
1st;175
2nd;13
2nd;11
0
100
200
300
400
500
600
700
800
900
1000
adult-female
adult-male
child-female
child-male
adult-
female
144
93
165
23
adult-
male
175
168
462
862
child-
female
1
13
31
child-
male
5
11
48
1st
2nd
3rd
crew
Survived(
Tudo)
ContardeSurvived
Class
Age
Sex
-
7/28/2019 ATD Exercicio Excel
12/13
12
Distribu
io
da
tripulao
Sobrevivente
por
Classe,
Idade
e
Sexo
1st;140
2nd;80
3rd;76
1st;57
2nd;14
3rd;75
crew;192
1st;1
3rd;14
1st;
5
crew;20
2nd;13
3rd;13
2nd;11
050
100
150
200
250
adult-female
adult-male
child-female
child-male
adult-
female
140
80
76
20
adult-
male
57
14
75
192
child-
female
1
13
14
child-
male
5
11
13
1st
2nd
3rd
crew
Survivedy
es
ContardeSurvived
Class
Age
Sex
-
7/28/2019 ATD Exercicio Excel
13/13
13
Distribu
io
da
tripulao
No
Sobrevivente
por
Classe,
I
dade
e
Sexo
1st;4
2nd;13
3rd;89
crew;3
1st;118
2nd;154
3rd;387
crew;670
3rd;17
3rd;35
0
100
200
300
400
500
600
700
800
adult-female
adult-male
child-female
child-male
adult-female
4
13
89
3
adult-male
118
154
387
670
child-female
17
child-male
35
1st
2nd
3rd
crew
Survivedn
o
ContardeSurvived
Class
Age
Sex