logo

Histogram: Age (years)

   

Added on  2023-04-19

11 Pages1758 Words290 Views
GET
FILE='C:\Users\Hi Tech\Downloads\hals.sav'.
DATASET NAME DataSet1 WINDOW=FRONT.
* Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=agyrs MISSING=LISTWISE REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: agyrs=col(source(s), name("agyrs"))
GUIDE: axis(dim(1), label("age in years"))
GUIDE: axis(dim(2), label("Frequency"))
ELEMENT: interval(position(summary.count(bin.rect(agyrs))), shape.interior(shape.square))
END GPL.
GGraph
Notes
Output Created
Comments
Input Data
Active Dataset
Filter
Weight
Split File
N of Rows in Working
Data File
Syntax
Resources Processor Time
Elapsed Time
19-DEC-2018 08:24:57
C:\Users\Hi Tech\Downloads\hals.
sav
DataSet1
<none>
<none>
<none>
1297
GGRAPH
/GRAPHDATASET NAME="
graphdataset" VARIABLES=agyrs
MISSING=LISTWISE
REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id
("graphdataset"))
DATA: agyrs=col(source(s), name
("agyrs"))
GUIDE: axis(dim(1), label("age in
years"))
GUIDE: axis(dim(2), label
("Frequency"))
ELEMENT: interval(position
(summary.count(bin.rect(agyrs))),
shape.interior(shape.square))
END GPL.
00:00:01.14
00:00:01.72
[DataSet1] C:\Users\Hi Tech\Downloads\hals.sav
Page 1

age in years
100806040
Frequency
120.0
100.0
80.0
60.0
40.0
20.0
0.0 21124
10
18
24
50
37
53
36
68
55
62
83
59
77
65
89
74
85
98
111
6
Mean = 56.26
Std. Dev. = 11.72
N = 1,297
Histogram: Age (years)
* Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=ownh COUNT()[name="COUNT"] MISSING=LISTWISE REPORTMISS
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: ownh=col(source(s), name("ownh"), unit.category())
DATA: COUNT=col(source(s), name("COUNT"))
COORD: polar.theta(startAngle(0))
GUIDE: axis(dim(1), null())
GUIDE: legend(aesthetic(aesthetic.color.interior), label("own health in general"))
SCALE: linear(dim(1), dataMinimum(), dataMaximum())
SCALE: cat(aesthetic(aesthetic.color.interior), include("1", "2", "3", "4"))
ELEMENT: interval.stack(position(summary.percent(COUNT))), color.interior(ownh))
END GPL.
GGraph
Page 2

Notes
Output Created
Comments
Input Data
Active Dataset
Filter
Weight
Split File
N of Rows in Working
Data File
Syntax
Resources Processor Time
Elapsed Time
19-DEC-2018 08:27:35
C:\Users\Hi Tech\Downloads\hals.
sav
DataSet1
<none>
<none>
<none>
1297
GGRAPH
/GRAPHDATASET NAME="
graphdataset" VARIABLES=ownh
COUNT()[name="COUNT"]
MISSING=LISTWISE
REPORTMISSING=YES
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id
("graphdataset"))
DATA: ownh=col(source(s), name
("ownh"), unit.category())
DATA: COUNT=col(source(s),
name("COUNT"))
COORD: polar.theta(startAngle(0))
GUIDE: axis(dim(1), null())
GUIDE: legend(aesthetic(aesthetic.
color.interior), label("own health in
general"))
SCALE: linear(dim(1),
dataMinimum(), dataMaximum())
SCALE: cat(aesthetic(aesthetic.
color.interior), include("1", "2", "3",
"4"))
ELEMENT: interval.stack(position
(summary.percent(COUNT))), color.
interior(ownh))
END GPL.
00:00:00.28
00:00:00.41
[DataSet1] C:\Users\Hi Tech\Downloads\hals.sav
Page 3

DONT KNOW
POOR
FAIR
GOOD
EXCELLENT
own health in general
Pie Chart: Own Health in General
DESCRIPTIVES VARIABLES=height weight
/STATISTICS=MEAN.
Descriptives
Page 4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Descriptive Statistics and Analysis for Cyberbullying Study
|19
|1773
|198

Desklib - Online Library for Study Material with Solved Assignments, Essays, Dissertations
|132
|13543
|320

Desklib - Online Library for Study Material
|7
|597
|419