Biostatistics - INAYA Medical College

advertisement
Biostatistics
LAB (1)
INTRODUCTION TO BIOSTATISTICS
PREPARED BY:
HAFSA ELZAIN AND
AREEJ JOUHAR
EMAIL: ajabdelgader@inaya.edu.sa
STUDENTS’ ACCOUNT
 You will have all your lectures, assignment and
references at
Application:
Edmodo
Website
and
Mobile
 Step#1: Download Edmodo App in Your Mobile.
 Step#2: Create Account for Student and add Your Group Code.
 Group(19-20) Code:
r4v64d
 Group(15-16) Code:
jzrpja
 Group(531-532)Code: 252dj8
Outlines
 Introduction to used soft-wares in our course.
 Introducing the SPSS interfaces
 Examples
 Import data-set
 Insert data-set
 Assignment.
Introduction
 Used Softwares :
we will use two softwares, first one SPSS and the other MS office Excel.

SPSS: Statistical Package for the Social Sciences, has now been
development for more than thirty years, its an application with
graphical and a syntactical interface and provides dozens of
functions for managing, analyzing and presenting data.

MS office Excel: is a spreadsheet application developed by
Microsoft. It features calculation, graphing tools and pivot tables.
Introducing the SPSS interfaces
 When we use SPSS, we work in one of several windows: the data view,
the variable view, the output view, the draft output view and the script
view.
 The data view:
Figure (1.1)
Introducing the interface
 Variable view:
Figure(1.2)
Introducing the interface
 Output view:
the output window is where you see the results of your various queries
such as frequency distributions, cross-tabs, statistical tests and charts.
Figure(1.3)
Examples
 Example1: Import data set from your computer to
SPSS. Then, indicate to variable view and data view
interfaces and write each variable name, type and
measure.
 Solution:
Open SPSS interface.
2. Go to file from menu bar>open>data.
1.
Examples
Solution (cont..):
Figure (1.4)
3. Click or choose Local Disk (c:)
Examples
Solution (cont..):
Figure (1.5)
4.
choose Program Files.
Examples
Solution (cont..):
Figure (1.6)
5. Click on IBM folder.
Examples
Solution (cont..):
Figure (1.7)
6. Open or Click on samples folder.
Examples
Solution (cont..):
Figure(1.8)
7. choose accidents.sav dataset, then click on open.
Examples
Solution (cont..):
Figure (1.9)
8. After step 5, this window will open to show us data
view.
Examples
Solution (cont..):
Figure (1.10)
9. Click variable view to see variable view interface.
Examples
Solution (cont..):
10. from last figure(1.7), we have 4 variables:
Table(1.1)
Variable name:
Variable type:
Age category
Numeric
Ordinal
gender
Numeric
Nominal
accident
Numeric
Scale
Numeric
Scale
Population at risk
Measure:
Examples
 Example 2: insert a new data-set consist of 6
variables:
gender,
age,
white-bcs,
red-bcs,
hemoglobin and platelet. With data values shown in
next table.
Table(1.2)
No.
Gender:
Age:
Whitebcs:
Red- Hemoglob Platelet:
bcs:
in:
1
Male
37
8.9
3.6
13.4
220
2
Female
60
16.0
5.8
15.8
340
3
Female
25
4.8
4.9
12.8
460
4
Male
40
5.2
3.6
14.8
345
5
Male
44
9.7
10.7
15.3
276
6
Male
50
7.9
4.8
15.1
481
Examples
 Solution:
1. Open SPSS interface.
2. Click on variable view.
3. Add variable name (gender, age,…)
4. Add variable type (numeric, date, string,..)
5. Add variable width and decimal.
6. Add labels if required.
7. Add values: (1= Male, 2=Female).
8. choose align like you want (Lift, Right or center)
9. Add appropriate measure (scale, ordinal or nominal)
10. under each column (variable) in data view insert the values
from table(1.2).
Assignment (1)
 Assignment (1): insert a new data-set to spss,
consist of 3 variables: student-name, level, age. With
data values shown in next table.
No.
Studentname
Level
Age
1
Sara
First-level
18
2
Noura
Second-level
21
3
Israa
Second-level
23
4
Nouf
Third-level
25
5
Abeer
First-level
19
6
Arwaa
First-level
17
7
Nada
Second-level
20
Assignment (1)
 Solution:
1.
Variable view:
Assignment (1)
 Solution (cont..):
 Data view:
Download