interquartile range

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

interquartile range

J McClure
Hi,
A really dumb question. I want to get the median and IQR for three
continuous variables.
I find that explore provides that but a dependent variable is required
and I just want it on one variable.
What am I missing here?
Jan

=====================
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: interquartile range

Martha Hewett
??  If you put the variables you're interested in in the dependent list, and don't put anything in the factor list, it should give you what you want.  It does in SPSS18, which I'm using, anyway.
Martha Hewett  |
Director of Research | 612.335.5865
Center for Energy and Environment
212 Third Avenue North, Suite 560 | Minneapolis, MN 55401
(cell) 612.839.2358 | (fax) 612.335.5888 | www.mncee.org





From:        J McClure <[hidden email]>
To:        [hidden email]
Date:        11/03/2011 02:55 PM
Subject:        interquartile range
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi,
A really dumb question. I want to get the median and IQR for three
continuous variables.
I find that explore provides that but a dependent variable is required
and I just want it on one variable.
What am I missing here?
Jan

=====================
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: interquartile range

Bruce Weaver
Administrator
In reply to this post by J McClure
Stick any old variable in the "Factor List" box, and then exit the GUI via PASTE.  The pasted syntax will look something like this:

EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
  /PLOT NONE
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

Just delete the "BY SomeFactor" bit, then run it.

This reminds me of Art Kendall's frequent advice about using the GUI to generate a "first draft" of one's syntax.  It also provides a nice illustration of why syntax is essential.  You can't get there via the GUI alone!


J McClure wrote
Hi,
A really dumb question. I want to get the median and IQR for three
continuous variables.
I find that explore provides that but a dependent variable is required
and I just want it on one variable.
What am I missing here?
Jan

=====================
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
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: interquartile range

J McClure
In reply to this post by Martha Hewett
Thanks!!
Jan

On 11/3/2011 1:08 PM, Martha Hewett wrote:
??  If you put the variables you're interested in in the dependent list, and don't put anything in the factor list, it should give you what you want.  It does in SPSS18, which I'm using, anyway.
Martha Hewett  |
Director of Research | 612.335.5865
Center for Energy and Environment
212 Third Avenue North, Suite 560 | Minneapolis, MN 55401
(cell) 612.839.2358 | (fax) 612.335.5888 | www.mncee.org





From:        J McClure [hidden email]
To:        [hidden email]
Date:        11/03/2011 02:55 PM
Subject:        interquartile range
Sent by:        "SPSSX(r) Discussion" [hidden email]




Hi,
A really dumb question. I want to get the median and IQR for three
continuous variables.
I find that explore provides that but a dependent variable is required
and I just want it on one variable.
What am I missing here?
Jan

=====================
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

===================== 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: interquartile range

Bruce Weaver
Administrator
In reply to this post by Bruce Weaver
Oops...I just read Martha's post, and she's right!  For EXPLORE, you can just not enter anything in the Factor List box.  I was thinking it was like the MEANS procedure.  IIRC, one must enter a factor for the MEANS procedure when using the GUI; but with syntax, one can delete (or omit) the "BY factor", and it works just fine.

bw


Bruce Weaver wrote
Stick any old variable in the "Factor List" box, and then exit the GUI via PASTE.  The pasted syntax will look something like this:

EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
  /PLOT NONE
  /STATISTICS DESCRIPTIVES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

Just delete the "BY SomeFactor" bit, then run it.

This reminds me of Art Kendall's frequent advice about using the GUI to generate a "first draft" of one's syntax.  It also provides a nice illustration of why syntax is essential.  You can't get there via the GUI alone!


J McClure wrote
Hi,
A really dumb question. I want to get the median and IQR for three
continuous variables.
I find that explore provides that but a dependent variable is required
and I just want it on one variable.
What am I missing here?
Jan

=====================
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
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: interquartile range

Jon K Peck
In reply to this post by Bruce Weaver
No.  You are not required to enter anything in the factor list.

Jon Peck (no "h")
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Bruce Weaver <[hidden email]>
To:        [hidden email]
Date:        11/03/2011 02:14 PM
Subject:        Re: [SPSSX-L] interquartile range
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Stick any old variable in the "Factor List" box, and then exit the GUI via
PASTE.  The pasted syntax will look something like this:

EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
 /PLOT NONE
 /STATISTICS DESCRIPTIVES
 /CINTERVAL 95
 /MISSING LISTWISE
 /NOTOTAL.

Just delete the "BY SomeFactor" bit, then run it.

This reminds me of Art Kendall's frequent advice about using the GUI to
generate a "first draft" of one's syntax.  It also provides a nice
illustration of why syntax is essential.  You can't get there via the GUI
alone!



J McClure wrote:
>
> Hi,
> A really dumb question. I want to get the median and IQR for three
> continuous variables.
> I find that explore provides that but a dependent variable is required
> and I just want it on one variable.
> What am I missing here?
> Jan
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@.UGA (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/interquartile-range-tp4962091p4962193.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: interquartile range

Jon K Peck
In reply to this post by Bruce Weaver
Well, Means also does not require an entry in the Independent List.

Jon Peck (no "h")
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Bruce Weaver <[hidden email]>
To:        [hidden email]
Date:        11/03/2011 02:20 PM
Subject:        Re: [SPSSX-L] interquartile range
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Oops...I just read Martha's post, and she's right!  For EXPLORE, you can just
not enter anything in the Factor List box.  I was thinking it was like the
MEANS procedure.  IIRC, one must enter a factor for the MEANS procedure when
using the GUI; but with syntax, one can delete (or omit) the "BY factor",
and it works just fine.

bw



Bruce Weaver wrote:
>
> Stick any old variable in the "Factor List" box, and then exit the GUI via
> PASTE.  The pasted syntax will look something like this:
>
> EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
>   /PLOT NONE
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> Just delete the "BY SomeFactor" bit, then run it.
>
> This reminds me of Art Kendall's frequent advice about using the GUI to
> generate a "first draft" of one's syntax.  It also provides a nice
> illustration of why syntax is essential.  You can't get there via the GUI
> alone!
>
>
>
> J McClure wrote:
>>
>> Hi,
>> A really dumb question. I want to get the median and IQR for three
>> continuous variables.
>> I find that explore provides that but a dependent variable is required
>> and I just want it on one variable.
>> What am I missing here?
>> Jan
>>
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>> LISTSERV@.UGA (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/interquartile-range-tp4962091p4962207.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: interquartile range

Bruce Weaver
Administrator
Having just tried it, I see that Jon is correct.  Has that always been the case?  I could have sworn that in a previous version, the Okay and Paste buttons were not live unless one entered a factor.  I don't often use the GUI for MEANS though, so my memory is probably faulty.  Perhaps I should bow out of this thread now, before I lose all credibility.  ;-)


Jon K Peck wrote
Well, Means also does not require an entry in the Independent List.

Jon Peck (no "h")
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:   Bruce Weaver <[hidden email]>
To:     [hidden email]
Date:   11/03/2011 02:20 PM
Subject:        Re: [SPSSX-L] interquartile range
Sent by:        "SPSSX(r) Discussion" <[hidden email]>



Oops...I just read Martha's post, and she's right!  For EXPLORE, you can
just
not enter anything in the Factor List box.  I was thinking it was like the
MEANS procedure.  IIRC, one must enter a factor for the MEANS procedure
when
using the GUI; but with syntax, one can delete (or omit) the "BY factor",
and it works just fine.

bw



Bruce Weaver wrote:
>
> Stick any old variable in the "Factor List" box, and then exit the GUI
via
> PASTE.  The pasted syntax will look something like this:
>
> EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
>   /PLOT NONE
>   /STATISTICS DESCRIPTIVES
>   /CINTERVAL 95
>   /MISSING LISTWISE
>   /NOTOTAL.
>
> Just delete the "BY SomeFactor" bit, then run it.
>
> This reminds me of Art Kendall's frequent advice about using the GUI to
> generate a "first draft" of one's syntax.  It also provides a nice
> illustration of why syntax is essential.  You can't get there via the
GUI
> alone!
>
>
>
> J McClure wrote:
>>
>> Hi,
>> A really dumb question. I want to get the median and IQR for three
>> continuous variables.
>> I find that explore provides that but a dependent variable is required
>> and I just want it on one variable.
>> What am I missing here?
>> Jan
>>
>> =====================
>> To manage your subscription to SPSSX-L, send a message to
>> LISTSERV@.UGA (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/interquartile-range-tp4962091p4962207.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
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: interquartile range

Jon K Peck
Well, Bruce, I'll give you this:  You don't have to enter a factor in V19 or 20, but you did have to enter it in V18 and earlier.  A small step for mankind...

Jon Peck (no "h")
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Bruce Weaver <[hidden email]>
To:        [hidden email]
Date:        11/03/2011 02:46 PM
Subject:        Re: [SPSSX-L] interquartile range
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Having just tried it, I see that Jon is correct.  Has that always been the
case?  I could have sworn that in a previous version, the Okay and Paste
buttons were not live unless one entered a factor.  I don't often use the
GUI for MEANS though, so my memory is probably faulty.  Perhaps I should bow
out of this thread now, before I lose all credibility.  ;-)



Jon K Peck wrote:
>
> Well, Means also does not require an entry in the Independent List.
>
> Jon Peck (no "h")
> Senior Software Engineer, IBM
> peck@.ibm
> new phone: 720-342-5621
>
>
>
>
> From:   Bruce Weaver &lt;bruce.weaver@&gt;
> To:     SPSSX-L@.uga
> Date:   11/03/2011 02:20 PM
> Subject:        Re: [SPSSX-L] interquartile range
> Sent by:        "SPSSX(r) Discussion" &lt;SPSSX-L@.uga&gt;
>
>
>
> Oops...I just read Martha's post, and she's right!  For EXPLORE, you can
> just
> not enter anything in the Factor List box.  I was thinking it was like the
> MEANS procedure.  IIRC, one must enter a factor for the MEANS procedure
> when
> using the GUI; but with syntax, one can delete (or omit) the "BY factor",
> and it works just fine.
>
> bw
>
>
>
> Bruce Weaver wrote:
>>
>> Stick any old variable in the "Factor List" box, and then exit the GUI
> via
>> PASTE.  The pasted syntax will look something like this:
>>
>> EXAMINE VARIABLES=V1 V2 V3 BY SomeFactor
>>   /PLOT NONE
>>   /STATISTICS DESCRIPTIVES
>>   /CINTERVAL 95
>>   /MISSING LISTWISE
>>   /NOTOTAL.
>>
>> Just delete the "BY SomeFactor" bit, then run it.
>>
>> This reminds me of Art Kendall's frequent advice about using the GUI to
>> generate a "first draft" of one's syntax.  It also provides a nice
>> illustration of why syntax is essential.  You can't get there via the
> GUI
>> alone!
>>
>>
>>
>> J McClure wrote:
>>>
>>> Hi,
>>> A really dumb question. I want to get the median and IQR for three
>>> continuous variables.
>>> I find that explore provides that but a dependent variable is required
>>> and I just want it on one variable.
>>> What am I missing here?
>>> Jan
>>>
>>> =====================
>>> To manage your subscription to SPSSX-L, send a message to
>>> LISTSERV@.UGA (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@
>
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/interquartile-range-tp4962091p4962207.html
>
> Sent from the SPSSX Discussion mailing list archive at Nabble.com.
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@.UGA (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/interquartile-range-tp4962091p4962265.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