Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

N758PE Advanced Statistics A2 Chapter 7 SPSS Assignment | Graphs, Histograms, Scatterplots, Boxplots & Data Visualization | Complete Output | 2026 Update,

Document preview thumbnail
Preview 3 out of 18 pages

N758PE Advanced Statistics A2 Chapter 7 SPSS Assignment | Graphs, Histograms, Scatterplots, Boxplots & Data Visualization | Complete Output | 2026 Update,

Content preview

GET
FILE='C:\Users\Owner\AppData\Local\Temp\7zO0A32CB3F\survey.sav'.

Warning # 5281. Command name: GET FILE
SPSS Statistics is running in Unicode encoding mode. This file is encoded
in
a locale-specific (code page) encoding. The defined width of any string
variables are automatically tripled in order to avoid possible data loss.
You
can use ALTER TYPE to set the width of string variables to the width of the
longest observed value for each string variable.
DATASET NAME DataSet1 WINDOW=FRONT.
* Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=tpstress sex
MISSING=VARIABLEWISE REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: tpstress=col(source(s), name("tpstress"))
DATA: sex=col(source(s), name("sex"), unit.category())
GUIDE: axis(dim(1), label("Total perceived stress"))
GUIDE: axis(dim(2), label("Frequency"))
GUIDE: axis(dim(3), label("sex"), opposite())
GUIDE: text.title(label("Simple Histogram of Total perceived stress by
sex"))
SCALE: cat(dim(3), include("1", "2"))
ELEMENT: interval(position(summary.count(bin.rect(tpstress*1*sex))),
shape.interior(shape.square))
END GPL.




GGraph




Notes
Output Created 23-APR-2025 18:59:34
Comments
Input Data C:
\Users\Owner\AppData\Local
\Temp\7zO0A32CB3F\survey.
sav
Active Dataset DataSet1
Filter <none>
Weight <none>
Split File <none>
N of Rows in Working Data 439
File

,Syntax GGRAPH
/GRAPHDATASET
NAME="graphdataset"
VARIABLES=tpstress sex
MISSING=VARIABLEWISE
REPORTMISSING=NO
/GRAPHSPEC
SOURCE=INLINE.
BEGIN GPL
SOURCE:
s=userSource(id("graphdatas
et"))
DATA:
tpstress=col(source(s),
name("tpstress"))
DATA: sex=col(source(s),
name("sex"), unit.category())
GUIDE: axis(dim(1),
label("Total perceived
stress"))
GUIDE: axis(dim(2),
label("Frequency"))
GUIDE: axis(dim(3),
label("sex"), opposite())
GUIDE:
text.title(label("Simple
Histogram of Total perceived
stress by sex"))
SCALE: cat(dim(3),
include("1", "2"))
ELEMENT:
interval(position(summary.co
unt(bin.rect(tpstress*1*sex))),
shape.interior(shape.square))
END GPL.
Resources Processor Time 00:00:02.94
Elapsed Time 00:00:02.79



[DataSet1] C:\Users\Owner\AppData\Local\Temp\7zO0A32CB3F\survey.sav

, * Chart Builder.
GGRAPH
/GRAPHDATASET NAME="graphdataset" VARIABLES=agegp3 MEANCI(tpstress, 95)
[name="MEAN_tpstress"
LOW="MEAN_tpstress_LOW" HIGH="MEAN_tpstress_HIGH"] sex
MISSING=VARIABLEWISE REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s=userSource(id("graphdataset"))
DATA: agegp3=col(source(s), name("agegp3"), unit.category())
DATA: MEAN_tpstress=col(source(s), name("MEAN_tpstress"))
DATA: sex=col(source(s), name("sex"), unit.category())
DATA: LOW=col(source(s), name("MEAN_tpstress_LOW"))
DATA: HIGH=col(source(s), name("MEAN_tpstress_HIGH"))
COORD: rect(dim(1,2), cluster(3,0))
GUIDE: axis(dim(3), label("age 3 groups"))
GUIDE: axis(dim(2), label("Mean Total perceived stress"))
GUIDE: legend(aesthetic(aesthetic.color.interior), label("sex"))
GUIDE: text.title(label("Clustered Bar Mean of Total perceived stress by
age 3 groups by sex"))
GUIDE: text.footnote(label("Error Bars: 95% CI"))
SCALE: cat(dim(3), include("1", "2", "3"))
SCALE: linear(dim(2), include(0))
SCALE: cat(aesthetic(aesthetic.color.interior), include("1", "2"),
aestheticMissing(color.black))
SCALE: cat(dim(1), include("1", "2"))
ELEMENT: interval(position(sex*MEAN_tpstress*agegp3),
color.interior(sex),
shape.interior(shape.square))
ELEMENT: interval(position(region.spread.range(sex*(LOW+HIGH)*agegp3)),
shape.interior(shape.ibeam))
END GPL.

Document information

Uploaded on
September 1, 2026
Number of pages
18
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$17.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Wiseman
3.9
(1657)
Sold
8301
Followers
3901
Items
30851
Last sold
1 hour ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions