curve diff or time-series comparation or what?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

curve diff or time-series comparation or what?

antonio ml
Dear list.
I don't know what test or analysis to use.
    I've got data (activity data)  every second for  24h of two populations (2 treatments)
variable are 'second', 'groupA' 'groupB' where each data for each Group is the mean of 7 observations.

I want to know or to stablis that both group have diferent curves (are different) , and, as those curves seem very similar for some time, when they start to change? (a second or a Confidence Interval for  second).


somebody told me to do something about time-series, but I don't thgink it's the way 'cos there are not a variable like month o day that is repeated...
I'v been thinking is something working with the differences =gruopA-groupB

any help would be very welcomed.

Thank you all.
Reply | Threaded
Open this post in threaded view
|

Re: curve diff or time-series comparation or what?

Bruce Weaver
Administrator
You seem to be saying that you would be happy to consider time series analysis if the measure of time was months or days, but not when it is seconds.  Is that right?  If so, why?  What do you have against seconds?  



amllistas wrote
Dear list.
I don't know what test or analysis to use.
    I've got data (activity data)  every second for  24h of two populations
(2 treatments)
variable are 'second', 'groupA' 'groupB' where each data for each Group is
the mean of 7 observations.

I want to know or to stablis that both group have diferent curves (are
different) , and, as those curves seem very similar for some time, when they
start to change? (a second or a Confidence Interval for  second).


somebody told me to do something about time-series, but I don't thgink it's
the way 'cos there are not a variable like month o day that is repeated...
I'v been thinking is something working with the differences =gruopA-groupB

any help would be very welcomed.

Thank you all.
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: curve diff or time-series comparation or what?

antonio ml
"second"."grupoA"."GrupoB"."difAmenosB"
1."3.4706672"."2.508574035"."0.962093164999999"
2."5.05099906666667"."0.674344"."4.37665506666667"
3."2.465012"."0.7552655"."1.7097465"
4."1.17200966666667".0."1.17200966666667"
5."1.86766066666667".0."1.86766066666667"
6."3.22114833333333".0."3.22114833333333"
7."2.40451933333333".0."2.40451933333333"
8."1.300563".0."1.300563"
9."2.147431".0."2.147431"
10."1.3232362".0."1.3232362"
11."2.1701152".0."2.1701152"
12."2.80527133333333".0."2.80527133333333"
13."2.33646233333333".0."2.33646233333333"
14."2.92625666666667"."2.2523215"."0.673935166666667"
15."1.67862933333333"."3.641476575"."-1.96284724166667"
16."1.91302466666667"."0.0809215000000005"."1.83210316666667"
17."1.09639933333333"."11.113253525"."-10.0168541916667"
18."3.15309133333333"."5.58359835"."-2.43050701666667"
19."1.70886833333333"."0.6743495"."1.03451883333333"
20."2.6313584"."5.62405855"."-2.99270015"
21."1.39129906666667"."4.477669075"."-3.08637000833333"
22."3.379937"."0.782248499999999"."2.5976885"
23."2.0944968"."4.5990483"."-2.5045515"
24."1.57277046666667"."0.9305978"."0.642172666666667"
25."1.29299426666667"."2.4950805"."-1.20208623333333"
26."3.478233"."2.495086"."0.983147"
27."2.843082"."1.0924375"."1.7506445"
28."2.85064266666667"."0.7013215"."2.14932116666667"
29."2.38939433333333"."0.9845495"."1.40484483333333"

2010/11/8 Bruce Weaver <[hidden email]>
You seem to be saying that you would be happy to consider time series
analysis if the measure of time was months or days, but not when it is
seconds.  Is that right?  If so, why?  What do you have against seconds?




amllistas wrote:
>
> Dear list.
> I don't know what test or analysis to use.
>     I've got data (activity data)  every second for  24h of two
> populations
> (2 treatments)
> variable are 'second', 'groupA' 'groupB' where each data for each Group is
> the mean of 7 observations.
>
> I want to know or to stablis that both group have diferent curves (are
> different) , and, as those curves seem very similar for some time, when
> they
> start to change? (a second or a Confidence Interval for  second).
>
>
> somebody told me to do something about time-series, but I don't thgink
> it's
> the way 'cos there are not a variable like month o day that is repeated...
> I'v been thinking is something working with the differences =gruopA-groupB
>
> any help would be very welcomed.
>
> Thank you all.
>
>


-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/curve-diff-or-time-series-comparation-or-what-tp3255038p3255054.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

Reply | Threaded
Open this post in threaded view
|

Re: curve diff or time-series comparation or what?

Bruce Weaver
Administrator
I don't understand why you posted (some of) the data.  Is this meant to show something about why you are uncomfortable using time series analysis when time is measured in seconds?  If so, I still don't see the problem.  

I'm also not sure why the values of the last 3 variables are enclosed in quotes.   They should be numeric, not string.

HTH.


amllistas wrote
"second"."grupoA"."GrupoB"."difAmenosB"
1."3.4706672"."2.508574035"."0.962093164999999"
2."5.05099906666667"."0.674344"."4.37665506666667"
3."2.465012"."0.7552655"."1.7097465"
4."1.17200966666667".0."1.17200966666667"
5."1.86766066666667".0."1.86766066666667"
6."3.22114833333333".0."3.22114833333333"
7."2.40451933333333".0."2.40451933333333"
8."1.300563".0."1.300563"
9."2.147431".0."2.147431"
10."1.3232362".0."1.3232362"
11."2.1701152".0."2.1701152"
12."2.80527133333333".0."2.80527133333333"
13."2.33646233333333".0."2.33646233333333"
14."2.92625666666667"."2.2523215"."0.673935166666667"
15."1.67862933333333"."3.641476575"."-1.96284724166667"
16."1.91302466666667"."0.0809215000000005"."1.83210316666667"
17."1.09639933333333"."11.113253525"."-10.0168541916667"
18."3.15309133333333"."5.58359835"."-2.43050701666667"
19."1.70886833333333"."0.6743495"."1.03451883333333"
20."2.6313584"."5.62405855"."-2.99270015"
21."1.39129906666667"."4.477669075"."-3.08637000833333"
22."3.379937"."0.782248499999999"."2.5976885"
23."2.0944968"."4.5990483"."-2.5045515"
24."1.57277046666667"."0.9305978"."0.642172666666667"
25."1.29299426666667"."2.4950805"."-1.20208623333333"
26."3.478233"."2.495086"."0.983147"
27."2.843082"."1.0924375"."1.7506445"
28."2.85064266666667"."0.7013215"."2.14932116666667"
29."2.38939433333333"."0.9845495"."1.40484483333333"

2010/11/8 Bruce Weaver <bruce.weaver@hotmail.com>

> You seem to be saying that you would be happy to consider time series
> analysis if the measure of time was months or days, but not when it is
> seconds.  Is that right?  If so, why?  What do you have against seconds?
>
>
>
>
> amllistas wrote:
> >
> > Dear list.
> > I don't know what test or analysis to use.
> >     I've got data (activity data)  every second for  24h of two
> > populations
> > (2 treatments)
> > variable are 'second', 'groupA' 'groupB' where each data for each Group
> is
> > the mean of 7 observations.
> >
> > I want to know or to stablis that both group have diferent curves (are
> > different) , and, as those curves seem very similar for some time, when
> > they
> > start to change? (a second or a Confidence Interval for  second).
> >
> >
> > somebody told me to do something about time-series, but I don't thgink
> > it's
> > the way 'cos there are not a variable like month o day that is
> repeated...
> > I'v been thinking is something working with the differences
> =gruopA-groupB
> >
> > any help would be very welcomed.
> >
> > Thank you all.
> >
> >
>
>
> -----
> --
> Bruce Weaver
> bweaver@lakeheadu.ca
> http://sites.google.com/a/lakeheadu.ca/bweaver/
>
> "When all else fails, RTFM."
>
> NOTE: My Hotmail account is not monitored regularly.
> To send me an e-mail, please use the address shown above.
>
> --
> View this message in context:
> http://spssx-discussion.1045642.n5.nabble.com/curve-diff-or-time-series-comparation-or-what-tp3255038p3255054.html
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
>
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

PLEASE NOTE THE FOLLOWING: 
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/).
Reply | Threaded
Open this post in threaded view
|

Re: curve diff or time-series comparation or what?

antonio ml
Sorry, the quote is a problem with Spanish language, we use the ',' instead of the '.' for decimal position.

It's not that i don't want to use Time-series, is that yesterday I didn't know anything about time-series and the example that I look at was about 'station' time series. Today, at least, I know that exist other types, like continuous or signal time series.



some data, in the proper manner: (I've got data for 24h)

second,grupoA,GrupoB,difAmenosB
1,3.706672,2.08574035,0.62093164999999
2,5.5099906666667,0.74344,4.7665506666667
3,2.65012,0.552655,1.097465
4,1.7200966666667.,1.7200966666667
5,1.6766066666667.,1.6766066666667
6,3.2114833333333.,3.2114833333333
7,2.0451933333333.,2.0451933333333
8,1.00563.,1.00563
9,2.47431.,2.47431
10,1.232362.,1.232362
11,2.701152.,2.701152
12,2.0527133333333.,2.0527133333333
13,2.3646233333333.,2.3646233333333
14,2.2625666666667,2.523215,0.73935166666667
15,1.7862933333333,3.41476575,-1.6284724166667
16,1.1302466666667,0.809215000000005,1.3210316666667
17,1.9639933333333,11.13253525,-10.168541916667
18,3.5309133333333,5.8359835,-2.3050701666667
19,1.0886833333333,0.743495,1.3451883333333
20,2.313584,5.2405855,-2.9270015
21,1.9129906666667,4.77669075,-3.8637000833333
22,3.79937,0.82248499999999,2.976885
23,2.944968,4.990483,-2.045515
24,1.7277046666667,0.305978,0.42172666666667
25,1.9299426666667,2.950805,-1.0208623333333
26,3.78233,2.95086,0.83147
27,2.43082,1.924375,1.506445
28,2.5064266666667,0.013215,2.4932116666667
29,2.8939433333333,0.845495,1.0484483333333
30,1.7351366666667,3.302935,-1.5677983333333
31,2.3476566666667,0.72043,1.6272266666667
32,1.4762733333333,1.00331,0.472963333333336
33,1.3421,1.105475,-0.763375
34,1.7862933333333,0.12501,1.6612833333333
35,1.7692533333333,0.61854000000001,1.1507133333333
36,3.32117,1.016635,1.304535
37,2.39874,2.592355,-0.193615
38,1.5423966666667,0.96714,1.5752566666667
39,2.19648,3.04301,-0.84653
40,1.9619933333333,5.24058,-3.2785866666667
41,1.1302833333333,0.41785,1.7124333333333
42,1.7787733333333,6.1979305,-5.4191571666667
43,1.3590666666667,0.539484,0.81958266666667
44,0.12469,5.7109515,-4.5862615
45,0.48575666666667,1.12843,-0.64267333333333
46,1.61804,4.878633,-3.260593
47,0.38562666666666,1.329098,-0.94347133333334
48,1.69361,0.83228,1.86133
49,0.95647333333334,0.34871,0.60776333333333
50,0.33454333333333,3.233795,-2.8992516666667
51,0.46871666666667,2.95086,-1.4821433333333
52,0.56147333333333,8.3164775,-7.7550041666667
53,12.982081,5.8458555,7.1362255
54,0.73912933333333,3.0890905,-3.3499611666667
55,0.292969,1.6777145,-0.3847455
56,10.103152,1.128463,8.974689
57,2.733276,2.33243,0.40084600000001
58,3.3967803333333,1.105365,1.2914153333333
59,0.729657,2.41142,-1.681763
60,1.8128166666667,2.174505,-1.3616883333333
61,0.70505666666666,1.421215,-1.7161583333333
62,0.89785533333334,2.500205,-1.6023496666667
63,3.655662,2.365345,1.290317
64,3.7823747333333,3.977345,-0.19497026666666
65,8.133591,0.91115999999999,7.222431
66,11.3280424,2.546269,8.7817734
67,1.3080933333333,12.6983805,-11.390287166667
68,1.97907,7.6617895,-5.6827195
69,3.975092,3.750225,0.22486700000001
70,5.761422,2.546291,2.215131
71,0.94888,1.542816,-0.593936
72,1.66905,2.22058,-1.55153
73,1.13984,1.947418,0.192422
74,1.5103533333333,2.039623,-1.5292696666667
75,1.68609,0.03628,0.64981
76,1.8713466666667,0.85529,0.01605666666667
77,1.9375066666667,0.5297,1.4078066666667
78,1.0471566666667,0.957345,0.08981166666666
79,0.01507666666666,0.06914,0.94593666666667
80,1.6860533333333,2.322635,-1.6365816666667
81,0.61996666666667,5.836,-4.2160333333333
82,1.5084266666667,0.9112095,1.5972171666667
83,4.2510466666667,1.3849515,3.8660951666667
84,3.5895533333333,0.845451,2.7441023333333
85,1.96403,0.236805,0.727225
86,0.78822,1.184311,-0.39609100000001
87,0.80515,3.200957,-2.395807
88,0.01507666666667,0.957279,0.057797666666668
89,0.06608666666668,3.391676,-2.3255893333333
90,1.92995,6.174904,-4.244954
91,0.86382666666667,0.90141999999999,-0.03759333333332
92,0.54432333333333,1.184355,-0.64003166666666
93,1.0717166666667,0.440915,0.63080166666667
94,2.5234666666667,5.980677,-2.4572103333333
95,1.1813666666667,4.135226,-2.9538593333333
96,0.14928666666667,5.757021,-4.6077343333333
97,1.76177,3.503603,-1.741833
98,1.2910166666667,2.141678,-0.85066133333334
99,1.9885533333333,3.4147245,-2.4261711666667
100,0.69564666666668,3.4146915,-2.7190448333333
101,1.1907766666667,0.90142,0.28935666666667
102,1.2153733333333,0.338904,0.87646933333334
103,1.2153366666667,1.049429,-0.83409233333334
104,1.2834966666667,1.24028,-0.95678333333333
105,1.31554,3.098935,-1.783395
106,2.8693833333333,1.733645,0.13573833333333
107,1.6275966666667,1.05929,0.56830666666667
108,2.94499,2.434375,-0.489385
109,1.37418,3.819365,-1.445185
110,1.0546033333333,3.6943,-1.6396966666667
111,1.4497866666667,6.81641,-4.3666233333333
112,1.2910166666667,6.592765,-5.3017483333333
113,1.5839966666667,2.108785,-0.52478833333333
114,1.5083166666667,4.29314,-2.7848233333333
115,1.0641966666667,1.7337,0.33049666666666
116,1.3420633333333,4.460849,-2.1187856666667
117,2.8844966666667,1.273151,1.6113456666667
118,1.34962,2.7139835,-0.36436349999999
119,3.0187066666667,5.1386075,-2.1199008333333
120,2.23797,1.746849,0.49112100000001
121,0.80526,2.546225,-1.740965
122,1.8789033333333,1.34228,-0.46337666666666
123,1.5424333333333,2.24359,-0.70115666666667
124,2.71628,5.5991565,-2.8828765
125,2.0376,0.8454895,1.1921105
126,2.7672533333333,2.737076,0.03017733333332
127,2.9185033333333,7.0894785,-5.1709751666667
128,0.86382666666667,7.2900915,-6.4262648333333
129,2.35514,1.12843,1.22671
130,1.8618706666667,2.029905,-0.16803433333333
131,2.262574,0.84555,1.417024
132,2.3721433333333,0.013215,2.3589283333333
133,2.0451786666667,4.641839,-2.5966603333333
134,1.878929,2.704128,-1.825199
135,3.2775663333333,3.098935,0.17863133333333
136,2.7086866666667,6.197947,-3.4892603333333
137,4.8730573333333,2.378395,1.4946623333333
138,2.4477866666667,2.513343,-0.0655563333333342
139,2.1207926666667,2.085731,-0.964938333333336
140,3.714302,0.90136499999999,2.812937
141,1.508313,6.1748655,-4.6665525
142,4.604619,0.204,3.400619
143,1.5594366666667,3.0331875,-2.4737508333333
144,2.9941466666667,0.631656,1.3624906666667
145,3.2284866666667,2.2305125,1.9979741666667
146,4.66316,3.7634455,0.89971449999999
147,1.525419,2.6482085,-0.12278949999999
148,2.4062196666667,3.4937035,-1.0874838333333
149,1.2910496666667,5.845795,-3.5547453333333
150,1.425201,1.733645,0.69155599999999
151,1.795729,1.58888,-0.79315099999999
152,2.977125,8.484214,-5.507089
153,2.0962473333333,9.846249,-7.7500016666667
154,3.7313566666667,1.667815,2.0635416666667
155,3.143316,2.197559,1.945757
156,1.8448196666667,1.2402855,0.60453416666666
157,3.648197,2.1186295,1.5295675
158,2.4648266666667,1.723795,0.74103166666666
159,3.0432666666667,5.734,-1.6907333333333
160,2.87694,5.17144,-2.2945
161,1.359096,3.34559,-1.986494
162,1.4837126666667,2.1745215,-0.69080883333334
163,0.89794333333333,2.3093925,-1.4114491666667
164,2.1548066666667,2.648302,-0.49349533333333
165,1.6520833333333,5.082622,-3.4305386666667
166,2.3816266666667,1.825795,0.55583166666666
167,1.8372996666667,2.1416395,-1.3043398333333
168,2.835373,3.6615445,-1.8261715
169,3.5044633333333,3.075925,0.42853833333333
170,1.3741433333333,4.000355,-2.6262116666667
171,2.8013333333333,1.46387,1.3374633333333
172,1.6350433333333,2.46729,-0.83224666666666
173,3.7237266666667,0.743495,2.9802316666667
174,4.392839,2.90484,2.487999
175,1.5083056666667,1.74686,0.76144566666666
176,2.8088826666667,3.31284,-0.50395733333333
177,2.9695903333333,2.14159,-0.171999666666665
178,2.8694053333333,11.82998,-9.9605746666667
179,2.1547736666667,8.540205,-6.3854313333333
180,2.111313,4.74385,-1.632537
181,3.8824563333333,0.7434565,3.1389998333333
182,3.2606033333333,4.0925215,-1.8319181666667
183,2.3401,1.4540695,0.88603049999999
184,1.8864673333333,3.368699,-1.4822316666667
185,1.3911466666667,0.8454455,0.54570116666667
186,2.943034,0.687559,2.255475
187,1.3571876666667,0.171129,1.1860586666667
188,2.733221,2.816,0.91722099999999
189,1.7277046666667,3.694311,-1.9666063333333
190,1.256988,2.658031,-0.401043
191,3.7728833333333,1.184355,2.5885283333333
192,2.7162433333333,1.4211985,1.2950448333333
193,1.9791066666667,0.60855250000001,1.3705541666667
194,2.00363,3.526646,-1.523016
195,2.4647973333333,1.25013,1.2146673333333
196,2.2890606666667,0.44086,1.8482006666667
197,1.35714,1.384935,0.97220499999999
198,2.27205,2.941098,-0.66904800000001
199,2.1282833333333,1.835667,1.2926163333333
200,2.9431,5.441215,-2.498115

2010/11/8 Bruce Weaver <[hidden email]>
I don't understand why you posted (some of) the data.  Is this meant to show
something about why you are uncomfortable using time series analysis when
time is measured in seconds?  If so, I still don't see the problem.

I'm also not sure why the values of the last 3 variables are enclosed in
quotes.   They should be numeric, not string.

HTH.



amllistas wrote:
>
> "second"."grupoA"."GrupoB"."difAmenosB"
> 1."3.4706672"."2.508574035"."0.962093164999999"
> 2."5.05099906666667"."0.674344"."4.37665506666667"
> 3."2.465012"."0.7552655"."1.7097465"
> 4."1.17200966666667".0."1.17200966666667"
> 5."1.86766066666667".0."1.86766066666667"
> 6."3.22114833333333".0."3.22114833333333"
> 7."2.40451933333333".0."2.40451933333333"
> 8."1.300563".0."1.300563"
> 9."2.147431".0."2.147431"
> 10."1.3232362".0."1.3232362"
> 11."2.1701152".0."2.1701152"
> 12."2.80527133333333".0."2.80527133333333"
> 13."2.33646233333333".0."2.33646233333333"
> 14."2.92625666666667"."2.2523215"."0.673935166666667"
> 15."1.67862933333333"."3.641476575"."-1.96284724166667"
> 16."1.91302466666667"."0.0809215000000005"."1.83210316666667"
> 17."1.09639933333333"."11.113253525"."-10.0168541916667"
> 18."3.15309133333333"."5.58359835"."-2.43050701666667"
> 19."1.70886833333333"."0.6743495"."1.03451883333333"
> 20."2.6313584"."5.62405855"."-2.99270015"
> 21."1.39129906666667"."4.477669075"."-3.08637000833333"
> 22."3.379937"."0.782248499999999"."2.5976885"
> 23."2.0944968"."4.5990483"."-2.5045515"
> 24."1.57277046666667"."0.9305978"."0.642172666666667"
> 25."1.29299426666667"."2.4950805"."-1.20208623333333"
> 26."3.478233"."2.495086"."0.983147"
> 27."2.843082"."1.0924375"."1.7506445"
> 28."2.85064266666667"."0.7013215"."2.14932116666667"
> 29."2.38939433333333"."0.9845495"."1.40484483333333"
>
> 2010/11/8 Bruce Weaver <[hidden email]>
>
>> You seem to be saying that you would be happy to consider time series
>> analysis if the measure of time was months or days, but not when it is
>> seconds.  Is that right?  If so, why?  What do you have against seconds?
>>
>>
>>
>>
>> amllistas wrote:
>> >
>> > Dear list.
>> > I don't know what test or analysis to use.
>> >     I've got data (activity data)  every second for  24h of two
>> > populations
>> > (2 treatments)
>> > variable are 'second', 'groupA' 'groupB' where each data for each Group
>> is
>> > the mean of 7 observations.
>> >
>> > I want to know or to stablis that both group have diferent curves (are
>> > different) , and, as those curves seem very similar for some time, when
>> > they
>> > start to change? (a second or a Confidence Interval for  second).
>> >
>> >
>> > somebody told me to do something about time-series, but I don't thgink
>> > it's
>> > the way 'cos there are not a variable like month o day that is
>> repeated...
>> > I'v been thinking is something working with the differences
>> =gruopA-groupB
>> >
>> > any help would be very welcomed.
>> >
>> > Thank you all.
>> >
>> >
>>
>>
>> -----
>> --
>> Bruce Weaver
>> [hidden email]
>> http://sites.google.com/a/lakeheadu.ca/bweaver/
>>
>> "When all else fails, RTFM."
>>
>> NOTE: My Hotmail account is not monitored regularly.
>> To send me an e-mail, please use the address shown above.
>>
>> --
>> View this message in context:
>> http://spssx-discussion.1045642.n5.nabble.com/curve-diff-or-time-series-comparation-or-what-tp3255038p3255054.html
>> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>>
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>> [hidden email] (not to SPSSX-L), with no body text except the
>> command. To leave the list, send the command
>> SIGNOFF SPSSX-L
>> For a list of commands to manage subscriptions, send the command
>> INFO REFCARD
>>
>
>


-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/

"When all else fails, RTFM."

NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.

--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/curve-diff-or-time-series-comparation-or-what-tp3255038p3255696.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

Reply | Threaded
Open this post in threaded view
|

histogram

Barbara Gregson
In reply to this post by antonio ml

Dear All

 

I am using the following syntax to produce a standard histogram for 60 separate centres of time of patient recruitment.  The histogram procedure automatically provides a “textbox” containing mean, standard deviation and number.  In this case as in many others it is not appropriate and I would like to include syntax to remove the information but I can find nothing in the help section or syntax guide.  Although it is possible to remove it by editing each graph I have found it very time consuming.  I initially produced the graphs using split file by centre but although that meant clicking on the “textbox” and delete for the first graph I had to do it twice for the second three times for the third and so on.  If I produce the graphs by using temporary, select if and the centre name that requires more work to produce the graph itself although I only need to delete the “textbox” once.

 

 

GGRAPH

  /GRAPHDATASET NAME="graphdataset" VARIABLES=time MISSING=VARIABLEWISE REPORTMISSING=YES

  /GRAPHSPEC SOURCE=INLINE

   TEMPLATE=["H:\xxx\yyy\data checks\histmulti.sgt"].

BEGIN GPL

  SOURCE: s=userSource(id("graphdataset"))

  DATA: time=col(source(s), name("time"))

  GUIDE: axis(dim(1), delta(120), label("time"))

  GUIDE: axis(dim(2), delta(1), label("Frequency"))

  SCALE: linear(dim(1), min(0), max(1410), origin(0))

  SCALE: linear(dim(2), min(0), max(5), origin(0))

  ELEMENT: interval(position(summary.count(bin.rect(time, binStart(0), binWidth(30)))),

    shape.interior(shape.square))

END GPL.

 

When I was carrying out a similar procedure 10 years ago Raynald kindly produced a macro – I have looked back at that but it no longer seems to work and I have almost succeeded using the above syntax.

 

Any suggestions would be gratefully received.

 

Many thanks

 

Barbara

 

Dr Barbara A Gregson

Neurosurgical Trials Director

Newcastle University

 

Tel: +44 191 256 3139

Fax: +44 191 256 3268

 

email: [hidden email]

 

 

 

Reply | Threaded
Open this post in threaded view
|

Re: histogram

Jon K Peck
You can eliminate the statistics legend by add a chart template to your GGRAPH command.  Create any histogram.  Edit it and delete the statistics legend.  Use File>Save Chart Template in the chart editor.  In the list of checkboxes that appears, check the legend display box and save the template.

Then add something like this to the GGRAPH portion of your syntax.
   TEMPLATE=["C:\spss19\Looks\nohiststats.sgt"].

The legend will be gone in new histograms.

Regards,

Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        Barbara Gregson <[hidden email]>
To:        [hidden email]
Date:        11/09/2010 12:08 PM
Subject:        [SPSSX-L] histogram
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear All
 
I am using the following syntax to produce a standard histogram for 60 separate centres of time of patient recruitment.  The histogram procedure automatically provides a “textbox” containing mean, standard deviation and number.  In this case as in many others it is not appropriate and I would like to include syntax to remove the information but I can find nothing in the help section or syntax guide.  Although it is possible to remove it by editing each graph I have found it very time consuming.  I initially produced the graphs using split file by centre but although that meant clicking on the “textbox” and delete for the first graph I had to do it twice for the second three times for the third and so on.  If I produce the graphs by using temporary, select if and the centre name that requires more work to produce the graph itself although I only need to delete the “textbox” once.
 
 
GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=time MISSING=VARIABLEWISE REPORTMISSING=YES
  /GRAPHSPEC SOURCE=INLINE
   TEMPLATE=["H:\xxx\yyy\data checks\histmulti.sgt"].
BEGIN GPL
  SOURCE: s=userSource(id("graphdataset"))
  DATA: time=col(source(s), name("time"))
  GUIDE: axis(dim(1), delta(120), label("time"))
  GUIDE: axis(dim(2), delta(1), label("Frequency"))
  SCALE: linear(dim(1), min(0), max(1410), origin(0))
  SCALE: linear(dim(2), min(0), max(5), origin(0))
  ELEMENT: interval(position(summary.count(bin.rect(time, binStart(0), binWidth(30)))),
    shape.interior(shape.square))
END GPL.
 
When I was carrying out a similar procedure 10 years ago Raynald kindly produced a macro – I have looked back at that but it no longer seems to work and I have almost succeeded using the above syntax.
 
Any suggestions would be gratefully received.
 
Many thanks
 
Barbara
 
Dr Barbara A Gregson
Neurosurgical Trials Director
Newcastle University
 
Tel: +44 191 256 3139
Fax: +44 191 256 3268
 
email: [hidden email]
 
 
 
Reply | Threaded
Open this post in threaded view
|

Re: histogram

Barbara Gregson

Thanks Jon

 

I should have mentioned that it WAS part of the template that I have put in.  I ticked all the check boxes to ensure that all my colours and formats were chosen.

 

I should have mentioned that we use version 17.

 

The problem is that this statistics legend does not have a checkbox on the template nor does it appear on any drop down menu – the only way I can remove it is by right clicking on it in the graph and then clicking delete.

 

Do you have any other suggestions?

 

Thanks

 

Barbara

 

 

From: Jon K Peck [mailto:[hidden email]]
Sent: 09 November 2010 19:47
To: Barbara Gregson
Cc: [hidden email]
Subject: Re: [SPSSX-L] histogram

 

You can eliminate the statistics legend by add a chart template to your GGRAPH command.  Create any histogram.  Edit it and delete the statistics legend.  Use File>Save Chart Template in the chart editor.  In the list of checkboxes that appears, check the legend display box and save the template.

Then add something like this to the GGRAPH portion of your syntax.
   TEMPLATE=["C:\spss19\Looks\nohiststats.sgt"].

The legend will be gone in new histograms.

Regards,

Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        Barbara Gregson <[hidden email]>
To:        [hidden email]
Date:        11/09/2010 12:08 PM
Subject:        [SPSSX-L] histogram
Sent by:        "SPSSX(r) Discussion" <[hidden email]>





Dear All
 
I am using the following syntax to produce a standard histogram for 60 separate centres of time of patient recruitment.  The histogram procedure automatically provides a “textbox” containing mean, standard deviation and number.  In this case as in many others it is not appropriate and I would like to include syntax to remove the information but I can find nothing in the help section or syntax guide.  Although it is possible to remove it by editing each graph I have found it very time consuming.  I initially produced the graphs using split file by centre but although that meant clicking on the “textbox” and delete for the first graph I had to do it twice for the second three times for the third and so on.  If I produce the graphs by using temporary, select if and the centre name that requires more work to produce the graph itself although I only need to delete the “textbox” once.
 
 
GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=time MISSING=VARIABLEWISE REPORTMISSING=YES
  /GRAPHSPEC SOURCE=INLINE
   TEMPLATE=["H:\xxx\yyy\data checks\histmulti.sgt"].
BEGIN GPL
  SOURCE: s=userSource(id("graphdataset"))
  DATA: time=col(source(s), name("time"))
  GUIDE: axis(dim(1), delta(120), label("time"))
  GUIDE: axis(dim(2), delta(1), label("Frequency"))
  SCALE: linear(dim(1), min(0), max(1410), origin(0))
  SCALE: linear(dim(2), min(0), max(5), origin(0))
  ELEMENT: interval(position(summary.count(bin.rect(time, binStart(0), binWidth(30)))),
    shape.interior(shape.square))
END GPL.
 
When I was carrying out a similar procedure 10 years ago Raynald kindly produced a macro – I have looked back at that but it no longer seems to work and I have almost succeeded using the above syntax.
 
Any suggestions would be gratefully received.
 
Many thanks
 
Barbara
 
Dr Barbara A Gregson
Neurosurgical Trials Director
Newcastle University
 
Tel: +44 191 256 3139
Fax: +44 191 256 3268
 
email: [hidden email]
 
 
 

Reply | Threaded
Open this post in threaded view
|

Re: histogram

Barbara Gregson

Thank you.  I should have thought of that – it worked beautifully.

 

Barbara

 

 

From: Jon K Peck [mailto:[hidden email]]
Sent: 09 November 2010 20:32
To: Barbara Gregson
Subject: RE: [SPSSX-L] histogram

 

You are right.  The template setting to suppress the statistics legend is not available in that release.  But you can get around this.

Edit your histogram, select the statistics legend, and choose white for the text color.  Then save a template.  Although still present, it will be invisible.

You could also probably move the legend inside the chart area and grow that space.  Just choose the text color to match whatever your background color is.

HTH,

Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        Barbara Gregson <[hidden email]>
To:        Jon K Peck/Chicago/IBM@IBMUS
Cc:        "[hidden email]" <[hidden email]>
Date:        11/09/2010 01:15 PM
Subject:        RE: [SPSSX-L] histogram





Thanks Jon
 
I should have mentioned that it WAS part of the template that I have put in.  I ticked all the check boxes to ensure that all my colours and formats were chosen.
 
I should have mentioned that we use version 17.
 
The problem is that this statistics legend does not have a checkbox on the template nor does it appear on any drop down menu – the only way I can remove it is by right clicking on it in the graph and then clicking delete.
 
Do you have any other suggestions?
 
Thanks
 
Barbara
 
 
From: Jon K Peck [[hidden email]]
Sent:
09 November 2010 19:47
To:
Barbara Gregson
Cc:
[hidden email]
Subject:
Re: [SPSSX-L] histogram

 
You can eliminate the statistics legend by add a chart template to your GGRAPH command.  Create any histogram.  Edit it and delete the statistics legend.  Use File>Save Chart Template in the chart editor.  In the list of checkboxes that appears, check the legend display box and save the template.

Then add something like this to the GGRAPH portion of your syntax.

  TEMPLATE=["C:\spss19\Looks\nohiststats.sgt"].


The legend will be gone in new histograms.


Regards,


Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        
Barbara Gregson <[hidden email]>
To:        
[hidden email]
Date:        
11/09/2010 12:08 PM
Subject:        
[SPSSX-L] histogram
Sent by:        
"SPSSX(r) Discussion" <[hidden email]>

 






Dear All

 
I am using the following syntax to produce a standard histogram for 60 separate centres of time of patient recruitment.  The histogram procedure automatically provides a “textbox” containing mean, standard deviation and number.  In this case as in many others it is not appropriate and I would like to include syntax to remove the information but I can find nothing in the help section or syntax guide.  Although it is possible to remove it by editing each graph I have found it very time consuming.  I initially produced the graphs using split file by centre but although that meant clicking on the “textbox” and delete for the first graph I had to do it twice for the second three times for the third and so on.  If I produce the graphs by using temporary, select if and the centre name that requires more work to produce the graph itself although I only need to delete the “textbox” once.

 
 
GGRAPH

 /GRAPHDATASET NAME="graphdataset" VARIABLES=time MISSING=VARIABLEWISE REPORTMISSING=YES

 /GRAPHSPEC SOURCE=INLINE

  TEMPLATE=["H:\xxx\yyy\data checks\histmulti.sgt"].

BEGIN GPL

 SOURCE: s=userSource(id("graphdataset"))

 DATA: time=col(source(s), name("time"))

 GUIDE: axis(dim(1), delta(120), label("time"))

 GUIDE: axis(dim(2), delta(1), label("Frequency"))

 SCALE: linear(dim(1), min(0), max(1410), origin(0))

 SCALE: linear(dim(2), min(0), max(5), origin(0))

 ELEMENT: interval(position(summary.count(bin.rect(time, binStart(0), binWidth(30)))),
   shape.interior(shape.square))

END GPL.

 
When I was carrying out a similar procedure 10 years ago Raynald kindly produced a macro – I have looked back at that but it no longer seems to work and I have almost succeeded using the above syntax.

 
Any suggestions would be gratefully received.

 
Many thanks

 
Barbara

 
Dr Barbara A Gregson

Neurosurgical Trials Director

Newcastle University

 
Tel: +44 191 256 3139

Fax: +44 191 256 3268

 
email: [hidden email]